Skip to content
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

有问题提issue或者群里问,群里问的问完如果是bug记得同步到issues中,谢谢! #1

Open
pysunday opened this issue Mar 29, 2024 · 2 comments

Comments

@pysunday
Copy link
Owner

我做了什么:

期望行为:

重现步骤:

环境:

其它

@zhangdashan123
Copy link

执行npm i -g sdenv时候 报错:
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '[email protected]',
npm WARN EBADENGINE required: { node: '>=20.10.0' },
npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '10.5.2' }
npm WARN EBADENGINE }
npm WARN cleanup Failed to remove some directories [
npm WARN cleanup [
npm WARN cleanup 'D:\soft\node\node_global\node_modules\sdenv\node_modules',
npm WARN cleanup [Error: EBUSY: resource busy or locked, rmdir 'D:\soft\node\node_global\node_modules\sdenv\node_modules\canvas'] {
npm WARN cleanup errno: -4082,
npm WARN cleanup code: 'EBUSY',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'D:\soft\node\node_global\node_modules\sdenv\node_modules\canvas'
npm WARN cleanup }
npm WARN cleanup ],
npm WARN cleanup [
npm WARN cleanup 'D:\soft\node\node_global\node_modules\sdenv',
npm WARN cleanup [Error: EBUSY: resource busy or locked, rmdir 'D:\soft\node\node_global\node_modules\sdenv\node_modules\canvas'] {
npm WARN cleanup errno: -4082,
npm WARN cleanup code: 'EBUSY',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'D:\soft\node\node_global\node_modules\sdenv\node_modules\canvas'
npm WARN cleanup }
npm WARN cleanup ],
npm WARN cleanup [
npm WARN cleanup 'D:\soft\node\node_global\node_modules\sdenv',
npm WARN cleanup [Error: EBUSY: resource busy or locked, rmdir 'D:\soft\node\node_global\node_modules\sdenv\node_modules\canvas'] {
npm WARN cleanup errno: -4082,
npm WARN cleanup code: 'EBUSY',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'D:\soft\node\node_global\node_modules\sdenv\node_modules\canvas'
npm WARN cleanup }
npm WARN cleanup ]
npm WARN cleanup ]
npm ERR! code 1
npm ERR! path D:\soft\node\node_global\node_modules\sdenv
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | win32 | x64
npm ERR! gyp info find Python using Python version 3.11.5 found at "D:\soft\conda\python.exe"
npm ERR! gyp http GET https://nodejs.org/download/release/v18.19.0/node-v18.19.0-headers.tar.gz
npm ERR! gyp WARN install got an error, rolling back install
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack FetchError: request to https://nodejs.org/download/release/v18.19.0/node-v18.19.0-headers.tar.gz failed, reason: read ECONNRESET
npm ERR! gyp ERR! stack at ClientRequest. (D:\soft\node\node_global\node_modules\npm\node_modules\minipass-fetch\lib\index.js:130:14)
npm ERR! gyp ERR! stack at ClientRequest.emit (node:events:517:28)
npm ERR! gyp ERR! stack at _destroy (node:_http_client:882:13)
npm ERR! gyp ERR! stack at onSocketNT (node:_http_client:902:5)
npm ERR! gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
npm ERR! gyp ERR! System Windows_NT 10.0.22631
npm ERR! gyp ERR! command "D:\soft\node\node.exe" "D:\soft\node\node_global\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd D:\soft\node\node_global\node_modules\sdenv
npm ERR! gyp ERR! node -v v18.19.0
npm ERR! gyp ERR! node-gyp -v v10.1.0
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in: D:\soft\node\node_cache_logs\2024-04-25T11_10_29_900Z-debug-0.log

@pysunday
Copy link
Owner Author

执行npm i -g sdenv时候 报错:
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '[email protected]',
npm WARN EBADENGINE required: { node: '>=20.10.0' },
npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '10.5.2' }
npm WARN EBADENGINE }
npm WARN cleanup Failed to remove some directories [
npm WARN cleanup [
npm WARN cleanup 'D:\soft\node\node_global\node_modules\sdenv\node_modules',
npm WARN cleanup [Error: EBUSY: resource busy or locked, rmdir 'D:\soft\node\node_global\node_modules\sdenv\node_modules\canvas'] {
npm WARN cleanup errno: -4082,
npm WARN cleanup code: 'EBUSY',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'D:\soft\node\node_global\node_modules\sdenv\node_modules\canvas'
npm WARN cleanup }
npm WARN cleanup ],
npm WARN cleanup [
npm WARN cleanup 'D:\soft\node\node_global\node_modules\sdenv',
npm WARN cleanup [Error: EBUSY: resource busy or locked, rmdir 'D:\soft\node\node_global\node_modules\sdenv\node_modules\canvas'] {
npm WARN cleanup errno: -4082,
npm WARN cleanup code: 'EBUSY',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'D:\soft\node\node_global\node_modules\sdenv\node_modules\canvas'
npm WARN cleanup }
npm WARN cleanup ],
npm WARN cleanup [
npm WARN cleanup 'D:\soft\node\node_global\node_modules\sdenv',
npm WARN cleanup [Error: EBUSY: resource busy or locked, rmdir 'D:\soft\node\node_global\node_modules\sdenv\node_modules\canvas'] {
npm WARN cleanup errno: -4082,
npm WARN cleanup code: 'EBUSY',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'D:\soft\node\node_global\node_modules\sdenv\node_modules\canvas'
npm WARN cleanup }
npm WARN cleanup ]
npm WARN cleanup ]
npm ERR! code 1
npm ERR! path D:\soft\node\node_global\node_modules\sdenv
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | win32 | x64
npm ERR! gyp info find Python using Python version 3.11.5 found at "D:\soft\conda\python.exe"
npm ERR! gyp http GET https://nodejs.org/download/release/v18.19.0/node-v18.19.0-headers.tar.gz
npm ERR! gyp WARN install got an error, rolling back install
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack FetchError: request to https://nodejs.org/download/release/v18.19.0/node-v18.19.0-headers.tar.gz failed, reason: read ECONNRESET
npm ERR! gyp ERR! stack at ClientRequest. (D:\soft\node\node_global\node_modules\npm\node_modules\minipass-fetch\lib\index.js:130:14)
npm ERR! gyp ERR! stack at ClientRequest.emit (node:events:517:28)
npm ERR! gyp ERR! stack at _destroy (node:_http_client:882:13)
npm ERR! gyp ERR! stack at onSocketNT (node:_http_client:902:5)
npm ERR! gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
npm ERR! gyp ERR! System Windows_NT 10.0.22631
npm ERR! gyp ERR! command "D:\soft\node\node.exe" "D:\soft\node\node_global\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd D:\soft\node\node_global\node_modules\sdenv
npm ERR! gyp ERR! node -v v18.19.0
npm ERR! gyp ERR! node-gyp -v v10.1.0
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in: D:\soft\node\node_cache_logs\2024-04-25T11_10_29_900Z-debug-0.log

mmexport1714496227314.jpg

看报错和网名应该是你,提交问题开新issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants