![]() ![]() (In my time, latest stable method is 16.17. ![]() After it's installed successfully you can simply switch back to the newer version as the same method as we used above nvm use 16.17.0. If it returned nvm it's been installed successfully.Īs I said, in my case, I tried an older version (14.20.0).ġ- First, install older node version nvm install 14.20.0Ģ- Then switch to that version by typing nvm use 14.20.0.Ģ.1.- If delete-prefix related error occur, simply type nvm use -delete-prefix v14.20.0.ģ- Install express-generator global version now by typing npm install -g express-generator. If it's installed properly, you can give it a try by typing simply command -v nvm. In my case, the solution below worked:įirstly install nvm (node version manager) by following the README.md instructions from here. Note: The new app will have a package.json file in its root directory. ![]() On completion, the tool will display the commands you need to enter to install the Node dependencies and start the app. If you are struggling with installing express-generator global version with npm but if there is a problem with the node and npm version, you might give try to downgrade your node version. npm will create the new Express app in a sub folder of your current location, displaying build progress on the console. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |