I'm doing this in the GitBash on Windows.
I'm trying to create and activate a node virtual environment. When I run nodeenv env, an env directory appears with subdirectory Scripts. Inside the Scripts directory are activate.bat and Activate.ps1, but no activate file. So I can't activate the virtual environment by running . env/Scripts/activate. I'm not entirely sure how to fix this or what to try.
(.venv) $ pip install -e git+https://github.com/ekalinin/nodeenv.git#egg=nodeenv
(install stuff happens here with no error)
$ nodeenv --version
1.6.0
$ nodeenv env
* Install prebuilt node (16.10.0) ..... done.
You do not have sufficient privilege
to perform this operation.
You do not have sufficient privilege
to perform this operation.
Error: Failed to create nodejs.exe link
I ran into a similar problem earlier, except with the Python virtual environment. It turns out it was an issue with certain versions of Python, and changing which Python version I was using, then re-running python -m venv .venv fixed it. Can anyone confirm if something similar is happening here? Before I go through the hassle of changing node versions. I couldn't find anything online for it.