I’ve set up Node.js using the package manager on my system and successfully installed express.js globally with NPM. However, after initializing a new express application, when I attempt to execute the command to install dependencies—specifically via npm install
—it fails to complete successfully even when running it as both a standard user and as the root user. Below are the logs showcasing the output during the installation attempt along with error messages indicating issues with the ‘jade.js’ file. What could be causing this problem?
u might wanna check ur node version and npm version compatibility, i had sumilar prblems and it got fixed after updating em. sometimes node or npm gets outdated, causing weird issues especially with dependencies like jade.js.