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

Fail to build using navi-script build #169

Open
tom555my opened this issue Jan 21, 2020 · 1 comment
Open

Fail to build using navi-script build #169

tom555my opened this issue Jan 21, 2020 · 1 comment

Comments

@tom555my
Copy link

I started the project using create-react-navi-app. When I run yarn build, I got the following result:

navi-scripts: No config file found, using default config.
Using create-react-app renderer...
[html]     index.html
[ohshit] An error occured while building your app
navigation.getSteadyValue is not a function
TypeError: navigation.getSteadyValue is not a function
    at renderPageToString (/Volumes/Extreme SSD/Project/ca-admin-portal/node_modules/react-navi/create-react-app.js:49:32)
    at build (/Volumes/Extreme SSD/Project/ca-admin-portal/node_modules/navi-scripts/lib/build.js:56:26)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Please help me T_T Many thanks!

@nickjanssen
Copy link
Contributor

nickjanssen commented Jan 23, 2020

Same problem here @jamesknelson

EDIT: looks like navigation.getSteadyValue should be navigation.getRoute now!
5a87acd

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