-
Notifications
You must be signed in to change notification settings - Fork 250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
require() of ES modules is not supported. #153
Comments
npm install nrm open@8.4.2 -g |
open 这个包从 9.x 开始改成了 Native ESM,不再支持 require 的方式引入,nrm 应该锁定一下依赖到这个版本 |
@i5ting the version |
@endwalker It's work for me , thank you. |
renxia
referenced
this issue
in renxia/nrm
Apr 12, 2023
试了下这个,也可以:
|
直接从github仓库安装: |
use this command: |
Try |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nrm: 1.2.5
我很好奇,我进入了这个
chalk
地址查看一下这个包package.json
,居然是5.2.0
,为什么会安装最新的ES Module
呢,按道理应该是V4版本的chalk
。The text was updated successfully, but these errors were encountered: