Replies: 2 comments
-
How do i fix this |
Beta Was this translation helpful? Give feedback.
0 replies
-
Sorry you ran into this. Can you provide us with more context? e.g. what commands did you run? How did you get the source onto your computer? What OS are you using? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
2023-09-11 18:00:51 npm verb cli /usr/local/bin/node /usr/local/bin/npm
2023-09-11 18:00:51 npm info using [email protected]
2023-09-11 18:00:51 npm info using [email protected]
2023-09-11 18:00:51 npm verb title npm install
2023-09-11 18:00:51 npm verb argv "install" "--loglevel" "verbose" "--legacy-peer-deps"
2023-09-11 18:00:51 npm verb logfile logs-max:10 dir:/root/.npm/_logs/2023-09-11T17_00_51_566Z-
2023-09-11 18:00:51 npm verb logfile /root/.npm/_logs/2023-09-11T17_00_51_566Z-debug-0.log
2023-09-11 18:00:51 npm verb stack Error: ENOENT: no such file or directory, open '/app/package.json'
2023-09-11 18:00:51 npm verb cwd /app
2023-09-11 18:00:51 npm verb Linux 5.15.90.1-microsoft-standard-WSL2
2023-09-11 18:00:51 npm verb node v18.17.0
2023-09-11 18:00:51 npm verb npm v9.6.7
2023-09-11 18:00:51 npm ERR! code ENOENT
2023-09-11 18:00:51 npm ERR! syscall open
2023-09-11 18:00:51 npm ERR! path /app/package.json
2023-09-11 18:00:51 npm ERR! errno -2
2023-09-11 18:00:51 npm ERR! enoent ENOENT: no such file or directory, open '/app/package.json'
2023-09-11 18:00:51 npm ERR! enoent This is related to npm not being able to find a file.
2023-09-11 18:00:51 npm ERR! enoent
2023-09-11 18:00:51 npm verb exit -2
2023-09-11 18:00:51 npm verb code -2
2023-09-11 18:00:51
2023-09-11 18:00:51 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-09-11T17_00_51_566Z-debug-0.log
2023-09-11 18:00:55 Error: Could not find a schema.prisma file that is required for this command.
2023-09-11 18:00:55 You can either provide it with --schema, set it as
prisma.schema
in your package.json or put it into the default location ./prisma/schema.prisma https://pris.ly/d/prisma-schema-location2023-09-11 18:00:55 npm ERR! code ENOENT
2023-09-11 18:00:55 npm ERR! syscall open
2023-09-11 18:00:55 npm ERR! path /app/package.json
2023-09-11 18:00:55 npm ERR! errno -2
2023-09-11 18:00:55 npm ERR! enoent ENOENT: no such file or directory, open '/app/package.json'
2023-09-11 18:00:55 npm ERR! enoent This is related to npm not being able to find a file.
2023-09-11 18:00:55 npm ERR! enoent
2023-09-11 18:00:55
2023-09-11 18:00:55 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-09-11T17_00_55_638Z-debug-0.log
Beta Was this translation helpful? Give feedback.
All reactions