You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Cannot find module '/home/sk/novado-saas/saas-boilerplate/node_modules/.pnpm/vite@5.4.14_@types+node@22.13.1_less@4.1.3_sass@1.84.0_stylus@0.59.0_terser@5.38.1/node_modules/vite/bin/vite.js'
at Function._resolveFilename (node:internal/modules/cjs/loader:1244:15)
at Function._load (node:internal/modules/cjs/loader:1070:27)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:170:5)
at node:internal/main/run_main_module:36:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v22.13.1
nx run webapp:graphql:generate-types:watch
pnpm nx run webapp-api-client:graphql:generate-types:watch
nx run webapp-api-client:graphql:generate-types:watch
pnpm run graphql-codegen -w -c ./graphql/codegen.ts
(node:469537) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
[STARTED] Parse Configuration
[SUCCESS] Parse Configuration
[STARTED] Generate outputs
[STARTED] Generate to src/graphql/__generated/gql/
[STARTED] Load GraphQL schemas
[SUCCESS] Load GraphQL schemas
[STARTED] Load GraphQL documents
[SUCCESS] Load GraphQL documents
[STARTED] Generate
[SUCCESS] Generate
[SUCCESS] Generate to src/graphql/__generated/gql/
[SUCCESS] Generate outputs
Parcel watcher not found. To use this feature, please make sure to provide @parcel/watcher as a peer dependency.
NX Successfully ran target graphql for project webapp-api-client
NX Successfully ran target graphql for project
7275
webapp
Warning: command "pnpm vite" exited with non-zero status code
————————————————————————————————————————————————————————————————————————————————————————————————————
NX Ran target start:app for project webapp and 1 task(s) they depend on (8s)
Describe the bug
There was a recent pr merged with vite package bump.
It is causing error when trying to start frontend.
Steps to reproduce
1.Checkout the latest code
2.Run
pnpm nx start webapp
orpnpm saas up
System Info
Logs
NX Falling back to ts-node for local typescript execution. This may be a little slower.
node:internal/modules/cjs/loader:1247
throw err;
^
Error: Cannot find module '/home/sk/novado-saas/saas-boilerplate/node_modules/.pnpm/vite@5.4.14_@types+node@22.13.1_less@4.1.3_sass@1.84.0_stylus@0.59.0_terser@5.38.1/node_modules/vite/bin/vite.js'
at Function._resolveFilename (node:internal/modules/cjs/loader:1244:15)
at Function._load (node:internal/modules/cjs/loader:1070:27)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:170:5)
at node:internal/main/run_main_module:36:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v22.13.1
(node:469537) [DEP0040] DeprecationWarning: The
punycode
module is deprecated. Please use a userland alternative instead.(Use
node --trace-deprecation ...
to show where the warning was created)[STARTED] Parse Configuration
[SUCCESS] Parse Configuration
[STARTED] Generate outputs
[STARTED] Generate to src/graphql/__generated/gql/
[STARTED] Load GraphQL schemas
[SUCCESS] Load GraphQL schemas
[STARTED] Load GraphQL documents
[SUCCESS] Load GraphQL documents
[STARTED] Generate
[SUCCESS] Generate
[SUCCESS] Generate to src/graphql/__generated/gql/
[SUCCESS] Generate outputs
Parcel watcher not found. To use this feature, please make sure to provide @parcel/watcher as a peer dependency.
NX Successfully ran target graphql for project webapp-api-client
NX Successfully ran target graphql for project 7275 webapp
Warning: command "pnpm vite" exited with non-zero status code
————————————————————————————————————————————————————————————————————————————————————————————————————
NX Ran target start:app for project webapp and 1 task(s) they depend on (8s)
✖ 1/2 failed
✔ 1/2 succeeded [1 read from cache]
ELIFECYCLE Command failed with exit code 1.
————————————————————————————————————————————————————————————————————————————————————————————————————
NX Running target start for project webapp failed
Failed tasks:
Validations
The text was updated successfully, but these errors were encountered: