Open Manoharvuradi opened 1 month ago
@Manoharvuradi
Have you created the file at ./playroom/snippets.js
? If you don't plan to use snippets, or just haven't created that file yet, you can either create it and populate it with some snippets, or remove the snippets
property from your playroom config. That should make the error go away.
I have created ./playroom/snippets.js
outside of src
folder yet i'm getting the issue
node:internal/modules/cjs/loader:1077 const err = new Error(message); ^
Error: Cannot find module 'ajv/dist/compile/codegen' Require stack:
Node.js v18.17.1
@Manoharvuradi
This error doesn't look to be directly related to playroom. It could be a symptom of something else in your setup. A minimal reproduction would be much appreciated, be it a github repo or a stackblitz/codesandbox link.
After setting up the project when i run the server i got the issue.
node:internal/modules/cjs/loader:1077 const err = new Error(message); ^
Error: Cannot find module './playroom/snippets.js' Require stack:
Node.js v18.17.1