buildNodeModules
buildNodeModules copied to clipboard
failed: cache mode is 'only-if-cached
npm ERR! code ENOTCACHED
npm ERR! request to https://registry.npmjs.org/@swc%2fcore failed: cache mode is 'only-if-cached' but no cached response is available.
npm ERR! A complete log of this run can be found in: /tmp/nix-build-my-website-0.1.0.drv-0/.npm/_logs/2024-05-11T09_43_15_972Z-debug-0.log
error: builder for '/nix/store/27aq60pf10gqzhjfbf10zb9871chykvk-my-website-0.1.0.drv' failed with exit code 1;
last 25 log lines:
> npm WARN node_modules/@swc/core
> npm WARN dev @swc/core@"~1.3.85" from the root project
> npm WARN 3 more (@swc-node/register, nx, ts-node)
> npm WARN
> npm WARN Could not resolve dependency:
> npm WARN peerOptional @swc/core@">=1.2.50" from [email protected]
> npm WARN node_modules/ts-node
> npm WARN dev ts-node@"10.9.1" from the root project
> npm WARN 2 more (@nx/js, jest-config)
> npm WARN ERESOLVE overriding peer dependency
> npm WARN While resolving: @swc-node/[email protected]
> npm WARN Found: @swc/core@undefined
> npm WARN node_modules/@swc/core
> npm WARN dev @swc/core@"~1.3.85" from the root project
> npm WARN
> npm WARN Could not resolve dependency:
> npm WARN peer @swc/core@">= 1.4.13" from @swc-node/[email protected]
> npm WARN node_modules/@swc-node/register/node_modules/@swc-node/core
> npm WARN @swc-node/core@"^1.10.6" from @swc-node/[email protected]
> npm WARN node_modules/@swc-node/register
> npm ERR! code ENOTCACHED
> npm ERR! request to https://registry.npmjs.org/@swc%2fcore failed: cache mode is 'only-if-cached' but no cached response is available.