Skip to content

Error: Cannot find module '/home/marek/Downloads/Blink1Control2/node_modules/buffer-crc32/index.js'. Please verify that the package.json has a valid "main" entry #188

@marek22k

Description

@marek22k
$npm i
npm WARN deprecated [email protected]: Support has ended for 9.x series. Upgrade to @latest
npm WARN deprecated [email protected]: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
npm notice 
npm notice New major version of npm available! 8.19.3 -> 9.2.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.2.0
npm notice Run npm install -g [email protected] to update!
npm notice 
npm ERR! code 1
npm ERR! path /home/marek/Downloads/Blink1Control2/node_modules/electron
npm ERR! command failed
npm ERR! command sh -c -- node install.js
npm ERR! node:internal/modules/cjs/loader:417
npm ERR!       throw err;
npm ERR!       ^
npm ERR! 
npm ERR! Error: Cannot find module '/home/marek/Downloads/Blink1Control2/node_modules/buffer-crc32/index.js'. Please verify that the package.json has a valid "main" entry
npm ERR!     at tryPackage (node:internal/modules/cjs/loader:409:19)
npm ERR!     at Module._findPath (node:internal/modules/cjs/loader:651:18)
npm ERR!     at Module._resolveFilename (node:internal/modules/cjs/loader:1025:27)
npm ERR!     at Module._load (node:internal/modules/cjs/loader:885:27)
npm ERR!     at Module.require (node:internal/modules/cjs/loader:1105:19)
npm ERR!     at require (node:internal/modules/cjs/helpers:103:18)
npm ERR!     at Object.<anonymous> (/home/marek/Downloads/Blink1Control2/node_modules/yauzl/index.js:4:13)
npm ERR!     at Module._compile (node:internal/modules/cjs/loader:1218:14)
npm ERR!     at Module._extensions..js (node:internal/modules/cjs/loader:1272:10)
npm ERR!     at Module.load (node:internal/modules/cjs/loader:1081:32) {
npm ERR!   code: 'MODULE_NOT_FOUND',
npm ERR!   path: '/home/marek/Downloads/Blink1Control2/node_modules/buffer-crc32/package.json',
npm ERR!   requestPath: 'buffer-crc32'
npm ERR! }
npm ERR! 
npm ERR! Node.js v19.2.0

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/marek/.npm/_logs/2022-12-09T08_20_12_571Z-debug-0.log
$node --version
v19.2.0

/home/marek/.npm/_logs/2022-12-09T08_20_12_571Z-debug-0.log: log.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions