[BUG] Installation on Windows
See original GitHub issueI am encountering a bug in the installation process in Windows. When trying to python manage.py tailwind install
it says
CommandError:
It looks like node.js and/or npm is not installed or cannot be found.
Visit https://nodejs.org to download and install node.js for your system.
If you have npm installed and still getting this error message, set NPM_BIN_PATH variable in settings.py to match path of NPM executable in your system.
Example:
NPM_BIN_PATH = "/usr/local/bin/npm"
Even though npm is installed and can be accessed via npm
in the same shell.
I tried:
- Restarting
- Switching to macOS (works)
- Adding NPM_BIN_PATH with \ , / and \ as dividers and %20 as space sign
- Switching consoles from PowerShell and CMD
Issue Analytics
- State:
- Created 2 years ago
- Reactions:5
- Comments:6
Top Results From Across the Web
How to troubleshoot Windows Installer errors - Microsoft Support
Click Start windows icon · Right-click Windows Installer, and then click Properties. · If the Startup type box is set to Disabled, change...
Read more >Install Mantis Bug Tracker on Windows - YouTube
Learn how to install MantisBT on local server on Windows.
Read more >Installing BUGS and the R to BUGS Interface
Install the rjags and coda packages (they run under R). • Optionally, install the R2jags package. If you are a Windows user: •...
Read more >4 Solutions to Fix Windows 10/11 Installation Has Failed
Uninstall or disable any antivirus program you have installed on your computer. This is to ensure nothing interrupts your Windows installation; Restart your ......
Read more >WinBUGS - MRC Biostatistics Unit - University of Cambridge
Introduction to WinBUGS; Installing WinBUGS 1.4 in Windows ... WinBUGS is part of the BUGS project, which aims to make practical MCMC methods...
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 FreeTop 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
Top GitHub Comments
Try this code, it worked in my project
NPM_BIN_PATH = r"C:\Program Files\nodejs\npm.cmd"
am facing same issue please help