-
Notifications
You must be signed in to change notification settings - Fork 210
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
Freeze returns empty and error when trying to create env from file #121
Comments
Thanks for report. Just repeat first issue:
The problem is in this condition: In this condition it was assumed that there are only 2 major versions of the |
About re-creation environment from ➥ cat requirements.txt
express@4.12.3
redis@0.12.1
socket.io@1.3.5
➥ virtualenv env
➥ . env/bin/activate
➥ pip install nodeenv
➥ nodeenv --requirements=requirements.txt --jobs=4 --prebuilt env-copy
* Install node (0.12.2)... done.
* Install node.js packages ... done.
➥ . env-copy/bin/activate
➥ freeze
express@4.12.3
redis@0.12.1
socket.io@1.3.5 Can you provide more details? |
Hi @ekalinin , Thanks for helping me out. I have upgraded nodeenv from 0.13.1 to 0.13.2 and freeze seems to be working perfectly now. Regarding the second issue, I haven't gotten the same issue again and am able to recreate an environment. I have a question though. I develop on a local machine and deploy on a remote server. In nodeenv, am I able to update my virtual environment requirements installations from file similar to the python virtualenv where I can run Also, I would like to note that there was an issue when the Here are the errors that occur when a newline is included.
When this happens, it also creates an
|
No problems :)
Cool!
Ok.
Seems, it much easier to install each one by
Yes. It's a bug. |
I am having some issues using
freeze
to keep a current list of installed modules.When I tried
(env)(venv)$ freeze
I got:I tried testing
freeze -l bloop.txt
and I got:I installed the npm modules using the
-g
flag.I'm also having a problem trying to create a new nodeenv on a different machine from a
requirements.txt
that I wrote following the example in the README.My
requirements.txt
file looks like this:I am using nodeenv 0.13.1.
Any help on these issues would be appreciated. Thanks!
Note: (env) is my nodeenv environment and (venv) is my python virtual environment.
The text was updated successfully, but these errors were encountered: