1111mp / nvm-desktop Goto Github PK
View Code? Open in Web Editor NEWNode Version Manager Desktop - A desktop application to manage multiple active node.js versions.
Home Page: https://github.com/1111mp/nvm-desktop
License: MIT License
Node Version Manager Desktop - A desktop application to manage multiple active node.js versions.
Home Page: https://github.com/1111mp/nvm-desktop
License: MIT License
本地刷新,空白,无报错
远程刷新,空白,报错:RequestError: self signed certificate in certificate chain
镜像地址,浏览器可以正常访问
https://nodejs.org/dist/
https://npmmirror.com/mirrors/node
【建议】镜像源可以设置下拉选泽
Hi!
I got an error when tried to install "tsx" package (https://github.com/privatenumber/tsx) globally.
Windows 10 Enterprise 22H2 (19045.3693)
nvm-desktop v2.6.0
node.js v20.10.0
Error log:
> npm i -g tsx
changed 5 packages in 876ms
2 packages are looking for funding
run `npm fund` for details
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: NotFound, message: "The system cannot find the path specified. (os error 3)" }', src\common.rs:194:45
stack backtrace:
0: 0x7ff78e2fddfc - <unknown>
1: 0x7ff78e31bdfb - <unknown>
2: 0x7ff78e2fa0af - <unknown>
3: 0x7ff78e2fdbab - <unknown>
4: 0x7ff78e30085a - <unknown>
5: 0x7ff78e3004af - <unknown>
6: 0x7ff78e300f0e - <unknown>
7: 0x7ff78e300dfd - <unknown>
8: 0x7ff78e2fea49 - <unknown>
9: 0x7ff78e300b00 - <unknown>
10: 0x7ff78e32a225 - <unknown>
11: 0x7ff78e32a6c3 - <unknown>
12: 0x7ff78e1b4785 - <unknown>
13: 0x7ff78e194cbe - <unknown>
14: 0x7ff78e1a9838 - <unknown>
15: 0x7ff78e1c0481 - <unknown>
16: 0x7ff78e1ba566 - <unknown>
17: 0x7ff78e1bf80c - <unknown>
18: 0x7ff78e2f3d68 - <unknown>
19: 0x7ff78e1c058c - <unknown>
20: 0x7ff78e3224b0 - <unknown>
21: 0x7ffd13c77344 - BaseThreadInitThunk
22: 0x7ffd158226b1 - RtlUserThreadStart
Win11
NODE Version: v16.20.2
同时装了 nvm
只看到了Liunx arm版本,amd应该下载哪个?
Can view the current source using string display,
and list the current mainstream sources in China, such as taobao.org, etc.
OS:MacOS 12.5 (21G72)
Cannot destructure property 'version' of 't[0]' as it is undefined.
TypeError: Cannot destructure property 'version' of 't[0]' as it is undefined.
at file:///Applications/nvm-desktop.app/Contents/Resources/app.asar/dist/renderer/renderer.js:2:1023803
at Ei (file:///Applications/nvm-desktop.app/Contents/Resources/app.asar/dist/renderer/renderer.js:2:818578)
at Es (file:///Applications/nvm-desktop.app/Contents/Resources/app.asar/dist/renderer/renderer.js:2:875433)
at xc (file:///Applications/nvm-desktop.app/Contents/Resources/app.asar/dist/renderer/renderer.js:2:864585)
at bc (file:///Applications/nvm-desktop.app/Contents/Resources/app.asar/dist/renderer/renderer.js:2:864513)
at vc (file:///Applications/nvm-desktop.app/Contents/Resources/app.asar/dist/renderer/renderer.js:2:864376)
at ic (file:///Applications/nvm-desktop.app/Contents/Resources/app.asar/dist/renderer/renderer.js:2:861183)
at ac (file:///Applications/nvm-desktop.app/Contents/Resources/app.asar/dist/renderer/renderer.js:2:859735)
at C (file:///Applications/nvm-desktop.app/Contents/Resources/app.asar/dist/renderer/renderer.js:2:919573)
at MessagePort.P (file:///Applications/nvm-desktop.app/Contents/Resources/app.asar/dist/renderer/renderer.js:2:920105)
大学生,想学rust和electron来着,你俩项目正好都包含了,真好,这下学起来了嘿嘿
复现流程
1.安装了nvmd2.4.0版本
2.建了一个空项目文件夹Share,设定了node版本是16.14.1
3.执行npm install --global serve 成功
4.执行 serve 失败,提示 nvm-desktop:command not fund: serve
C:\Users\Administrator.nvmd\bin目录下已经有serve.cmd和serve.exe文件
”serve“项目参考地址:https://www.npmjs.com/package/serve?activeTab=readme
建议node列表区分下LTS和Current版本,谢谢~
macos能否设置中增加一个退出时保存菜单栏图标而隐藏dock栏图标
能否与原来已经安装的nvm 配合,使用nvm-desktop 是不是要先卸载已安装的nvm
This issue aims to explain why the nvm-desktop: command not found
prompt message appears. Only applies to the following two situations:
prefix
option of npm
. (npm config set prefix "/path/to/folder"
) That is the directory of the "npm" global installation package has been changed.yarn
or pnpm
through corepack
. (corepack enable --install-directory /path/to/folder
) The directory where the executable is generated was changed via the --install-directory
option.Therefore, the error prompt of nvm-desktop: command not found
in the terminal is in line with its respective default behavior. At this time, you need to manually add the /path/to/folder
directory path to the system environment variable, and then terminal can be correctly identified. However, please note that when adding it to the system environment variable, you need to put the path of /path/to/folder
before nvmd
($HOME/.nvmd/bin
).
You can download a node version separately to test its respective default behavior without using nvm-desktop
.
这个 issue 旨在解释为何出现 nvm-desktop: command not found
提示信息。 只适用于以下两种情况:
npm
的prefix
选项。 (npm config set prefix "/path/to/folder"
) 即npm
全局安装包的目录已更改。corepack
使用yarn
或pnpm
时。 (corepack enable --install-directory /path/to/folder
) 通过 --install-directory
选项更改了可执行文件生成的目录。终端中出现nvm-desktop: command not find
的错误提示符合其各自的默认行为的。 这时需要手动将/path/to/folder
目录路径添加到系统环境变量中,然后终端才能正确识别。不过请注意,在添加到系统环境变量的时候,需要将/path/to/folder
的路径放在nvmd
($HOME/.nvmd/bin
) 之前。
你可以在不使用nvm-desktop
的情况下单独下载一个node的版本到本地进行测试。当更改过npm
的全局包安装路径以及通过corepack enable --install-directory /path/to/folder
命令生成yarn
&pnpm
的可执行文件时,需要将其对应的路径添加到环境变量中之后终端才能够正确识别。
Reference:
When in global mode, executables are linked into {prefix}/bin on Unix, or directly into {prefix} on Windows. Ensure that path is in your terminal's PATH environment to run them.
Corepack is a zero-runtime-dependency Node.js script that acts as a bridge between Node.js projects and the package managers they are intended to be used with during development. In practical terms, Corepack lets you use Yarn, npm, and pnpm without having to install them.
corepack enable --install-directory /path/to/folder
Add the Corepack shims to the install directories
When run, this commmand will check whether the shims for the specified package
managers can be found with the correct values inside the install directory. If
not, or if they don't exist, they will be created.By default it will locate the install directory by running the equivalent of
which corepack
, but this can be tweaked by explicitly passing the install
directory via the--install-directory
flag.
Deployed applications often specify what version of Node should be used during development and in the deployed environment by using package.json's engines.node field. It would be nice if this tool could use it when specifying a Project folder if it is present instead of adding a .nvmdrc file. Checking in an extra file to the repo, as well as having to remember to keep the node version in sync between two places is not ideal. For instance, let's say I decide my project is moving to v20.11.0. I now have to go update package.json's engines.node
and the .nvmdrc file.
Also of note, engines.node
can specify a range of versions. When a range is encountered, use the newest installed version within the range.
To recap, it would be nice if there were a solution to specify node versions for projects without having to commit an .nvmdrc file and have the node version specified in multiple places that could potentially get out of sync.
现在程序的默认安装路径在C盘,node的默认安装路径也在c盘,能否自定义更改程序的安装位置以及在程序内部更改node的安装路径?
我怎么样下载32位的node
node version: v16.20.2(currently)
hope: $HOME/.nvmd/versions/16.20.2/bin
switch node version: v18.18.2
hope: $HOME/.nvmd/versions/18.18.2/bin
托盘的Global还有项目里面都没有即时刷新,没有出现刚装的node。重启nvm-desktop才有,可以优化吗?我是windows.
希望可以在界面上切换全局的node版本,或者可以在找不到 .nvmdrc 的情况下,自动用设置的默认node。
PS:这项目真挺好用的!
有可能支持Arm版windows系统吗,现在的情况是能安装但是打不开
Hello,
I have just tried building this project, unfortunately I am met with an error:
error during build:
Error: [vite]: Rollup failed to resolve import "intro.js" from "/home/AUR/nvm-desktop/src/nvm-desktop.git/node_modules/intro.js-react/dist/esm/components/Steps/index.mjs".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external`
at viteWarn (file:///home/AUR/nvm-desktop/src/nvm-desktop.git/node_modules/vite/dist/node/chunks/dep-nGG-_oRu.js:67037:27)
at onwarn (file:///home/AUR/nvm-desktop/src/nvm-desktop.git/node_modules/@vitejs/plugin-react/dist/index.mjs:250:9)
at onRollupWarning (file:///home/AUR/nvm-desktop/src/nvm-desktop.git/node_modules/vite/dist/node/chunks/dep-nGG-_oRu.js:67062:9)
at onwarn (file:///home/AUR/nvm-desktop/src/nvm-desktop.git/node_modules/vite/dist/node/chunks/dep-nGG-_oRu.js:66776:13)
at file:///home/AUR/nvm-desktop/src/nvm-desktop.git/node_modules/rollup/dist/es/shared/node-entry.js:17420:13
at Object.logger [as onLog] (file:///home/AUR/nvm-desktop/src/nvm-desktop.git/node_modules/rollup/dist/es/shared/node-entry.js:19078:9)
at ModuleLoader.handleInvalidResolvedId (file:///home/AUR/nvm-desktop/src/nvm-desktop.git/node_modules/rollup/dist/es/shared/node-entry.js:18024:26)
at file:///home/AUR/nvm-desktop/src/nvm-desktop.git/node_modules/rollup/dist/es/shared/node-entry.js:17982:26
This can be fixed by adding 'intro.js' to the package.json. After running 'yarn add intro.js' the build was successful.
项目选项卡中,配置了很多项目。当我重装系统后,我需要重新手动添加项目目录,这将是会是一个很大的工作量。并且,如果在添加项目时可以支持多选就更好了。因为目前来说,项目都会存放在特定的某个大目录之下。
Hi!
I tried to uninstall nvm-desktop, and it seems not all files were removed.
These files were still present after uninstall:
C:\Users\User\AppData\Roaming\NVM-Desktop
C:\Users\User\AppData\Local\Programs\nvm-desktop
C:\Users\User\.nvmd
Also, it seems that C:\Users\User\.nvmd
wasn't automatically removed from PATH
variable, so nvmd still handles commands even after uninstall.
> node --version
nvm-desktop: command not found: node
UPDATE:
After I tried to remove these folders manually, I found out that nvm-desktop was still actually running in background.
Maybe that's why these files were not removed. Probably we need to kill active processes in uninstall process.
Also it seems that it allows to run multiple instances at once, and they all hide in system tray, that was one of the reasons why I didn't notice it at first time.
mac下(m1) node v14.x 都不支持咋办
老项目需要14 尴尬
这在intel芯片会出现这个问题
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.