0👍
✅
I discovered some linux distributions install nodejs not as “node” executable but as “nodejs”.
In this case you have to manually link to “node” as many packages are programmed after the “node” binary. Something similar also occurs with “python2” not linked to “python”.
In this case you can do an easy symlink. For linux distributions which install package binaries to /usr/bin you can do
ln -s /usr/bin/nodejs /usr/bin/node
1👍
Error talks about /usr/bin/env which is a system command, so can you rename your virtualenv, may be its conflicting with the system command. try creating virtualenv venv and do source venv && pip install nodeenv
UPDATED:
virualenv venv
source venv
pip install nodeenv
install the nodeenv
in side your virtualenv, it should work!
- Signals VS Celery task
- Displaying image file from django model in jade
- One url for views with id and not with id
- Count and sort according to column value in django query
Source:stackexchange.com