Throw Err node:internal/modules/cjs/loader:998 Error: Cannot find module examples/browser/src-gen/backend/main.js #11947
-
Bug Description:Not SURE if this is related to the TWO years ago issue of #7568 I can not get it to install/run properly: And yes, there's no src-gen folder in there, apparently yarn install did not create it although it finished successfully. Steps to Reproduce:yarn install Additional Information
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hey @jittygitty, I'm not sure what your setup is, but depending on how your set up your project, you might need to run Edit: I just saw that you're trying to build our examples and not your own project. Our repo definitely requires to run |
Beta Was this translation helpful? Give feedback.
-
Oh wow, i feel stupid, thanks! (i think javascript hates me cuz i gave it the cold shoulder "long ago" :( ... |
Beta Was this translation helpful? Give feedback.
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
beforeyarn 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
beforeyarn start
.