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

webstorm下载3d-tiles-tools报错怎么解决 #151

Open
laoziguan opened this issue Aug 30, 2024 · 1 comment
Open

webstorm下载3d-tiles-tools报错怎么解决 #151

laoziguan opened this issue Aug 30, 2024 · 1 comment

Comments

@laoziguan
Copy link

PS D:\3d-tiles-tools-main\3d-tiles-tools-main> npm install 3d-tiles-tools
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 @humanwhocodes/[email protected]: Use @eslint/config-array instead
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]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated @humanwhocodes/[email protected]: Use @eslint/object-schema instead
npm error code 1
npm error path D:\3d-tiles-tools-main\3d-tiles-tools-main\node_modules\sharp
npm error command failed
npm error command C:\Windows\system32\cmd.exe /d /s /c (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild
&& node install/dll-copy)
npm error sharp: Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.14.5/libvips-8.14.5-win32-x64.tar.br
npm error sharp: Please see https://sharp.pixelplumbing.com/install for required dependencies
npm error sharp: Installation error: unable to verify the first certificate
npm error A complete log of this run can be found in: D:\nodejs\node_cache_logs\2024-08-30T06_35_00_955Z-debug-0.log

@javagl
Copy link
Contributor

javagl commented Aug 30, 2024

The only real error seems to be

sharp: Installation error: unable to verify the first certificate

I know that the sharp library has some issues, related to versioning and compatibility (related to the fact that it uses native libraries under the hood). But I haven't seem this particular errror. Quick websearches for the error message don't bring "obvious, universal" solutions, and I don't want to recommend anything that I don't fully understand.

I think (but have to verify) that sharp is mainly a depencency of glTF-Transform here. Just to have another data point: Could you try installing glTF-Transform, as described in https://gltf-transform.dev/cli , and see whether you receive the same error?

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