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

npm install after repo clone fails  #305

@jasonpolites

Description

@jasonpolites

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

> rbytes@0.0.2 install /[redacted]/projects/scripted/node_modules/rbytes
> node-waf configure build

sh: node-waf: command not found
npm WARN install:rbytes@0.0.2 rbytes@0.0.2 install: `node-waf configure build`
npm WARN install:rbytes@0.0.2 spawn ENOENT

> scripted@0.5.0 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions