navi
navi copied to clipboard
Fail to build using navi-script build
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!
Same problem here @jamesknelson
EDIT: looks like navigation.getSteadyValue should be navigation.getRoute now!
https://github.com/frontarm/navi/commit/5a87acd0b7d4d43c4c4aae7315474bf794fdfb8a