Moving Node_modules Location Under A Python Venv
I have a Python venv to develop a Django application and I use babel to transpile my javascript. Currently, I install node.js with nodeenv -p whilst working under my Python venv.
Solution 1:
I eventually figured out that NODE_PATH is set to <myproject>/venv/lib/node_modules.
If I put my package.json file in venv/lib/ then run npm install from this directory, I can use npx babel from any folder in the project.
Post a Comment for "Moving Node_modules Location Under A Python Venv"