Open crantisz opened 1 year ago
I hit the same issue and found that Ubuntu 22.04 has an outdated NodeJS version. Upgrading NodeJS to a more recent version solves the problem.
Update the node.js to latest version.
My "node -v" gives me v21.6.0, and I am still having the problem. btw, are node and nodejs the same thing?
i have update to latest nodejs v21.6.1, still getting the same error:
➤ YN0000: ┌ Resolution step
➤ YN0002: │ @stability/stablestudio-plugin-example@workspace:packages/stablestudio-plugin-example doesn't provide @types/node (pe4c4e), requested by ts-node
➤ YN0002: │ @stability/stablestudio-plugin-webgpu@workspace:packages/stablestudio-plugin-webgpu doesn't provide @types/node (p1e18d), requested by ts-node
➤ YN0002: │ @stability/stablestudio-plugin-webui@workspace:packages/stablestudio-plugin-webui doesn't provide @types/node (p09690), requested by ts-node
➤ YN0002: │ @stability/stablestudio-plugin@workspace:packages/stablestudio-plugin doesn't provide @types/node (pb7ed9), requested by ts-node
➤ YN0002: │ notistack@npm:3.0.1 [47cbf] doesn't provide csstype (p2d22e), requested by goober
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements
Describe the bug I tried to install StableStudio, but it fails on step 3.
To Reproduce Steps to reproduce the behavior:
husky - Git hooks installed ➤ YN0000: [@stability/stablestudio-plugin]: Process started ➤ YN0000: [@stability/stablestudio-plugin]: Process exited (exit code 0), completed in 3s 360ms
➤ YN0000: [@stability/stablestudio-plugin-example]: Process started ➤ YN0000: [@stability/stablestudio-plugin-example]: Process exited (exit code 0), completed in 3s 365ms
➤ YN0000: [@stability/stablestudio-plugin-stability]: Process started ➤ YN0000: [@stability/stablestudio-plugin-stability]: Process exited (exit code 0), completed in 5s 526ms
➤ YN0000: [@stability/stablestudio-plugin-webgpu]: Process started ➤ YN0000: [@stability/stablestudio-plugin-webgpu]: Process exited (exit code 0), completed in 3s 441ms
➤ YN0000: [@stability/stablestudio-plugin-webui]: Process started ➤ YN0000: [@stability/stablestudio-plugin-webui]: Process exited (exit code 0), completed in 3s 555ms
➤ YN0000: [@stability/stablestudio-ui]: Process started ➤ YN0000: [@stability/stablestudio-ui]: file:///home/michael/StableStudio/node_modules/vite/bin/vite.js:7 ➤ YN0000: [@stability/stablestudio-ui]: await import('source-map-support').then((r) => r.default.install()) ➤ YN0000: [@stability/stablestudio-ui]: ^^^^^ ➤ YN0000: [@stability/stablestudio-ui]: ➤ YN0000: [@stability/stablestudio-ui]: SyntaxError: Unexpected reserved word ➤ YN0000: [@stability/stablestudio-ui]: at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18) ➤ YN0000: [@stability/stablestudio-ui]: at async link (internal/modules/esm/module_job.js:42:21) ➤ YN0000: [@stability/stablestudio-ui]: Process exited (exit code 1), completed in 8s 815ms ➤ YN0000: Done in 28s 67ms michael@michael-X570-UD:~/StableStudio$ yarn --version 3.3.0
michael@michael-X570-UD:~/StableStudio$ nodejs --version v12.22.9