Skip to content
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

build failed on node >= 12 #198

Open
weihao opened this issue Mar 23, 2021 · 1 comment
Open

build failed on node >= 12 #198

weihao opened this issue Mar 23, 2021 · 1 comment

Comments

@weihao
Copy link

weihao commented Mar 23, 2021

Find out more about deployment here:

  https://bit.ly/CRA-deploy

navi-scripts: Using config at C:\Users\forge\Documents\GitHub\navi.config.js
[ohshit] An error occured while building your app
Couldn't find window.NaviScripts - did you call register()?
Error: Couldn't find window.NaviScripts - did you call register()?
    at crawl (C:\Users\forge\Documents\GitHub\node_modules\navi-scripts\lib\crawl.js:22:15)
    at build (C:\Users\forge\Documents\GitHub\node_modules\navi-scripts\lib\build.js:9:32)
    at Command.<anonymous> (C:\Users\forge\Documents\GitHub\node_modules\navi-scripts\bin\navi-scripts.js:89:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I don't know why this is not resolved yet and no one is following up, but I want to bring this issue to the light again:

To reproduce this error just use any node version >= 12 and this error will encounter during the build phase.

Related to:
#92
#83

@mzvast
Copy link

mzvast commented Sep 12, 2021

Same here, need help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants