-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
navi-scripts build just stopped working #83
Comments
Hmm... there's nothing obvious that I can think of. As long as you're calling |
Only difference is that I'm running the TS flavour of CRA so i have an |
I've just taken another look into this and I got it working again by returning the result of the
I also had to amend the
I assume those config options being passed to Any thoughts or feedback would be great! |
Thanks for getting back to me on this – it really shouldn't be necessary to do it that way. Part of me wonders if maybe you're using mismatching versions of navi-scripts and navi. Could you let me know what versions are in node_modules? Also, iirc the |
Okay good to know. Yeah the styles aren't working, but thats okay. I'm not in desperate need for a fix but it would be nice to get this wrapped up soon :) Yesterday I upgraded |
I encountered this issue with |
why is this issue closed, I still find that this happens in 0.13.6 :( even after making sure the releases match for react-navi and navi-scripts |
Okay, I’ve reopened this. Could someone who is having this issue create a reproduction repo for me to look to? Long term, I think the best solution is going to be to move away from loading the CRA output with jsdom. It’s a huge hack and maintenance is going to be a PITA. Instead, it should be possible to use universal-react-scripts as a drop-in replacement for react-scripts that creates a node bundle in addition to the web bundle. That should remove a lot of the hacks from navi-scripts, and help to avoid these kind of bugs in the future. |
hi @jamesknelson , npm version: 6.11.2 I am willing to look into this as well, I tried to debug it but it doesn't help that I couldn't make it work first :( |
hello! @jamesknelson I edited createScriptRunner.js to run Navi project with Node.js v16. This works fine in my environment. npm version:8.1.2 |
I'm not sure what I changed but for some reason now I'm getting
I've read through the docs and double checked everything and I'm still unsure what is giving me this error... Is there anything obvious that I might be missing before I try and replicate it in a fresh repo?
The text was updated successfully, but these errors were encountered: