Npm Install Vue Cli G

Posted on  by admin

npm install -g vue-clinpm ERR! Maximum call stack size exceeded. A complete log of this run can be found in:npm ERR!

Modified9 months ago. I have been stuck on this for a long time. When i run npm install -g @vue/cli, it pops up the following error. simliar error occurs also when I run vue create project-name.

I have tried reinstall many times and I have tried clean the cache as well. I am clear that the dictionary in the error " C:\Users\zhang\node_modules.bin/./node/bin/node" does not exist, but i have no idea how to fix it.

I have been stuck on this for hours and I appreciate any help from you. Fu ZhangFu Zhang. The WARNs is not an issue. It did fail to run node binaries.npm ERR!

/c/Users/zhang/node_modules/.bin/node: line 8: C:\Users\zhang\node_modules\.bin/./node/bin/node: No such file or directory . Make sure you get the right path. Or change the env PATH variable accordingly.

Tawfik NasserTawfik Nasser. please follow any of these to avoid these. 1.sett the Environment path correctly. 2.make sure that current user has the permission to process the data. ls -la /usr/lib/node_moduleswhoamisudo chown -R $USER /usr/lib/node_modules(setting the permission to current user).

3.Install the npm as sudo user by. sudo npm i -g @vue/cli. mohamed musammilmohamed musammil. Warning regarding Previous Versions.

The package name changed from vue-cli to @vue/cli. If you have the previous vue-cli (1.x or 2.x) package installed globally, you need to uninstall it first with npm uninstall vue-cli -g or yarn global remove vue-cli.

Node Version Requirement.