npm ERR! EPROTO: protocol error, symlink '../@babel/parser/bin/babel-parser.js' -> '/home/vagrant/code/proadco.test/node_modules/.bin/parser'

后端 未结 3 1700
再見小時候
再見小時候 2020-12-31 22:42

I\'m attempting to execute npm install in Git Bash client on Windows 8.1 but receiving the following error:

npm WARN optional SKIPPING OPTIONAL          


        
3条回答
  •  感动是毒
    2020-12-31 23:02

    What worked for me was to start windows command prompt as Administrator and vagrant up from there.

    The problem was, that windows as a Host machine, needs administrator privileges to create symlinks.

    to get a rid of previous unsuccessful installation I run npm clean-install npm run dev still ends up with some errors but ui:auth works.

提交回复
热议问题