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
Describe the bug
When Local DB with Docker is chosen for Database setup, I get the error, Error: Cannot find module 'D:\Code\100x\daily-code-main\node_modules\node_modules\prisma\build\index.js'
Since this error comes after Migrating DB log, this means it is produced by npx prisma migrate dev command.
Possible Solutions Tried:
Deleting node_modules
Reinstalling node js
To Reproduce
Steps to reproduce the behavior:
I am using Windows Machine
run ./setupDB.sh command inside Git Bash in rootDir/packages/db directory
Select Local DB with Docker Setup as config
An error saying Error: Cannot find module 'D:\Code\100x\daily-code-main\node_modules\node_modules\prisma\build\index.js' pops up.
Expected behavior
The project should run locally at the expected port.
rakeshs51
changed the title
bug: ./setupDB.sh script gives MODULE_NOT_FOUND error when Local Docker setup is chosen
bug: ./setupDB.sh script in Git Bash gives MODULE_NOT_FOUND error when Local Docker setup is chosen in Windows
May 5, 2024
Describe the bug
When Local DB with Docker is chosen for Database setup, I get the error,
Error: Cannot find module 'D:\Code\100x\daily-code-main\node_modules\node_modules\prisma\build\index.js'
Since this error comes after Migrating DB log, this means it is produced by
npx prisma migrate dev
command.Possible Solutions Tried:
To Reproduce
Steps to reproduce the behavior:
Error: Cannot find module 'D:\Code\100x\daily-code-main\node_modules\node_modules\prisma\build\index.js'
pops up.Expected behavior
The project should run locally at the expected port.
Screenshots or GIFs
Info (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: