-
Notifications
You must be signed in to change notification settings - Fork 13
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
Failed to use prm
, prm
使用失败
#3
Comments
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:\WINDOWS\system32> prm ls
Error: spawn npm ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:286:19)
at onErrorNT (node:internal/child_process:484:16)
at processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -4058,
code: 'ENOENT',
syscall: 'spawn npm',
path: 'npm',
spawnargs: [ 'config', 'get', 'registry', '--no-workspaces' ]
}
PS C:\WINDOWS\system32> |
但是可以查看当前 Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:\WINDOWS\system32> prm -v
0.0.32
PS C:\WINDOWS\system32> |
好的,回头修复下 |
我这边也是报同样的错误 Error: spawn npm ENOENT |
都是Windows吗? |
Windows10,同样无法使用 |
windows 11 ,同样无法使用 |
好的,最近太忙了,这个问题一直忘记处理了,这周末解决😀 有感兴趣的小伙伴也可以提PR |
0.0.33 版本还是无法使用,重新安装的。 |
@telescope114 @chunmengtu @weijunjie0608 @shiwei180067 , 已修复,请更新到 0.0.34 版本 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
全局安装prm-cli后无法使用
![Uploading Weixin Screenshot_20240109154210.png…]()
操作系统: window 10 64位
node版本: v20.x v18.x
The text was updated successfully, but these errors were encountered: