Open Jaysalasi opened 11 months ago
Hi @Jaysalasi,
It looks to me that instead of starting Re.Pack dev-server you've started metro instead. Please run yarn webpack-start
instead of yarn start
.
I can also see that you're using Windows - please use .cjs
template instead of .mjs
one as that one might cause problem - we are actively working on sorting that out!
Thanks. I changed from.mjs
to .cjs
and then I run yarn webpack-start
from my root folder and I got this error
$ yarn webpack-start Usage Error: Couldn't find a script named "webpack-start".
$ yarn run [--inspect] [--inspect-brk] [-T,--top-level] [-B,--binaries-only]
so i tried yarn react-native webpack-start
i get this error
it's yarn react-native webpack-start
my bad there :)
@jbroma Thanks… No problem… But I get this error now
make sure to run adb reverse tcp:8081 tcp:8081
or other port that you are using. You can also try to to go into developer menu (on Mac it's CMD + M for android, so I suppose it's something similar for Windows as well) and going into Change Bundle location and entering localhost:8081
there.
@jbroma I restarted my computer and now yarn react-native webpack-start
is not working anymore, but yarn start
is working
that's rather unusual, perhaps try reinstalling your dependencies?
sorry... I was trying it at the root folder.
yarn react-native webpack-start
does not run in the root folder. is that normal?
I get this error now
make sure to run
adb reverse tcp:8081 tcp:8081
or other port that you are using. You can also try to to go into developer menu (on Mac it's CMD + M for android, so I suppose it's something similar for Windows as well) and going into Change Bundle location and enteringlocalhost:8081
there.
try these steps again
I tried adb reverse tcp:8081 tcp:8081
nothing happened.
I am using a real device not a simulator
I want to suggest something.
can you write down the sequence of commands to run starting from the first after git cloning the template. Thanks
Having the same issue while running the Host app.
Also when navigating to mini app from host app having the following issue.
@Jaysalasi If you are able to solve this issue, it will be beneficial if you post the solution for the same.
Having the same issue while running the Host app.
Also when navigating to mini app from host app having the following issue.
@Jaysalasi If you are able to solve this issue, it will be beneficial if you post the solution for the same.
I have same error too
@jbroma I want to suggest something. can you write down the sequence of commands to run starting from the first after git cloning the template. Thanks
Ask your Question
Hi I have done the setup and when I run 'yarn run:host-app:android' i get the error: Property '__webpack_require__' doesn't exist.