Giter Club home page Giter Club logo

Comments (2)

ziben avatar ziben commented on August 31, 2024

我修改了js默认由node.exe执行,在cmd窗口下还是不能用啊。

from smart-npm.

qiu8310 avatar qiu8310 commented on August 31, 2024

不好意思,我刚发布 [email protected],没有在 window 测试。发布 2.0 主要是因为 在 mac 上 smart-npm 无法通过 scripts 的方式覆盖原来的 npm,所以 2.0 是通过先删除原来的 npm,再添加一个用 smart-npm 生成的新 npm。

我刚在 window 上试了下,我这也没装成功,是说没有权限把原来的 npm 删除。不过装 smart-npm@1 是可以成功的,也许你也可以装1试试(功能上版本2和版本1没有太大的区别,主要是安装方式不一样),安装脚本:

npm install --global smart-npm@1 --registry=https://registry.npm.taobao.org/

如果还有问题麻烦将 npm 报错的信息也贴一下(发现通过覆盖原生的 npm 这种方法不是太稳定,不同的系统会有不同的问题)

from smart-npm.

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.