Open risacher opened 10 months ago
Same for me
WARN 15 deprecated subdependencies found: boom@0.4.2, cryptiles@0.2.2, graceful-fs@1.2.3, hawk@1.1.1, hoek@0.9.1, minimatch@0.2.14, minimatch@2.0.10, natives@1.1.6, node-uuid@1.4.8, request@2.51.0, rollup-plugin-terser@7.0.2, sntp@0.2.4, sourcemap-codec@1.4.8, uuid@2.0.3, workbox-cacheable-response@6.6.0
Packages: +947
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 969, reused 947, downloaded 0, added 0, done
node_modules/.pnpm/node-browser@0.0.3/node_modules/node-browser: Running inode_modules/.pnpm/node-browser@0.0.3/node_modules/node-browser: Running install script, failed in 107ms
.../node_modules/node-browser install$ node ./build.js
│ fs.js:42
│ } = primordials;
│ ^
│ ReferenceError: primordials is not defined
│ at fs.js:42:5
│ at req_ (/data/workspace/ptstudio-debugger-tools/node_modules/.pn…
│ at Object.req [as require] (/data/workspace/ptstudio-debugger-too…
│ at Object.<anonymous> (/data/workspace/ptstudio-debugger-tools/no…
│ at Module._compile (node:internal/modules/cjs/loader:1155:14)
│ at Object.Module._extensions..js (node:internal/modules/cjs/loade…
│ at Module.load (node:internal/modules/cjs/loader:1033:32)
│ at Function.Module._load (node:internal/modules/cjs/loader:868:12)
│ at Module.require (node:internal/modules/cjs/loader:1057:19)
│ at require (node:internal/modules/cjs/helpers:103:18)
└─ Failed in 107ms at /data/workspace/ptstudio-debugger-tools/node_modules/.pnpm/node-browser@0.0.3/node_modules/node-browser
ELIFECYCLE Command failed with exit code 1.
This npm package is qrcode
not 'node-qrcode' ??
Yes. node-qrcode
is managed in the following repo:
https://www.npmjs.com/package/node-qrcode
https://github.com/imsobear/node-qrcode
For anyone stumbling across this problem, simply add following resolution to your package.json:
"resolutions": {
"graceful-fs": "^4.2.11"
}
But keep in mind, you might be installing the wrong node-qrcode
package instead of qrcode
!
Maybe it's just me?