-
Notifications
You must be signed in to change notification settings - Fork 185
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
Error: Cannot find module './playroom/snippets.js' #356
Comments
Have you created the file at |
I have created node:internal/modules/cjs/loader:1077 Error: Cannot find module 'ajv/dist/compile/codegen'
Node.js v18.17.1 |
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:
at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
at Function.resolve (node:internal/modules/cjs/helpers:127:19)
at relativeResolve (C:\Users\mahesh\Desktop\opensource\playroom\node_modules\playroom\lib\makeWebpackConfig.js:20:13)
at module.exports (C:\Users\mahesh\Desktop\opensource\playroom\node_modules\playroom\lib\makeWebpackConfig.js:63:13)
at async module.exports (C:\Users\mahesh\Desktop\opensource\playroom\node_modules\playroom\lib\start.js:7:25) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\Users\mahesh\Desktop\opensource\playroom\node_modules\playroom\lib\makeWebpackConfig.js',
'C:\Users\mahesh\Desktop\opensource\playroom\node_modules\playroom\lib\start.js',
'C:\Users\mahesh\Desktop\opensource\playroom\node_modules\playroom\lib\index.js',
'C:\Users\mahesh\Desktop\opensource\playroom\node_modules\playroom\bin\cli.cjs'
]
}
Node.js v18.17.1
The text was updated successfully, but these errors were encountered: