Open johndatserakis opened 1 year ago
While the issue still remains, the following is a way to at least silence the warnings. In your webpack config, use something like this:
config.ignoreWarnings = [
...config.ignoreWarnings,
{ module: /node_modules\/@anatine\/zod-mock\// },
];
This worked for me as a temporary solution.
Hi there. When using
zod-mock
in my project, I am getting the following warnings in the console. (I have@anatine/zod-mock
3.13.2
installed.)I traced one of these back and see the issue - the sources path is relative and points to a location that doesn't exist. See attached screenshots.
Because of the path, the location tries to reach into my actual project to resolve the path, which is incorrect.
I looked in the Nx repo and found a few people mentioning similar issues. I assume this is an NX setting that can be tweaked somewhere.
Potentially related Nx issues: