Skip to content
New issue

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

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

Already on GitHub? # to your account

New line at the end of requirements.txt #122

Closed
ekalinin opened this issue May 13, 2015 · 0 comments
Closed

New line at the end of requirements.txt #122

ekalinin opened this issue May 13, 2015 · 0 comments

Comments

@ekalinin
Copy link
Owner

From #121

Also, I would like to note that there was an issue when the requirements.txt file included a newline at the end.

Here are the errors that occur when a newline is included.

(venv)$ nodeenv --requirements=requirements.txt --jobs=4 --prebuilt env
 * Install node (0.12.2)... done.
 * Install node.js packages ... Traceback (most recent call last):
  File "/Users/hades/Documents/Repos/mysite/venv/bin/nodeenv", line 9, in <module>
    load_entry_point('nodeenv==0.13.2', 'console_scripts', 'nodeenv')()
  File "/Users/hades/Documents/Repos/mysite/venv/lib/python2.7/site-packages/nodeenv.py", line 855, in main
    create_environment(env_dir, opt)
  File "/Users/hades/Documents/Repos/mysite/venv/lib/python2.7/site-packages/nodeenv.py", line 710, in create_environment
    install_packages(env_dir, opt)
  File "/Users/hades/Documents/Repos/mysite/venv/lib/python2.7/site-packages/nodeenv.py", line 632, in install_packages
    cmd % {"pack": package}], show_stdout=opt.verbose, in_shell=True)
  File "/Users/hades/Documents/Repos/mysite/venv/lib/python2.7/site-packages/nodeenv.py", line 436, in callit
    % (cmd_desc, proc.returncode))
OSError: Command ". env/bin/activate && npm install -g " failed with error code 235
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant