Skip to content

Throw Err node:internal/modules/cjs/loader:998 Error: Cannot find module examples/browser/src-gen/backend/main.js #11947

Answered by msujew
jittygitty asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @jittygitty,

I'm not sure what your setup is, but depending on how your set up your project, you might need to run yarn build before yarn start. yarn install will usually just install dependencies and not really build your project.

Edit: I just saw that you're trying to build our examples and not your own project. Our repo definitely requires to run yarn build before yarn start.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by msujew
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #11946 on December 03, 2022 01:24.