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

The installation has failed in the Windows Server 2022 Standard #1385

Open
shijianoo opened this issue Sep 9, 2024 · 2 comments
Open

The installation has failed in the Windows Server 2022 Standard #1385

shijianoo opened this issue Sep 9, 2024 · 2 comments

Comments

@shijianoo
Copy link

npm WARN deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
npm WARN deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm WARN deprecated [email protected]: This package is no longer supported.
npm WARN deprecated [email protected]: This package is no longer supported.
npm WARN deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm WARN deprecated [email protected]: This package is no longer supported.
npm WARN deprecated [email protected]: This package is no longer supported.
npm WARN deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm WARN deprecated [email protected]: This package is no longer supported.
npm WARN deprecated [email protected]: This package is no longer supported.
npm WARN cleanup Failed to remove some directories [
npm WARN cleanup [
npm WARN cleanup 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\tileserver-gl\node_modules\canvas',
npm WARN cleanup [Error: EBUSY: resource busy or locked, rmdir 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\tileserver-gl\node_modules\canvas'] {
npm WARN cleanup errno: -4082,
npm WARN cleanup code: 'EBUSY',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\tileserver-gl\node_modules\canvas'
npm WARN cleanup }
npm WARN cleanup ],
npm WARN cleanup [
npm WARN cleanup 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\tileserver-gl\node_modules',
npm WARN cleanup [Error: EBUSY: resource busy or locked, rmdir 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\tileserver-gl\node_modules\canvas'] {
npm WARN cleanup errno: -4082,
npm WARN cleanup code: 'EBUSY',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\tileserver-gl\node_modules\canvas'
npm WARN cleanup }
npm WARN cleanup ],
npm WARN cleanup [
npm WARN cleanup 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\tileserver-gl',
npm WARN cleanup [Error: EBUSY: resource busy or locked, rmdir 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\tileserver-gl\node_modules\canvas'] {
npm WARN cleanup errno: -4082,
npm WARN cleanup code: 'EBUSY',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\tileserver-gl\node_modules\canvas'
npm WARN cleanup }
npm WARN cleanup ],
npm WARN cleanup [
npm WARN cleanup 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\tileserver-gl',
npm WARN cleanup [Error: EBUSY: resource busy or locked, rmdir 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\tileserver-gl\node_modules\canvas'] {
npm WARN cleanup errno: -4082,
npm WARN cleanup code: 'EBUSY',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\tileserver-gl\node_modules\canvas'
npm WARN cleanup }
npm WARN cleanup ],
npm WARN cleanup [
npm WARN cleanup 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\tileserver-gl\node_modules\@bufbuild',
npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\tileserver-gl\node_modules@bufbuild\protobuf\dist\esm\wkt\gen\google'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\tileserver-gl\node_modules\@bufbuild\protobuf\dist\esm\wkt\gen\google'
npm WARN cleanup }
npm WARN cleanup ]
npm WARN cleanup ]
npm ERR! code 1
npm ERR! path C:\Users\Administrator\AppData\Roaming\npm\node_modules\tileserver-gl\node_modules@maplibre\maplibre-gl-native
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node-pre-gyp install --fallback-to-build=false
npm ERR! request to https://github.com/maplibre/maplibre-native/releases/download/node-v6.0.0/node-v115-win32-x64-Release.tar.gz failed, reason: connect ETIMEDOUT 20.205.243.166:443
npm ERR! node-pre-gyp info it worked if it ends with ok
npm ERR! node-pre-gyp info using [email protected]
npm ERR! node-pre-gyp info using [email protected] | win32 | x64
npm ERR! node-pre-gyp info check checked for "C:\Users\Administrator\AppData\Roaming\npm\node_modules\tileserver-gl\node_modules@maplibre\maplibre-gl-native\lib\node-v115\mbgl.node" (not found)
npm ERR! node-pre-gyp http GET https://github.com/maplibre/maplibre-native/releases/download/node-v6.0.0/node-v115-win32-x64-Release.tar.gz
npm ERR! node-pre-gyp ERR! install request to https://github.com/maplibre/maplibre-native/releases/download/node-v6.0.0/node-v115-win32-x64-Release.tar.gz failed, reason: connect ETIMEDOUT 20.205.243.166:443
npm ERR! node-pre-gyp ERR! install error
npm ERR! node-pre-gyp ERR! stack FetchError: request to https://github.com/maplibre/maplibre-native/releases/download/node-v6.0.0/node-v115-win32-x64-Release.tar.gz failed, reason: connect ETIMEDOUT 20.205.243.166:443
npm ERR! node-pre-gyp ERR! stack at ClientRequest. (C:\Users\Administrator\AppData\Roaming\npm\node_modules\tileserver-gl\node_modules\node-fetch\lib\index.js:1501:11)
npm ERR! node-pre-gyp ERR! stack at ClientRequest.emit (node:events:518:28)
npm ERR! node-pre-gyp ERR! stack at TLSSocket.socketErrorListener (node:_http_client:495:9)
npm ERR! node-pre-gyp ERR! stack at TLSSocket.emit (node:events:518:28)
npm ERR! node-pre-gyp ERR! stack at emitErrorNT (node:internal/streams/destroy:169:8)
npm ERR! node-pre-gyp ERR! stack at emitErrorCloseNT (node:internal/streams/destroy:128:3)
npm ERR! node-pre-gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
npm ERR! node-pre-gyp ERR! System Windows_NT 10.0.20348
npm ERR! node-pre-gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\Administrator\AppData\Roaming\npm\node_modules\tileserver-gl\node_modules\@acalcutt\node-pre-gyp\bin\node-pre-gyp" "install" "--fallback-to-build=false"
npm ERR! node-pre-gyp ERR! cwd C:\Users\Administrator\AppData\Roaming\npm\node_modules\tileserver-gl\node_modules@maplibre\maplibre-gl-native
npm ERR! node-pre-gyp ERR! node -v v20.11.1
npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.15
npm ERR! node-pre-gyp ERR! not ok

npm ERR! A complete log of this run can be found in: C:\Users\Administrator\AppData\Local\npm-cache_logs\2024-09-09T14_05_29_497Z-debug-0.log

C:\Users\Administrator>

@acalcutt
Copy link
Collaborator

acalcutt commented Sep 9, 2024

From the errors it seems to me like either you have another copy of tileserver running in that folder, or you do not have permissions to remove or overwrite files.

It also looks like it had trouble downloading the lib files at https://github.com/maplibre/maplibre-native/releases/download/node-v6.0.0/node-v115-win32-x64-Release.tar.gz , but that file does exist. You could test manually downloading that file and extracting it to C:\Users\Administrator\AppData\Roaming\npm\node_modules\tileserver-gl\node_modules@maplibre\maplibre-gl-native\lib\node-v115\mbgl.node

@shijianoo
Copy link
Author

This file exists under this folder. Is there any other way

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

No branches or pull requests

2 participants