Replies: 1 comment
-
Did you set Your second approach (running |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If I try to install any version, it will complain that it doesn't know where to save the npm. This is inside the Windows container.
I had to run this manually for it to work
nvm root C:\Users\root\.nvm
, it will then add a brunch of stuff intosettings.txt
, however, I cannot run this step in my Dockerfile, it would just hang during build phase.I also tried creating the settings.txt manually like this, but then
nvm
still won't "sees" the settings, and would throw the exact same errors when I try to donvm install 17
.I also tried running the installer in the Dockerfile, but it just won't do anything. Running it inside the Container won't do anything either.
So how can pre-install
nvm
in my Windows container??Beta Was this translation helpful? Give feedback.
All reactions