Giter VIP home page Giter VIP logo

Comments (13)

ltchou avatar ltchou commented on June 2, 2024 15

try to use this command to lock the version of open pacakge at 8.4.2
npm install -g nrm [email protected] --save

from nrm.

Diluka avatar Diluka commented on June 2, 2024 1

just install it from GitHub directly

npm i -g github:Pana/nrm

from nrm.

BigHugeC4 avatar BigHugeC4 commented on June 2, 2024

"open" use version 8.4.2 is fine

from nrm.

276378532 avatar 276378532 commented on June 2, 2024

遇到了同样的问题 插眼

from nrm.

wanglin447563345 avatar wanglin447563345 commented on June 2, 2024

遇到了同样的问题 插眼

from nrm.

LuoRiWuSheng avatar LuoRiWuSheng commented on June 2, 2024
package version
node 14.19.3
npm 6.14.17
window 10

从本地

npm i nrm -g

2023-03-21 9:23 分最新版本
下载的版本是 1.2.5
依赖的 open包 是
image

nrm 下的 node_modules 里面下载的是 open的最新版本

image

应该使用 open 的 CommonJs规范的包
现在 open: :9.0.0 是 ES Module 版本的

目前只能降级 nrm 为

这在 open 的github 上也是看到了 更新日志 https://github.com/sindresorhus/open/releases

image

from nrm.

RikaShiro avatar RikaShiro commented on June 2, 2024

got the same error message

from nrm.

cuihuale2021 avatar cuihuale2021 commented on June 2, 2024

try to use this command to lock the version of open pacakge at 8.4.2 npm install -g nrm [email protected] --save

解决问题了,感谢!

from nrm.

LuoRiWuSheng avatar LuoRiWuSheng commented on June 2, 2024

just install it from GitHub directly

npm i -g github:Pana/nrm

Installing from github does not seem to be a good solution to network congestion, and there may be download failures

from nrm.

LuoRiWuSheng avatar LuoRiWuSheng commented on June 2, 2024

try to use this command to lock the version of open pacakge at 8.4.2 npm install -g nrm [email protected] --save
这不是nrm包的内部依赖吗,为何要单独全局安装,似乎不是很好的解决方案

像我们在 jekenis 自动发布, 以前只要 全局安装 npm - nrm -g 即可; 现在多了一个前置包 open, 对 运维也是一个负担

毕竟真的有运维搞不懂 node 和前端这个庞大的生态

from nrm.

xiao994 avatar xiao994 commented on June 2, 2024

插眼

from nrm.

TigerHee avatar TigerHee commented on June 2, 2024

same error

from nrm.

xllily avatar xllily commented on June 2, 2024

try to use this command to lock the version of open pacakge at 8.4.2 npm install -g nrm [email protected] --save

If unresolved, also consider checking #156 as an additional option.

from nrm.

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.