Internal package not found when running Prisma seed script #7523
Unanswered
unclejustin
asked this question in
Help
Replies: 1 comment
-
Please provide a reproduction. |
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
-
Summary
I have a Prisma seed script that references an internal package. When I try to transpile with
tsc
or run directly withtsx
it throws this error: "Cannot find module 'internal-package' or its corresponding type declarations."Side note: VSCode does not complain about the package.
I set up the internal package as per the internal package docs.
No tsconfig file.
package.json
set up like below.Prisma seed tries to reference the package like
import { something } from 'internal-package'
Additional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions