You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WARNING in ./src/api/api.ts 4:52-59
Should not import the named export 'version' (imported as 'version') from default-exporting module (only default export is available soon)
@ ./src/api/canReachGitHubAPI.ts 4:0-34 14:28-37
@ ./src/extension.ts 2:0-60 40:45-62
WARNING in configuration
The 'mode' option has not been set, webpack will fallback to 'production' for this value.
Set 'mode' option to 'development' or 'production' to enable defaults for each environment.
You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/configuration/mode/
webpack 5.76.0 compiled with 2 warnings in 12980 ms
WARNING in ./node_modules/asn1.js/lib/asn1/api.js 21:12-42
Module not found: Error: Can't resolve 'vm' in '/Users/paramita.santra/impks/vscode-github-actions/node_modules/asn1.js/lib/asn1'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "vm": require.resolve("vm-browserify") }'
- install 'vm-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "vm": false }
@ ./node_modules/asn1.js/lib/asn1.js 5:14-42
@ ./node_modules/parse-asn1/asn1.js 6:11-29
@ ./node_modules/parse-asn1/index.js 3:11-28
@ ./node_modules/browserify-sign/browser/sign.js 9:16-37
@ ./node_modules/browserify-sign/browser/index.js 7:11-28
@ ./node_modules/crypto-browserify/index.js 39:11-37
@ ./node_modules/libsodium/dist/modules/libsodium.js 1:276101-276118 1:444408-444425
@ ./node_modules/libsodium-wrappers/dist/modules/libsodium-wrappers.js
@ ./src/secrets/index.ts 1:0-43 3:10-25 4:16-37 5:14-35 5:41-75 6:19-44 7:11-30 7:39-73
@ ./src/commands/secrets/addSecret.ts 2:0-45 44:31-43 57:31-43
@ ./src/extension.ts 11:0-65 67:4-21
WARNING in ./src/api/api.ts 4:52-59
Should not import the named export 'version' (imported as 'version') from default-exporting module (only default export is available soon)
@ ./src/api/canReachGitHubAPI.ts 4:0-34 14:28-37
@ ./src/extension.ts 2:0-60 40:45-62
WARNING in configuration
The 'mode' option has not been set, webpack will fallback to 'production' for this value.
Set 'mode' option to 'development' or 'production' to enable defaults for each environment.
You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/configuration/mode/
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
extension-web.js (1.83 MiB)
WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
main (1.83 MiB)
extension-web.js
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
npm build fails for vscode-github-actions. Has this worked for anyone?
Error:
vscode-github-actions % npm run build
asset extension-node.js 1.56 MiB [compared for emit] [minimized] (name: main) 2 related assets
orphan modules 622 KiB [orphan] 201 modules
runtime modules 937 bytes 4 modules
modules by path ./ 2.62 MiB 227 modules
external "vscode" 42 bytes [built] [code generated]
external "path" 42 bytes [built] [code generated]
external "child_process" 42 bytes [built] [code generated]
external "fs" 42 bytes [built] [code generated]
external "buffer" 42 bytes [built] [code generated]
external "crypto" 42 bytes [built] [code generated]
external "os" 42 bytes [built] [code generated]
external "net" 42 bytes [built] [code generated]
external "util" 42 bytes [built] [code generated]
external "punycode" 42 bytes [built] [code generated]
WARNING in ./src/api/api.ts 4:52-59
Should not import the named export 'version' (imported as 'version') from default-exporting module (only default export is available soon)
@ ./src/api/canReachGitHubAPI.ts 4:0-34 14:28-37
@ ./src/extension.ts 2:0-60 40:45-62
WARNING in configuration
The 'mode' option has not been set, webpack will fallback to 'production' for this value.
Set 'mode' option to 'development' or 'production' to enable defaults for each environment.
You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/configuration/mode/
webpack 5.76.0 compiled with 2 warnings in 12980 ms
asset extension-web.js 1.83 MiB [compared for emit] [minimized] [big] (name: main) 2 related assets
orphan modules 846 KiB [orphan] 266 modules
runtime modules 1.25 KiB 6 modules
modules by path ./ 3.45 MiB
javascript modules 3.44 MiB 300 modules
json modules 12.7 KiB
modules by path ./node_modules/browserify-sign/ 2.23 KiB
./node_modules/browserify-sign/browser/algorithms.json 2.07 KiB [built] [code generated]
./node_modules/browserify-sign/browser/curves.json 162 bytes [built] [code generated]
./node_modules/diffie-hellman/lib/primes.json 6.83 KiB [built] [code generated]
./node_modules/browserify-aes/modes/list.json 2.05 KiB [built] [code generated]
./node_modules/elliptic/package.json 1.11 KiB [built] [code generated]
./node_modules/parse-asn1/aesid.json 487 bytes [built] [code generated]
WARNING in ./node_modules/asn1.js/lib/asn1/api.js 21:12-42
Module not found: Error: Can't resolve 'vm' in '/Users/paramita.santra/impks/vscode-github-actions/node_modules/asn1.js/lib/asn1'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "vm": require.resolve("vm-browserify") }'
- install 'vm-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "vm": false }
@ ./node_modules/asn1.js/lib/asn1.js 5:14-42
@ ./node_modules/parse-asn1/asn1.js 6:11-29
@ ./node_modules/parse-asn1/index.js 3:11-28
@ ./node_modules/browserify-sign/browser/sign.js 9:16-37
@ ./node_modules/browserify-sign/browser/index.js 7:11-28
@ ./node_modules/crypto-browserify/index.js 39:11-37
@ ./node_modules/libsodium/dist/modules/libsodium.js 1:276101-276118 1:444408-444425
@ ./node_modules/libsodium-wrappers/dist/modules/libsodium-wrappers.js
@ ./src/secrets/index.ts 1:0-43 3:10-25 4:16-37 5:14-35 5:41-75 6:19-44 7:11-30 7:39-73
@ ./src/commands/secrets/addSecret.ts 2:0-45 44:31-43 57:31-43
@ ./src/extension.ts 11:0-65 67:4-21
WARNING in ./src/api/api.ts 4:52-59
Should not import the named export 'version' (imported as 'version') from default-exporting module (only default export is available soon)
@ ./src/api/canReachGitHubAPI.ts 4:0-34 14:28-37
@ ./src/extension.ts 2:0-60 40:45-62
WARNING in configuration
The 'mode' option has not been set, webpack will fallback to 'production' for this value.
Set 'mode' option to 'development' or 'production' to enable defaults for each environment.
You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/configuration/mode/
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
extension-web.js (1.83 MiB)
WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
main (1.83 MiB)
extension-web.js
Beta Was this translation helpful? Give feedback.
All reactions