Builds Fail on WSL
See original GitHub issueI am having issues building anything with node-gyp in Ubuntu 16.04 under Windows Subsystem for Linux. Is it my error or is node-gyp known to not work under WSL?
I have the following installed: node-gyp 3.6.1 make (4.1-6) gcc 4:5.3.1-1ubuntu1 npm 3.10.10 nodejs v6.10.3 python 2.7
I have set the python path using
npm config set python /usr/lib/python2.7
I have verified that Python is installed in that location.
I attempted to install sharp using the command line
sudo npm install sharp --save
I have attached the debug log. sharp.zip
I also saw failures when trying to install bcrypt with
npm install --build-from-source bcrypt
bcrypt.zip
Any advice would be appreciated. Thanks.
Issue Analytics
- State:
- Created 6 years ago
- Comments:14 (4 by maintainers)
Top Results From Across the Web
Troubleshooting Windows Subsystem for Linux
Running Windows commands fails inside a distribution · In your WSL distribution run echo $PATH . · Check profile settings with cat /etc/profile...
Read more >Build fails on Windows Subsystem for Linux (WSL) #81
It's a discrepancy between WSL and Docker for Windows. WSL mounts the C: drive at /mnt/c and Docker's base VM mounts it at...
Read more >WSL builds fail if you try to have the build folder under /home
Your issue is that the cache generated by wsl is stored in the “/mnt/c/Users/v-rubyzhang/source/repos/CMakeProject97” directory, and you want to store it in the ......
Read more >Why is my Vim build failing on WSL?
I'm running Ubuntu 20.04.4 under WSL2 on Windows 11. I've cloned https://github.com/vim/vim.git in the environment. (The latest commit is tagged ...
Read more >Running gradle project in windows WSL build failed with c:/ ...
Running gradle project in windows WSL build failed with c:/Users/giova/AppData/Local/Temp/output.paths (No such file or directory). Duplicates 1.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I have same issue and
solved problem. I am not sure what caused problem. but works fine now.
This is still an issue.