Skip to content
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.

npm install after repo clone fails #305

Open
jasonpolites opened this issue May 30, 2016 · 1 comment
Open

npm install after repo clone fails #305

jasonpolites opened this issue May 30, 2016 · 1 comment

Comments

@jasonpolites
Copy link

jasonpolites commented May 30, 2016

I tried the simple npm install -g scripted, that failed with the same error reported here, so I tried cloning the repo but that fails too:

npm install

> [email protected] install /[redacted]/projects/scripted/node_modules/rbytes
> node-waf configure build

sh: node-waf: command not found
npm WARN install:[email protected] [email protected] install: `node-waf configure build`
npm WARN install:[email protected] spawn ENOENT

> [email protected] postinstall /[redacted]/projects/scripted
> cd client && bower install

bower cloning https://github.com/requirejs/i18n.git
bower cloning https://github.com/cujojs/when.git
bower cloning https://github.com/Constellation/doctrine.git
bower cloning https://github.com/aseemk/json5.git
child_process.js:309
    throw new TypeError('options argument must be an object');
    ^

TypeError: options argument must be an object
    at normalizeSpawnArguments (child_process.js:309:11)
    at exports.spawn (child_process.js:333:38)
    at module.exports (/Users/Jason/projects/scripted/node_modules/bower/lib/util/spawn.js:17:12)
    at module.exports (/Users/Jason/projects/scripted/node_modules/bower/lib/util/git-cmd.js:19:12)
    at null.<anonymous> (/Users/Jason/projects/scripted/node_modules/bower/lib/core/package.js:611:18)
    at /Users/Jason/projects/scripted/node_modules/mkdirp/index.js:20:20
    at FSReqWrap.oncomplete (fs.js:82:15)

npm install -g https://github.com/scripted-editor/scripted/tarball/master fails with same error.

This is on Mac OSX 10.11.5

npm -v
2.15.5
node -v
v4.4.5
bower -v
1.7.9
@vaalgit
Copy link

vaalgit commented Jan 10, 2017

me too.
npm -v
2.15.9

node -v
v4.6.0

bower -v
1.7.9

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants