Skip to content
This repository has been archived by the owner on Jan 19, 2025. It is now read-only.

Error on Compile please help #13

Open
turkidc opened this issue Jan 15, 2025 · 1 comment
Open

Error on Compile please help #13

turkidc opened this issue Jan 15, 2025 · 1 comment

Comments

@turkidc
Copy link

turkidc commented Jan 15, 2025

Hi, I pulled package and trying to compile it manually and via docker. I always hit wall while compiling it :

ERR! code 1
npm ERR! path C:\auto-shorts\node_modules\inkpaint\node_modules\gl
npm ERR! command failed

I have downloaded new inkpaint package and put it into inkpaint directory and installed it by force by changing package.json , also made changes in json files to some deprecated packages to newer version and managed to make image after two days,
on npm run install-ui-deps i get

C:\auto-shorts> npm run install-ui-deps
[email protected] install-ui-deps
cd ui && npm install

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: @nextui-org/[email protected]
npm ERR! node_modules/@nextui-org/system
npm ERR! @nextui-org/system@"2.2.6" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @nextui-org/system@">=2.4.0" from @nextui-org/[email protected]
npm ERR! node_modules/@nextui-org/accordion
npm ERR! @nextui-org/accordion@"^2.0.40" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:

I bypassed it by force install

but then when i start Docker or manually it says "punnycode deprecated" tried with nvm and node js below v21 same error. Can you help please.

@alamshafil
Copy link
Owner

The punnycode deprecated error should not cause any issues and is a byproduct of some transitive dependencies that depend on older version of punnycode.

It appears that the UI packages have become outdated which caused the dependeny conflict. You will need to manually update all the UI packages to the latest version (however it seems you were able to circumvent this by forcing the install).

Furthermore, the native packages canvas and gl require to be compiled if it does not find a prebuilt version for your Node ABI in GitHub. Other people have experienced this issue. This is partly due to both packages using the older Node.js bindings and not the improved node-nan bindings. Canvas >3.0.0 has support for node-nan and should not have compiling issues. (But this project is pinned to the older 2.x series). However, GL does not support node-nan and may have caused issues.

Unfortunately, I plan to archive this project so support will be limited.

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

No branches or pull requests

2 participants