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

arm64编译出错 #1

Open
13653216371 opened this issue Dec 15, 2024 · 0 comments
Open

arm64编译出错 #1

13653216371 opened this issue Dec 15, 2024 · 0 comments

Comments

@13653216371
Copy link


[frontend-builder 5/7] RUN npm install:
16.91 npm warn deprecated [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
18.94 npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
25.17 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.
26.85 npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
28.78 npm warn deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
501.0 npm error code 1
501.0 npm error path /app/frontend/node_modules/pngquant-bin
501.0 npm error command failed
501.0 npm error command sh -c node lib/install.js
501.0 npm error compiling from source
501.0 npm error spawn Unknown system error -8
501.0 npm error pngquant pre-build test failed
501.0 npm error Error: pngquant failed to build, make sure that libpng-dev is installed
501.0 npm error at /app/frontend/node_modules/bin-build/node_modules/execa/index.js:231:11
501.0 npm error at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
501.0 npm error at async Promise.all (index 0)
501.0 npm notice
501.0 npm notice New minor version of npm available! 10.8.2 -> 10.9.2
501.0 npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.9.2
501.0 npm notice To update run: npm install -g [email protected]
501.0 npm notice
501.0 npm error A complete log of this run can be found in: /root/.npm/_logs/2024-12-15T11_13_06_512Z-debug-0.log


ERROR: failed to solve: process "/bin/sh -c npm install" did not complete successfully: exit code: 1
ERROR: Service 'trilium-blog' failed to build : Build failed

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

1 participant