-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
prisma/seed.js generated with invalid module access #175
Labels
duplicate
This issue or pull request already exists
Comments
Duplicate of #164 |
@machour yup it is, thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of Remix are you using?
1.7.5
Steps to Reproduce
npx @remix-run/dev create project-name
then fix package.json
"prisma": { "seed": "node prisma/seed.js" }
by dropping--require tsconfig-paths/register
as this is a JavaScript not a TS projectExpected Behavior
it should work
Actual Behavior
the generated module code is:
but the
.default
appears incorrect, as it isundefined
, the following change makes it workThe text was updated successfully, but these errors were encountered: