Skip to content

Error install mean-cli debian arm platform  #123

@Xertion57

Description

@Xertion57

Hello guys. I'm here because I have an issue installing mean-cli that i couldn't overcome.
The system i'm working on is a beaglebone black (arm) running an 8.2 jessie debian. I'm aware of the legacy binary node issue, I installed node-js-legacy to solve it but it didn't seem to have any effect.
i also tried to make a soft link from node to nodejs, it didn't work.

Here's is the error :
(you can fin the zip log here : npm-debug.zip )

[email protected] preinstall /usr/local/lib/node_modules/mean-cli
node ./scripts/preinstall

module.js:340
throw err;
^
Error: Cannot find module '/usr/local/lib/node_modules/mean-cli/scripts/preinstall'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR! [email protected] preinstall: node ./scripts/preinstall
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the [email protected] preinstall script.
npm ERR! This is most likely a problem with the mean-cli package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./scripts/preinstall
npm ERR! You can get their info via:
npm ERR! npm owner ls mean-cli
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 4.1.12-ti-r29
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "mean-cli"
npm ERR! cwd /usr/local/lib
npm ERR! node -v v0.10.38
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /usr/local/lib/npm-debug.log
npm ERR! not ok code 0

Anyone would know what's wrong ?
thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions