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
After cloning and instal, I ran the following command with the result:
gesthairhome@mbp-de-patrick nestjs-prisma % cp .env.example .env
gesthairhome@mbp-de-patrick nestjs-prisma % nx run-many -t migrate
✔ nx run prisma-schema-two:migrate (2s)
✔ nx run prisma-schema-one:migrate (2s)
NX Successfully ran target migrate for 2 projects (3s)
gesthairhome@mbp-de-patrick nestjs-prisma % nx serve api
nx run api:serve:development
chunk (runtime: main) main.js (main) 23.5 KiB [entry] [rendered]
webpack compiled successfully (43048f463d3f7801)
Debugger listening on ws://localhost:9229/e3c18e9b-1bc0-40ce-b1d5-76f419c3029c
Debugger listening on ws://localhost:9229/e3c18e9b-1bc0-40ce-b1d5-76f419c3029c
For help, see: https://nodejs.org/en/docs/inspector
Error: Cannot find module '/Users/gesthairhome/Applis/nx-recipes/nestjs-prisma/node_modules/@prisma/client/one'
at createEsmNotFoundErr (node:internal/modules/cjs/loader:1181:15)
at finalizeEsmResolution (node:internal/modules/cjs/loader:1169:15)
at resolveExports (node:internal/modules/cjs/loader:591:14)
at Function.Module._findPath (node:internal/modules/cjs/loader:668:31)
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1130:27)
at Function.Module._load (node:internal/modules/cjs/loader:985:27)
at Function.Module.load (/Users/gesthairhome/Applis/nx-recipes/nestjs-prisma/node_modules/.pnpm/@nx[email protected]@types[email protected][email protected][email protected]/node_modules/@nx/js/src/executors/node/node-with-require-overrides.js:18:31)
at Module.require (node:internal/modules/cjs/loader:1235:19)
at require (node:internal/modules/helpers:176:18)
at Array.Object.defineProperty.value (/Users/gesthairhome/Applis/nx-recipes/nestjs-prisma/dist/apps/api/webpack:/external commonjs "@prisma/client/one":1:1)
NX Process exited with code 1, waiting for changes to restart...
I have check directory '/Users/gesthairhome/Applis/nx-recipes/nestjs-prisma/node_modules/@prisma/client/one' exist
The text was updated successfully, but these errors were encountered:
After cloning and instal, I ran the following command with the result:
gesthairhome@mbp-de-patrick nestjs-prisma % cp .env.example .env
gesthairhome@mbp-de-patrick nestjs-prisma % nx run-many -t migrate
—————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
gesthairhome@mbp-de-patrick nestjs-prisma % nx serve api
chunk (runtime: main) main.js (main) 23.5 KiB [entry] [rendered]
webpack compiled successfully (43048f463d3f7801)
Debugger listening on ws://localhost:9229/e3c18e9b-1bc0-40ce-b1d5-76f419c3029c
Debugger listening on ws://localhost:9229/e3c18e9b-1bc0-40ce-b1d5-76f419c3029c
For help, see: https://nodejs.org/en/docs/inspector
Error: Cannot find module '/Users/gesthairhome/Applis/nx-recipes/nestjs-prisma/node_modules/@prisma/client/one'
at createEsmNotFoundErr (node:internal/modules/cjs/loader:1181:15)
at finalizeEsmResolution (node:internal/modules/cjs/loader:1169:15)
at resolveExports (node:internal/modules/cjs/loader:591:14)
at Function.Module._findPath (node:internal/modules/cjs/loader:668:31)
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1130:27)
at Function.Module._load (node:internal/modules/cjs/loader:985:27)
at Function.Module.load (/Users/gesthairhome/Applis/nx-recipes/nestjs-prisma/node_modules/.pnpm/@nx[email protected]@types[email protected][email protected][email protected]/node_modules/@nx/js/src/executors/node/node-with-require-overrides.js:18:31)
at Module.require (node:internal/modules/cjs/loader:1235:19)
at require (node:internal/modules/helpers:176:18)
at Array.Object.defineProperty.value (/Users/gesthairhome/Applis/nx-recipes/nestjs-prisma/dist/apps/api/webpack:/external commonjs "@prisma/client/one":1:1)
I have check directory '/Users/gesthairhome/Applis/nx-recipes/nestjs-prisma/node_modules/@prisma/client/one' exist
The text was updated successfully, but these errors were encountered: