navi icon indicating copy to clipboard operation
navi copied to clipboard

Fail to build using navi-script build

Open tom555my opened this issue 6 years ago • 1 comments

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!

tom555my avatar Jan 21 '20 05:01 tom555my

Same problem here @jamesknelson

EDIT: looks like navigation.getSteadyValue should be navigation.getRoute now! https://github.com/frontarm/navi/commit/5a87acd0b7d4d43c4c4aae7315474bf794fdfb8a

nickjanssen avatar Jan 23 '20 22:01 nickjanssen