Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working #443

Open
linonetwo opened this issue Jul 9, 2023 · 0 comments
Open

Not working #443

linonetwo opened this issue Jul 9, 2023 · 0 comments

Comments

@linonetwo
Copy link

Progress: resolved 933, reused 823, downloaded 108, added 966, done
node_modules/.pnpm/[email protected][email protected]/node_modules/noflo-react: Running postinstall script, failed in 15ms
.../node_modules/noflo-react postinstall$ ./node_mod
│ '.' �����ڲ����ⲿ���Ҳ���ǿ����еij���
│ ���������ļ���
└─ Failed in 15ms at E:\repo\noflo-browser\node_modules\.pnpm\[email protected][email protected]\node_modules\noflo-react
 ELIFECYCLE  Command failed with exit code 1.

After remove noflo-react

> [email protected] build E:\repo\noflo-browser
> webpack

[webpack-cli] Error: Cannot find module 'workbox-build/build/options/schema/webpack-generate-sw'
Require stack:
- E:\repo\noflo-browser\node_modules\.pnpm\[email protected][email protected]\node_modules\workbox-webpack-plugin\build\generate-sw.js
- E:\repo\noflo-browser\node_modules\.pnpm\[email protected][email protected]\node_modules\workbox-webpack-plugin\build\index.js
- E:\repo\noflo-browser\webpack.config.js
- E:\repo\noflo-browser\node_modules\.pnpm\[email protected][email protected]\node_modules\webpack-cli\lib\groups\resolveConfig.js
- E:\repo\noflo-browser\node_modules\.pnpm\[email protected][email protected]\node_modules\webpack-cli\lib\webpack-cli.js
- E:\repo\noflo-browser\node_modules\.pnpm\[email protected][email protected]\node_modules\webpack-cli\lib\bootstrap.js
- E:\repo\noflo-browser\node_modules\.pnpm\[email protected][email protected]\node_modules\webpack-cli\bin\cli.js
- E:\repo\noflo-browser\node_modules\.pnpm\[email protected][email protected]\node_modules\webpack\bin\webpack.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1070:15)
    at Module._load (node:internal/modules/cjs/loader:923:27)
    at Module.require (node:internal/modules/cjs/loader:1137:19)
    at require (E:\repo\noflo-browser\node_modules\.pnpm\[email protected]\node_modules\v8-compile-cache\v8-compile-cache.js:159:20)
    at Object.<anonymous> (E:\repo\noflo-browser\node_modules\.pnpm\[email protected][email protected]\node_modules\workbox-webpack-plugin\build\generate-sw.js:20:33)
    at Module._compile (E:\repo\noflo-browser\node_modules\.pnpm\[email protected]\node_modules\v8-compile-cache\v8-compile-cache.js:192:30)
    at Module._extensions..js (node:internal/modules/cjs/loader:1309:10)
    at Module.load (node:internal/modules/cjs/loader:1113:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Module.require (node:internal/modules/cjs/loader:1137:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'E:\\repo\\noflo-browser\\node_modules\\.pnpm\\[email protected][email protected]\\node_modules\\workbox-webpack-plugin\\build\\generate-sw.js',
    'E:\\repo\\noflo-browser\\node_modules\\.pnpm\\[email protected][email protected]\\node_modules\\workbox-webpack-plugin\\build\\index.js',
    'E:\\repo\\noflo-browser\\webpack.config.js',
    'E:\\repo\\noflo-browser\\node_modules\\.pnpm\\[email protected][email protected]\\node_modules\\webpack-cli\\lib\\groups\\resolveConfig.js',
    'E:\\repo\\noflo-browser\\node_modules\\.pnpm\\[email protected][email protected]\\node_modules\\webpack-cli\\lib\\webpack-cli.js',
    'E:\\repo\\noflo-browser\\node_modules\\.pnpm\\[email protected][email protected]\\node_modules\\webpack-cli\\lib\\bootstrap.js',
    'E:\\repo\\noflo-browser\\node_modules\\.pnpm\\[email protected][email protected]\\node_modules\\webpack-cli\\bin\\cli.js',
    'E:\\repo\\noflo-browser\\node_modules\\.pnpm\\[email protected][email protected]\\node_modules\\webpack\\bin\\webpack.js'
  ]
}
 ELIFECYCLE  Command failed with exit code 2.

 *  终端进程“C:\Program Files\PowerShell\7\pwsh.exe -Command pnpm run build”已终止,退出代码: 1。 
 *  终端将被任务重用,按任意键关闭。 

 *  正在执行任务: pnpm run build 


> [email protected] build E:\repo\noflo-browser
> webpack

[webpack-cli] Error: Cannot find module 'workbox-build/build/options/schema/webpack-generate-sw'
Require stack:
- E:\repo\noflo-browser\node_modules\.pnpm\[email protected][email protected]\node_modules\workbox-webpack-plugin\build\generate-sw.js
- E:\repo\noflo-browser\node_modules\.pnpm\[email protected][email protected]\node_modules\workbox-webpack-plugin\build\index.js
- E:\repo\noflo-browser\webpack.config.js
- E:\repo\noflo-browser\node_modules\.pnpm\[email protected][email protected]\node_modules\webpack-cli\lib\groups\resolveConfig.js
- E:\repo\noflo-browser\node_modules\.pnpm\[email protected][email protected]\node_modules\webpack-cli\lib\webpack-cli.js
- E:\repo\noflo-browser\node_modules\.pnpm\[email protected][email protected]\node_modules\webpack-cli\lib\bootstrap.js
- E:\repo\noflo-browser\node_modules\.pnpm\[email protected][email protected]\node_modules\webpack-cli\bin\cli.js
- E:\repo\noflo-browser\node_modules\.pnpm\[email protected][email protected]\node_modules\webpack\bin\webpack.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1070:15)
    at Module._load (node:internal/modules/cjs/loader:923:27)
    at Module.require (node:internal/modules/cjs/loader:1137:19)
    at require (E:\repo\noflo-browser\node_modules\.pnpm\[email protected]\node_modules\v8-compile-cache\v8-compile-cache.js:159:20)
    at Object.<anonymous> (E:\repo\noflo-browser\node_modules\.pnpm\[email protected][email protected]\node_modules\workbox-webpack-plugin\build\generate-sw.js:20:33)
    at Module._compile (E:\repo\noflo-browser\node_modules\.pnpm\[email protected]\node_modules\v8-compile-cache\v8-compile-cache.js:192:30)
    at Module._extensions..js (node:internal/modules/cjs/loader:1309:10)
    at Module.load (node:internal/modules/cjs/loader:1113:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Module.require (node:internal/modules/cjs/loader:1137:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'E:\\repo\\noflo-browser\\node_modules\\.pnpm\\[email protected][email protected]\\node_modules\\workbox-webpack-plugin\\build\\generate-sw.js',
    'E:\\repo\\noflo-browser\\node_modules\\.pnpm\\[email protected][email protected]\\node_modules\\workbox-webpack-plugin\\build\\index.js',
    'E:\\repo\\noflo-browser\\webpack.config.js',
    'E:\\repo\\noflo-browser\\node_modules\\.pnpm\\[email protected][email protected]\\node_modules\\webpack-cli\\lib\\groups\\resolveConfig.js',
    'E:\\repo\\noflo-browser\\node_modules\\.pnpm\\[email protected][email protected]\\node_modules\\webpack-cli\\lib\\webpack-cli.js',
    'E:\\repo\\noflo-browser\\node_modules\\.pnpm\\[email protected][email protected]\\node_modules\\webpack-cli\\lib\\bootstrap.js',
    'E:\\repo\\noflo-browser\\node_modules\\.pnpm\\[email protected][email protected]\\node_modules\\webpack-cli\\bin\\cli.js',
    'E:\\repo\\noflo-browser\\node_modules\\.pnpm\\[email protected][email protected]\\node_modules\\webpack\\bin\\webpack.js'
  ]
}
 ELIFECYCLE  Command failed with exit code 2.

 *  终端进程“C:\Program Files\PowerShell\7\pwsh.exe -Command pnpm run build”已终止,退出代码: 1。 
 *  终端将被任务重用,按任意键关闭。 

After comment out // const { GenerateSW: GenerateServiceWorker } = require('workbox-webpack-plugin');

 *  正在执行任务: pnpm run build 


> [email protected] build E:\repo\noflo-browser
> webpack

node:internal/crypto/hash:69
  this[kHandle] = new _Hash(algorithm, xofLen);
                  ^

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:69:19)
    at Object.createHash (node:crypto:138:10)
    at BulkUpdateDecorator.hashFactory (E:\repo\noflo-browser\node_modules\.pnpm\[email protected][email protected]\node_modules\webpack\lib\util\createHash.js:138:18)
    at BulkUpdateDecorator.update (E:\repo\noflo-browser\node_modules\.pnpm\[email protected][email protected]\node_modules\webpack\lib\util\createHash.js:44:50)
    at OriginalSource.updateHash (E:\repo\noflo-browser\node_modules\.pnpm\[email protected]\node_modules\webpack-sources\lib\OriginalSource.js:104:8)
    at NormalModule._initBuildHash (E:\repo\noflo-browser\node_modules\.pnpm\[email protected][email protected]\node_modules\webpack\lib\NormalModule.js:736:17)
    at handleParseResult (E:\repo\noflo-browser\node_modules\.pnpm\[email protected][email protected]\node_modules\webpack\lib\NormalModule.js:800:10)
    at E:\repo\noflo-browser\node_modules\.pnpm\[email protected][email protected]\node_modules\webpack\lib\NormalModule.js:853:4
    at processResult (E:\repo\noflo-browser\node_modules\.pnpm\[email protected][email protected]\node_modules\webpack\lib\NormalModule.js:624:11)
    at E:\repo\noflo-browser\node_modules\.pnpm\[email protected][email protected]\node_modules\webpack\lib\NormalModule.js:675:5 {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v20.2.0
 ELIFECYCLE  Command failed with exit code 1.

 *  终端进程“C:\Program Files\PowerShell\7\pwsh.exe -Command pnpm run build”已终止,退出代码: 1。 
 *  终端将被任务重用,按任意键关闭。 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant