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

One true development environment fails when directory has spaces in it #1734

Open
jwang1919 opened this issue Aug 13, 2019 · 1 comment
Open

Comments

@jwang1919
Copy link
Contributor

Describe the bug
Issue occurs when attempting to run tools/setup.py in a directory that has spaces in it.

Directory is as follows: /Users/jessewang/Documents/Personal Code/popcode
Example Stacktrace:

tools/setup.py
 * Install prebuilt node (10.16.2) ..... done.
bash: line 1: /Users/jessewang/Documents/Personal: No such file or directory
bash: line 1: /Users/jessewang/Documents/Personal: No such file or directory
/Users/jessewang/.nvm/versions/node/v8.12.0/bin/yarn -> /Users/jessewang/.nvm/versions/node/v8.12.0/lib/node_modules/yarn/bin/yarn.js
/Users/jessewang/.nvm/versions/node/v8.12.0/bin/yarnpkg -> /Users/jessewang/.nvm/versions/node/v8.12.0/lib/node_modules/yarn/bin/yarn.js
+ yarn@1.17.3
added 1 package in 0.315s
bash: line 1: /Users/jessewang/Documents/Personal: No such file or directory
error popcode@0.9.0: The engine "node" is incompatible with this module. Expected version "~10.16.2". Got "8.12.0"
error Found incompatible module.

To Reproduce

  1. Store the popcode repo in a folder that has spaces in it.
  2. Run tools/setup.py

Expected behavior
tools/setup.py successfully runs and sets the node environment to the correct version.

  • OS: iOS
  • Version: Current master branch
@outoftime
Copy link
Contributor

Looks like this is an issue in nodeenv—there’s already an upstream issue ekalinin/nodeenv#106 (several years old!)

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

No branches or pull requests

2 participants