Skip to content

Cannot find module 'node-linux-arm/package.json' #59

@brunocerk

Description

@brunocerk

Nodejs Version: v11.9.0
Platform: Linux alarmpi 4.14.97-1-ARCH #1 SMP Tue Feb 5 20:10:34 UTC 2019 armv7l GNU/Linux

How to reproduce on my system:
npm init
npm install node --save

Or npm install on any existing project

npm install node --save

node@11.9.0 preinstall /home/xxxxxx/testproject/node_modules/node
node installArchSpecificPackage

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/node-linux-arm - Not found
npm ERR! 404 
npm ERR! 404  'node-linux-arm@11.9.0' is not in the npm registry.
npm ERR! 404 Your package name is not valid, because 
npm ERR! 404  1. name can only contain URL-friendly characters
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/xxxxxx/.npm/_logs/2019-02-12T02_27_55_734Z-debug.log
internal/modules/cjs/loader.js:611
    throw err;
    ^

Error: Cannot find module 'node-linux-arm/package.json'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:609:15)
    at Function.resolve (internal/modules/cjs/helpers.js:28:19)
    at ChildProcess.<anonymous> (/home/xxxxxx/testproject/node_modules/node-bin-setup/index.js:18:27)
    at ChildProcess.emit (events.js:197:13)
    at maybeClose (internal/child_process.js:978:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
npm WARN testproject@1.0.0 No description
npm WARN testproject@1.0.0 No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node@11.9.0 preinstall: `node installArchSpecificPackage`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the node@11.9.0 preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/xxxxxx/.npm/_logs/2019-02-12T02_27_55_840Z-debug.log

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