Open mraible opened 1 month ago
I was able to fix the Error: EMFILE: too many open files, watch
error with brew install watchman
.
We should copy the server generator from ionic. https://github.com/jhipster/generator-jhipster-ionic/tree/main/generators/server
@mshima It's interesting that this exists because the main generator allows Ionic by default.
@mshima It's interesting that this exists because the main generator allows Ionic by default.
@mraible only for ionic serve
, simulators requires capacitor://localhost
and http://localhot
.
See https://ionicframework.com/docs/troubleshooting/cors
@mshima Yes, you are correct. I'm wondering if we should add React Native's web by default, or remove Ionic and tell folks to add it. I kinda like that everything works when running in "dev" mode.
Describe the bug
If I create a new app with
jhipster jdl bug-tracker.jdl --blueprints react-native
, I cannot log in because of CORS.Maybe it's always been this way? If I look at the last tutorial I wrote about it, the origin was
http://localhost:19006
and you needed to add it. It seems like we should be able to modify CORS as part of the generation process so people have a better developer experience.It also doesn't generate any entities in the React Native client.
There are entities generated in the JHipster app.
I noticed this happens with the Ionic blueprint too. I didn't think anything of it when I saw it earlier, but it appears to be a bug.
I also had to run
npm install
in both generated clients, which doesn't follow the main generator's process of installing everything by default.Instructions To reproduce
If I try with the following (after running
npm link
in the project):It get a different error and
npm start
doesn't work when choosing thew
option:JHipster app's
.yo-rc.json
Entity JDL or JSON files
Versions (please complete the following information):
main