Open hasanalrasyid opened 5 years ago
No, Renative creates a package.json when it cannot find one. The sed in rnv.sh injects some browser-specific stuff to the generated package.json to make ghcjs work.
Did you use 'rnproject' as the project name when Renative asks for it? The directory it creates is supposed to be named 'rnproject': "renative-hs-example-todo/rnproject/package.json: No suc h file or directory". Yes, it would be better if this wasn't required.
I don't know where those NODE warnings come from or whether they are relevant. You possibly have (?) Node installed somewhere globally, and it's possibly getting invoked instead of the Nix one. Making the Nix scripts --pure might help with that kind of things, but it sometimes brings new problems since some stuff is needed from the system (like xcode tools).
Should I provide my own package.json here?
FYI, ./build.sh finished successfully. This is very exciting :dancer: