Intosoft / qrcode

The best tool for QR Code generation in JavaScript (React, React Native, Node.js, VueJS, Angular, JQuery, VanillaJS)
https://custoqr.com
MIT License
10 stars 1 forks source link

npm i @intosoft/qrcode throws the following error. #47

Open takiuddin93 opened 3 months ago

takiuddin93 commented 3 months ago

takiuddin@Takis-Laptop API % npm i @intosoft/qrcode npm error code 1 npm error git dep preparation failed npm error command /Users/takiuddin/.nvm/versions/node/v22.2.0/bin/node /Users/takiuddin/.nvm/versions/node/v22.2.0/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/Users/takiuddin/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run npm error > qrcode@1.5.2 prepublish npm error > npm run build npm error npm error npm error > qrcode@1.5.2 build npm error > rollup -c npm error npm warn using --force Recommended protections disabled. npm error npm warn old lockfile npm error npm warn old lockfile The package-lock.json file was created with an old version of npm, npm error npm warn old lockfile so supplemental metadata must be fetched from the registry. npm error npm warn old lockfile npm error npm warn old lockfile This is a one-time fix-up, please be patient... npm error npm warn old lockfile npm error npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm error npm warn deprecated @babel/plugin-proposal-private-methods@7.16.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-methods instead. npm error npm warn deprecated @babel/plugin-proposal-unicode-property-regex@7.16.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-unicode-property-regex instead. npm error npm warn deprecated @babel/plugin-proposal-optional-catch-binding@7.16.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-catch-binding instead. npm error npm warn deprecated @babel/plugin-proposal-json-strings@7.16.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-json-strings instead. npm error npm warn deprecated @babel/plugin-proposal-private-property-in-object@7.16.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-property-in-object instead. npm error npm warn deprecated @babel/plugin-proposal-logical-assignment-operators@7.16.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-logical-assignment-operators instead. npm error npm warn deprecated @babel/plugin-proposal-nullish-coalescing-operator@7.16.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead. npm error npm warn deprecated @babel/plugin-proposal-export-namespace-from@7.16.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-export-namespace-from instead. npm error npm warn deprecated @babel/plugin-proposal-class-static-block@7.16.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-static-block instead. npm error npm warn deprecated @babel/plugin-proposal-dynamic-import@7.16.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-dynamic-import instead. npm error npm warn deprecated @babel/plugin-proposal-numeric-separator@7.16.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead. npm error npm warn deprecated @babel/plugin-proposal-class-properties@7.16.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead. npm error npm warn deprecated rollup-plugin-terser@5.3.1: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser npm error npm warn deprecated @babel/plugin-proposal-async-generator-functions@7.16.4: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-async-generator-functions instead. npm error npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported npm error npm warn deprecated @babel/plugin-proposal-object-rest-spread@7.16.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead. npm error npm warn deprecated @babel/plugin-proposal-optional-chaining@7.16.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead. npm error npm warn deprecated glob@7.2.0: Glob versions prior to v9 are no longer supported npm error npm warn deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead npm error npm warn deprecated rollup-plugin-babel@4.4.0: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-babel. npm error npm warn deprecated sinon@9.2.4: 16.1.1 npm error npm warn using --force Recommended protections disabled. npm error npm error lib/browser.js → build/qrcode.js... npm error [!] Error: Could not resolve entry module (lib/browser.js). npm error Error: Could not resolve entry module (lib/browser.js). npm error at error (/Users/takiuddin/.npm/_cacache/tmp/git-cloneV0GZgxTygtYq/node_modules/rollup/dist/shared/rollup.js:158:30) npm error at ModuleLoader.loadEntryModule (/Users/takiuddin/.npm/_cacache/tmp/git-cloneV0GZgxTygtYq/node_modules/rollup/dist/shared/rollup.js:22366:20) npm error at async Promise.all (index 0) npm error npm error npm error code 1 npm error npm error path /Users/takiuddin/.npm/_cacache/tmp/git-cloneV0GZgxTygtYq npm error npm error command failed npm error npm error command sh -c npm run build npm error npm error npm error A complete log of this run can be found in: /Users/takiuddin/.npm/_logs/2024-08-07T01_37_44_320Z-debug-0.log

error logs

0 verbose cli /Users/takiuddin/.nvm/versions/node/v22.2.0/bin/node /Users/takiuddin/.nvm/versions/node/v22.2.0/bin/npm 1 info using npm@10.7.0 2 info using node@v22.2.0 3 silly config:load:file:/Users/takiuddin/.nvm/versions/node/v22.2.0/lib/node_modules/npm/npmrc 4 silly config:load:file:/Users/takiuddin/Desktop/personal/adaptivate/API/.npmrc 5 silly config:load:file:/Users/takiuddin/.npmrc 6 silly config:load:file:/Users/takiuddin/.nvm/versions/node/v22.2.0/etc/npmrc 7 verbose title npm i @intosoft/qrcode 8 verbose argv "i" "@intosoft/qrcode" 9 verbose logfile logs-max:10 dir:/Users/takiuddin/.npm/_logs/2024-08-07T01_44_13_385Z- 10 verbose logfile /Users/takiuddin/.npm/_logs/2024-08-07T01_44_13_385Z-debug-0.log 11 silly logfile start cleaning logs, removing 1 files 12 silly logfile done cleaning log files 13 silly idealTree buildDeps 14 silly fetch manifest @intosoft/qrcode@ 15 http fetch GET 200 https://registry.npmjs.org/@intosoft%2fqrcode 1168ms (cache miss) 16 silly placeDep ROOT @intosoft/qrcode@0.1.3 OK for: plusequalsto@1.0.0 want: 17 silly fetch manifest qrcode@github:sakul-budhathoki/node-qrcode#feat/cleanup 18 silly placeDep node_modules/@intosoft/qrcode qrcode@1.5.2 OK for: @intosoft/qrcode@0.1.3 want: github:sakul-budhathoki/node-qrcode#feat/cleanup 19 silly reify moves {} 20 silly audit bulk request { 20 silly audit accepts: [ '1.3.8' ], 20 silly audit 'ansi-regex': [ '5.0.1' ], 20 silly audit 'ansi-styles': [ '4.3.0' ], 20 silly audit anymatch: [ '3.1.3' ], 20 silly audit 'array-flatten': [ '1.1.1' ], 20 silly audit asynckit: [ '0.4.0' ], 20 silly audit axios: [ '1.7.3' ], 20 silly audit 'balanced-match': [ '1.0.2' ], 20 silly audit 'binary-extensions': [ '2.3.0' ], 20 silly audit 'body-parser': [ '1.20.2' ], 20 silly audit 'brace-expansion': [ '1.1.11' ], 20 silly audit braces: [ '3.0.3' ], 20 silly audit bytes: [ '3.1.2' ], 20 silly audit 'call-bind': [ '1.0.7' ], 20 silly audit camelcase: [ '5.3.1' ], 20 silly audit chokidar: [ '3.6.0' ], 20 silly audit cliui: [ '6.0.0' ], 20 silly audit 'color-convert': [ '2.0.1' ], 20 silly audit 'color-name': [ '1.1.4' ], 20 silly audit 'combined-stream': [ '1.0.8' ], 20 silly audit 'concat-map': [ '0.0.1' ], 20 silly audit 'content-disposition': [ '0.5.4' ], 20 silly audit 'content-type': [ '1.0.5' ], 20 silly audit cookie: [ '0.6.0' ], 20 silly audit 'cookie-signature': [ '1.0.6' ], 20 silly audit cors: [ '2.8.5' ], 20 silly audit debug: [ '2.6.9', '4.3.6' ], 20 silly audit decamelize: [ '1.2.0' ], 20 silly audit 'define-data-property': [ '1.1.4' ], 20 silly audit 'delayed-stream': [ '1.0.0' ], 20 silly audit depd: [ '2.0.0' ], 20 silly audit destroy: [ '1.2.0' ], 20 silly audit dijkstrajs: [ '1.0.3' ], 20 silly audit dotenv: [ '16.4.5' ], 20 silly audit 'ee-first': [ '1.1.1' ], 20 silly audit 'emoji-regex': [ '8.0.0' ], 20 silly audit encodeurl: [ '1.0.2' ], 20 silly audit 'es-define-property': [ '1.0.0' ], 20 silly audit 'es-errors': [ '1.3.0' ], 20 silly audit 'escape-html': [ '1.0.3' ], 20 silly audit etag: [ '1.8.1' ], 20 silly audit express: [ '4.19.2' ], 20 silly audit 'fill-range': [ '7.1.1' ], 20 silly audit finalhandler: [ '1.2.0' ], 20 silly audit 'find-up': [ '4.1.0' ], 20 silly audit 'follow-redirects': [ '1.15.6' ], 20 silly audit 'form-data': [ '4.0.0' ], 20 silly audit forwarded: [ '0.2.0' ], 20 silly audit fresh: [ '0.5.2' ], 20 silly audit fsevents: [ '2.3.3' ], 20 silly audit 'function-bind': [ '1.1.2' ], 20 silly audit 'get-caller-file': [ '2.0.5' ], 20 silly audit 'get-intrinsic': [ '1.2.4' ], 20 silly audit 'glob-parent': [ '5.1.2' ], 20 silly audit gopd: [ '1.0.1' ], 20 silly audit 'has-flag': [ '3.0.0' ], 20 silly audit 'has-property-descriptors': [ '1.0.2' ], 20 silly audit 'has-proto': [ '1.0.3' ], 20 silly audit 'has-symbols': [ '1.0.3' ], 20 silly audit hasown: [ '2.0.2' ], 20 silly audit 'http-errors': [ '2.0.0' ], 20 silly audit 'iconv-lite': [ '0.4.24' ], 20 silly audit 'ignore-by-default': [ '1.0.1' ], 20 silly audit inherits: [ '2.0.4' ], 20 silly audit 'ipaddr.js': [ '1.9.1' ], 20 silly audit 'is-binary-path': [ '2.1.0' ], 20 silly audit 'is-extglob': [ '2.1.1' ], 20 silly audit 'is-fullwidth-code-point': [ '3.0.0' ], 20 silly audit 'is-glob': [ '4.0.3' ], 20 silly audit 'is-number': [ '7.0.0' ], 20 silly audit 'locate-path': [ '5.0.0' ], 20 silly audit 'media-typer': [ '0.3.0' ], 20 silly audit 'merge-descriptors': [ '1.0.1' ], 20 silly audit methods: [ '1.1.2' ], 20 silly audit mime: [ '1.6.0' ], 20 silly audit 'mime-db': [ '1.52.0' ], 20 silly audit 'mime-types': [ '2.1.35' ], 20 silly audit minimatch: [ '3.1.2' ], 20 silly audit ms: [ '2.0.0', '2.1.2', '2.1.3' ], 20 silly audit negotiator: [ '0.6.3' ], 20 silly audit nodemon: [ '3.1.4' ], 20 silly audit 'normalize-path': [ '3.0.0' ], 20 silly audit 'object-assign': [ '4.1.1' ], 20 silly audit 'object-inspect': [ '1.13.2' ], 20 silly audit 'on-finished': [ '2.4.1' ], 20 silly audit 'p-limit': [ '2.3.0' ], 20 silly audit 'p-locate': [ '4.1.0' ], 20 silly audit 'p-try': [ '2.2.0' ], 20 silly audit parseurl: [ '1.3.3' ], 20 silly audit 'path-exists': [ '4.0.0' ], 20 silly audit 'path-to-regexp': [ '0.1.7' ], 20 silly audit picomatch: [ '2.3.1' ], 20 silly audit pngjs: [ '5.0.0' ], 20 silly audit 'proxy-addr': [ '2.0.7' ], 20 silly audit 'proxy-from-env': [ '1.1.0' ], 20 silly audit 'pstree.remy': [ '1.1.8' ], 20 silly audit qrcode: [ '1.5.4', '1.5.2' ], 20 silly audit qs: [ '6.11.0' ], 20 silly audit 'range-parser': [ '1.2.1' ], 20 silly audit 'raw-body': [ '2.5.2' ], 20 silly audit readdirp: [ '3.6.0' ], 20 silly audit 'require-directory': [ '2.1.1' ], 20 silly audit 'require-main-filename': [ '2.0.0' ], 20 silly audit 'safe-buffer': [ '5.2.1' ], 20 silly audit 'safer-buffer': [ '2.1.2' ], 20 silly audit semver: [ '7.6.3' ], 20 silly audit send: [ '0.18.0' ], 20 silly audit 'serve-static': [ '1.15.0' ], 20 silly audit 'set-blocking': [ '2.0.0' ], 20 silly audit 'set-function-length': [ '1.2.2' ], 20 silly audit setprototypeof: [ '1.2.0' ], 20 silly audit 'side-channel': [ '1.0.6' ], 20 silly audit 'simple-update-notifier': [ '2.0.0' ], 20 silly audit statuses: [ '2.0.1' ], 20 silly audit 'string-width': [ '4.2.3' ], 20 silly audit 'strip-ansi': [ '6.0.1' ], 20 silly audit 'supports-color': [ '5.5.0' ], 20 silly audit 'to-regex-range': [ '5.0.1' ], 20 silly audit toidentifier: [ '1.0.1' ], 20 silly audit touch: [ '3.1.1' ], 20 silly audit 'type-is': [ '1.6.18' ], 20 silly audit undefsafe: [ '2.0.5' ], 20 silly audit unpipe: [ '1.0.0' ], 20 silly audit 'utils-merge': [ '1.0.1' ], 20 silly audit vary: [ '1.1.2' ], 20 silly audit 'which-module': [ '2.0.1' ], 20 silly audit 'wrap-ansi': [ '6.2.0' ], 20 silly audit y18n: [ '4.0.3' ], 20 silly audit yargs: [ '15.4.1' ], 20 silly audit 'yargs-parser': [ '18.1.3' ], 20 silly audit '@intosoft/qrcode': [ '0.1.3' ] 20 silly audit } 21 silly tarball no local data for @intosoft/qrcode@https://registry.npmjs.org/@intosoft/qrcode/-/qrcode-0.1.3.tgz. Extracting by manifest. 22 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 166ms 23 silly audit report {} 24 http fetch GET 200 https://codeload.github.com/sakul-budhathoki/node-qrcode/tar.gz/91b50a244428d3c4e671e2d1855fb8da5dedc70f 164ms (cache miss) 25 http fetch GET 200 https://registry.npmjs.org/@intosoft/qrcode/-/qrcode-0.1.3.tgz 557ms (cache miss) 26 verbose stack Error: git dep preparation failed 26 verbose stack at ChildProcess. (/Users/takiuddin/.nvm/versions/node/v22.2.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:53:27) 26 verbose stack at ChildProcess.emit (node:events:520:28) 26 verbose stack at maybeClose (node:internal/child_process:1105:16) 26 verbose stack at ChildProcess._handle.onexit (node:internal/child_process:305:5) 27 verbose cwd /Users/takiuddin/Desktop/personal/adaptivate/API 28 verbose Darwin 23.5.0 29 verbose node v22.2.0 30 verbose npm v10.7.0 31 error code 1 32 error git dep preparation failed 33 error command /Users/takiuddin/.nvm/versions/node/v22.2.0/bin/node /Users/takiuddin/.nvm/versions/node/v22.2.0/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/Users/takiuddin/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run 34 error > qrcode@1.5.2 prepublish 34 error > npm run build 34 error 34 error 34 error > qrcode@1.5.2 build 34 error > rollup -c 35 error npm warn using --force Recommended protections disabled. 35 error npm warn old lockfile 35 error npm warn old lockfile The package-lock.json file was created with an old version of npm, 35 error npm warn old lockfile so supplemental metadata must be fetched from the registry. 35 error npm warn old lockfile 35 error npm warn old lockfile This is a one-time fix-up, please be patient... 35 error npm warn old lockfile 35 error npm warn deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead 35 error npm warn deprecated rollup-plugin-terser@5.3.1: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser 35 error npm warn deprecated rollup-plugin-babel@4.4.0: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-babel. 35 error npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported 35 error npm warn deprecated sinon@9.2.4: 16.1.1 35 error npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. 35 error npm warn deprecated glob@7.2.0: Glob versions prior to v9 are no longer supported 35 error npm warn deprecated @babel/plugin-proposal-unicode-property-regex@7.16.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-unicode-property-regex instead. 35 error npm warn deprecated @babel/plugin-proposal-private-methods@7.16.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-methods instead. 35 error npm warn deprecated @babel/plugin-proposal-optional-chaining@7.16.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead. 35 error npm warn deprecated @babel/plugin-proposal-object-rest-spread@7.16.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead. 35 error npm warn deprecated @babel/plugin-proposal-logical-assignment-operators@7.16.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-logical-assignment-operators instead. 35 error npm warn deprecated @babel/plugin-proposal-optional-catch-binding@7.16.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-catch-binding instead. 35 error npm warn deprecated @babel/plugin-proposal-private-property-in-object@7.16.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-property-in-object instead. 35 error npm warn deprecated @babel/plugin-proposal-json-strings@7.16.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-json-strings instead. 35 error npm warn deprecated @babel/plugin-proposal-export-namespace-from@7.16.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-export-namespace-from instead. 35 error npm warn deprecated @babel/plugin-proposal-nullish-coalescing-operator@7.16.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead. 35 error npm warn deprecated @babel/plugin-proposal-dynamic-import@7.16.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-dynamic-import instead. 35 error npm warn deprecated @babel/plugin-proposal-class-properties@7.16.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead. 35 error npm warn deprecated @babel/plugin-proposal-class-static-block@7.16.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-static-block instead. 35 error npm warn deprecated @babel/plugin-proposal-numeric-separator@7.16.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead. 35 error npm warn deprecated @babel/plugin-proposal-async-generator-functions@7.16.4: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-async-generator-functions instead. 35 error npm warn using --force Recommended protections disabled. 35 error 35 error lib/browser.js → build/qrcode.js... 35 error [!] Error: Could not resolve entry module (lib/browser.js). 35 error Error: Could not resolve entry module (lib/browser.js). 35 error at error (/Users/takiuddin/.npm/_cacache/tmp/git-clones6Ylykz9dxgp/node_modules/rollup/dist/shared/rollup.js:158:30) 35 error at ModuleLoader.loadEntryModule (/Users/takiuddin/.npm/_cacache/tmp/git-clones6Ylykz9dxgp/node_modules/rollup/dist/shared/rollup.js:22366:20) 35 error at async Promise.all (index 0) 35 error 35 error npm error code 1 35 error npm error path /Users/takiuddin/.npm/_cacache/tmp/git-clones6Ylykz9dxgp 35 error npm error command failed 35 error npm error command sh -c npm run build 35 error 35 error npm error A complete log of this run can be found in: /Users/takiuddin/.npm/_logs/2024-08-07T01_44_15_836Z-debug-0.log 36 verbose exit 1 37 verbose code 1 38 silly unfinished npm timer reify 1722995053571 39 silly unfinished npm timer reify:unpack 1722995055601 40 silly unfinished npm timer reifyNode:node_modules/@intosoft/qrcode/node_modules/qrcode 1722995055601 41 error A complete log of this run can be found in: /Users/takiuddin/.npm/_logs/2024-08-07T01_44_13_385Z-debug-0.log

relativityboy commented 2 days ago

I'm having the same issue, my logs look pretty identical.