-
Notifications
You must be signed in to change notification settings - Fork 9
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
ENOENT when trying to use generated functions with Jest #17
Comments
Have you resolved it ? |
Any resolution on this ? |
I'm experiencing the same issue |
I tried adding a dummy file there but it did not work out for me. module.exports = {}; seems like some build artifact is missing? |
Hi all, I've solved the problem here #25 |
Is there any workaround for this? I'd really love to use this package! |
Unfortunately there aren't any workaround.... |
I actually found a working solution for me. Just move the generated output to a local directory.
I still have a problem because the path to the client is not escaped for Windws OS but that's a different issue |
Hey there,
Thanks for the work on this package - looks great! 😁
Any chance you'd know why Jest is struggling to find the generated
index.js
? I get the following error:ENOENT: no such file or directory, open '/{path to code}/node_modules/prisma-factory/dist/generated.js'
Example of my code:
I've checked that the generated code is there inside
node_modules
– not sure if this is an issue with my jest/typescript config or a package issue?Thanks again
The text was updated successfully, but these errors were encountered: