GithubHelp home page GithubHelp logo

[Issue]: npm install -g @vue/cli 'vue' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 about nvm-windows HOT 1 CLOSED

a1005380483 avatar a1005380483 commented on May 28, 2024
[Issue]: npm install -g @vue/cli 'vue' 不是内部或外部命令,也不是可运行的程序 或批处理文件。

from nvm-windows.

Comments (1)

a1005380483 avatar a1005380483 commented on May 28, 2024

我发现了,可能是我修改了nodejs和nvm地址,因此我的npn config get prefix和npm root -g路径不一致,重新修改跟npm root -g路径一致就可以了,但疑惑的是明明我是S:\global_npm\node_module\node_modules\node_modules\node_modules@vue 四个node_modules,但设置变量只能设置三个,否则就会报错,这也是为什么一开始我没找到问题的原因。因为我一直觉得应该是四个才对

from nvm-windows.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.