Skip to content

Instantly share code, notes, and snippets.

@jlewi
Created August 2, 2024 00:26
Show Gist options
  • Save jlewi/f3e4fb85b0b5d716f772aa898ea25fe7 to your computer and use it in GitHub Desktop.
Save jlewi/f3e4fb85b0b5d716f772aa898ea25fe7 to your computer and use it in GitHub Desktop.
cd ~/git_vscode-runme
export NODE_OPTIONS="--experimental-specifier-resolution=node --max-old-space-size=8192"
npm run build

# Ran on 2024-08-01 17:25:37-07:00 for 25.542s exited with 1
(node:86631) ExperimentalWarning: The Node.js specifier resolution flag is experimental. It could change or be removed at any time.
(Use `node --trace-warnings ...` to show where the warning was created)

> [email protected] build
> run-s build:dev

(node:86644) ExperimentalWarning: The Node.js specifier resolution flag is experimental. It could change or be removed at any time.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:86646) ExperimentalWarning: The Node.js specifier resolution flag is experimental. It could change or be removed at any time.
(Use `node --trace-warnings ...` to show where the warning was created)

> [email protected] build:dev
> webpack --mode development --node-env development

(node:86664) ExperimentalWarning: The Node.js specifier resolution flag is experimental. It could change or be removed at any time.
(Use `node --trace-warnings ...` to show where the warning was created)
    [webpack-cli] Compiler starting... 
    [webpack-cli] Compiler is using config: '/Users/jlewi/git_vscode-runme/webpack.config.ts'
    [webpack-cli] Compiler starting... 
    [webpack-cli] Compiler is using config: '/Users/jlewi/git_vscode-runme/webpack.config.ts'
    [ForkTsCheckerWebpackPlugin] Calling reporter service for single check.
(node:86674) ExperimentalWarning: The Node.js specifier resolution flag is experimental. It could change or be removed at any time.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:86675) ExperimentalWarning: The Node.js specifier resolution flag is experimental. It could change or be removed at any time.
(Use `node --trace-warnings ...` to show where the warning was created)
    [webpack-cli] Compiler finished
    [webpack-cli] Compiler finished
assets by chunk 370 KiB (id hint: vendors)
  asset vendors-node_modules_aws-sdk_client-sso-oidc_dist-es_index_js.js 98.6 KiB [compared for emit] (id hint: vendors) 1 related asset
  asset vendors-node_modules_aws-sdk_credential-provider-cognito-identity_dist-es_loadCognitoIdentity_js.js 86.9 KiB [compared for emit] (id hint: vendors) 1 related asset
  asset vendors-node_modules_aws-sdk_client-sts_dist-es_STSClient_js-node_modules_aws-sdk_client-sts_-cd0d81.js 83.4 KiB [compared for emit] (id hint: vendors) 1 related asset
  asset vendors-node_modules_aws-sdk_credential-provider-sso_dist-es_loadSso_js.js 56.5 KiB [compared for emit] (id hint: vendors) 1 related asset
  asset vendors-node_modules_aws-sdk_client-sts_dist-es_index_js.js 45 KiB [compared for emit] (id hint: vendors) 1 related asset
asset extension.js 77.8 MiB [compared for emit] (name: extension) 1 related asset
asset node_modules_aws-sdk_credential-providers_dist-es_loadSts_js.js 1.43 KiB [compared for emit] 1 related asset
orphan modules 750 KiB [orphan] 237 modules
runtime modules 3.55 KiB 9 modules
modules by path ./node_modules/ 72.4 MiB
  javascript modules 70 MiB 3749 modules
  json modules 2.39 MiB 162 modules
modules by path ./src/ 618 KiB
  modules by path ./src/extension/ 558 KiB 103 modules
  modules by path ./src/utils/ 24.1 KiB 5 modules
  modules by path ./src/*.ts 35.2 KiB 3 modules
modules by path ../node_modules/ 8.88 KiB
  modules by path ../node_modules/bufferutil/*.js 1.01 KiB 2 modules
  modules by path ../node_modules/utf-8-validate/*.js 1.72 KiB 2 modules
  modules by path ../node_modules/node-gyp-build/*.js 6.15 KiB 2 modules
+ 46 modules

WARNING in ./node_modules/@vscode/vscode-languagedetection/dist/lib/index.js 2:509813-509840
Module not found: Error: Can't resolve 'encoding' in '/Users/jlewi/git_vscode-runme/node_modules/@vscode/vscode-languagedetection/dist/lib'
 @ ./src/extension/languages.ts 9:35-78
 @ ./src/extension/serializer.ts 38:36-58
 @ ./src/extension/extension.ts 42:21-44
 @ ./src/extension/index.ts 10:20-42

WARNING in ./node_modules/keyv/src/index.js 22:14-40
Critical dependency: the request of a dependency is an expression
 @ ./node_modules/cacheable-request/src/index.js 11:13-28
 @ ./node_modules/got/dist/source/core/index.js 13:25-53
 @ ./node_modules/got/dist/source/create.js 17:15-32
 @ ./node_modules/got/dist/source/index.js 14:17-36 131:13-32
 @ ./src/extension/handler/uri.ts 15:30-44
 @ ./src/extension/extension.ts 44:14-38
 @ ./src/extension/index.ts 10:20-42

WARNING in ./node_modules/vscode-telemetry/build/cjs/index.js 1:278404-278422
Critical dependency: the request of a dependency is an expression
 @ ./src/extension/index.ts 9:27-54

WARNING in ./node_modules/vscode-telemetry/build/cjs/index.js 1:278654-278687
Critical dependency: the request of a dependency is an expression
 @ ./src/extension/index.ts 9:27-54

4 warnings have detailed information that is not shown.
Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.

ERROR in /Users/jlewi/git_vscode-runme/src/extension/ai/stream.ts
./src/extension/ai/stream.ts 276:4-15
[tsl] ERROR in /Users/jlewi/git_vscode-runme/src/extension/ai/stream.ts(276,5)
      TS2322: Type '{ createClient: (authority: string | URL) => http2.ClientHttp2Session; }' is not assignable to type 'Omit<RequestOptions, "signal"> | Omit<RequestOptions, "signal"> | ClientSessionOptions | SecureClientSessionOptions | undefined'.
ts-loader-default_e3b0c44298fc1c14
 @ ./src/extension/ai/ghost.ts 36:28-47
 @ ./src/extension/serializer.ts 43:27-48
 @ ./src/extension/extension.ts 42:21-44
 @ ./src/extension/index.ts 10:20-42

webpack 5.92.1 compiled with 1 error and 4 warnings in 22314 ms

asset client.js 2.11 MiB [compared for emit] [javascript module] (name: main) 1 related asset
orphan modules 398 KiB [orphan] 162 modules
runtime modules 670 bytes 3 modules
cacheable modules 1.73 MiB
  modules by path ./node_modules/ 1.29 MiB 205 modules
  modules by path ./src/ 451 KiB
    modules by path ./src/client/components/ 393 KiB 86 modules
    modules by path ./src/client/*.ts 13.9 KiB 3 modules
    modules by path ./src/*.ts 35.2 KiB 3 modules
    modules by path ./src/extension/ 8.07 KiB 3 modules
    modules by path ./src/utils/*.ts 702 bytes
      ./src/utils/messaging.ts 459 bytes [built] [code generated]
      ./src/utils/ansi.ts 243 bytes [built] [code generated]
    ./src/client/styles/flex.ts 990 bytes [built] [code generated]

ERROR in ./src/extension/ai/stream.ts:276:5
TS2322: Type '{ createClient: (authority: string | URL) => http2.ClientHttp2Session; }' is not assignable to type 'Omit<RequestOptions, "signal"> | Omit<RequestOptions, "signal"> | ClientSessionOptions | SecureClientSessionOptions | undefined'.
    274 |     // baseUrl needs to include the path prefix.
    275 |     baseUrl: baseUrl,
  > 276 |     nodeOptions: options,
        |     ^^^^^^^^^^^
    277 |   })
    278 | }
    279 |

webpack 5.92.1 compiled with 1 error in 9928 ms
ERROR: "build:dev" exited with 1.

File name: 20240709_foyle_autocomplete.md

Session: 01J486E52T7YM6HX5FCSESE0JT


▶️ Generated by Runme

Share your own terminal sessions, it's free and open source. Click here to learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment