Comments (8)
I modified'process.env.HOME' to'process.env.HOMEPATH' in cli.js, it is OK.
from nrm.
I had the same problem and switched to version 1.0.2 resolved it.
from nrm.
Same problem, and it works, but why?
from nrm.
I modified'process.env.HOME' to'process.env.HOMEPATH' in cli.js, it is OK.
It works!
from nrm.
Same problem on Windows 10.
from nrm.
I modified'process.env.HOME' to'process.env.HOMEPATH' in cli.js, it is OK.
It works!
It doesn't work for me.
My node was installed by nvm.
Environment:
Node.js: 12.18.3
V8: 8.7.220.31-electron.0
OS: Windows_NT x64 10.0.18363.1441
from nrm.
改了之后是可以的,但是更新一下有回去'process.env.HOME'了,所以我搞了个系统变量'home=%homepath%'
it only work once, when restart my computer, it change back to 'process.env.HOME'
so i create a global env : 'home=%homepath%', this will work
from nrm.
Resolved by PR#83
from nrm.
Related Issues (20)
- node version v16.18.0 ERROR: ERR_REQUIRE_ESM HOT 13
- 在nvm中初次的安装中可以,切换node版本安装就不行了 HOT 2
- what happen for this case HOT 5
- Command error HOT 2
- require() of ES modules is not supported. HOT 8
- [BUG] Tencent npm mirror may have unexpected behavior
- Node.js v18.15.0 require语法不支持 HOT 13
- throw new ERR_REQUIRE_ESM(filename, parentPath, packageJsonPath); HOT 10
- 关于报错的问题throw new ERR_REQUIRE_ESM、const open = require('open')、node 升级到18.xx.xx后包错的问题解决 HOT 9
- nodejs 20上面無法使用 HOT 6
- 低版本和高版本都都报错 HOT 1
- 这个项目当前还能发布新版吗? HOT 2
- 确认一下最新的npm源列表
- 加上ci HOT 1
- 各种badge缺失的还比较多
- nrm ls 输出taobao undefined HOT 5
- nrm test 命令测试工具不支持 IPv6
- unknown command 'publish' HOT 1
- nrm ls发现 npm ---------- undefined
- run command:nrm ls, then error occurrenced HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nrm.