Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install script fails when user path contains spaces #170

Open
working-name opened this issue Jan 21, 2018 · 0 comments
Open

install script fails when user path contains spaces #170

working-name opened this issue Jan 21, 2018 · 0 comments

Comments

@working-name
Copy link

I have a custom user folder on a separate storage media on macOS 10.13.2, and that path contains a space. Most packages have been fine so far, but this one chokes on it.

Just FYI.

> [email protected] preinstall /usr/local/lib/node_modules/scrypt
> node node-scrypt-preinstall.js


> [email protected] install /usr/local/lib/node_modules/scrypt
> node-gyp rebuild

make: *** No rule to make target `../../../../../../Volumes/28TB/9-14/User', needed by `Makefile'.  Stop.
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at ChildProcess.emit (events.js:160:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
gyp ERR! System Darwin 17.3.0
gyp ERR! command "/usr/local/Cellar/node/9.4.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/scrypt
gyp ERR! node -v v9.4.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install 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!     /Volumes/28TB/tmp/.npm/_logs/2018-01-21T02_25_38_887Z-debug.log

this is the incomplete path ../../../../../../Volumes/28TB/9-14/User, there's a space after User.

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

No branches or pull requests

1 participant