In the README it says that react-router is optional, but it may not seem to be the case:
$ node
> require('react-engine');
Error: Cannot find module 'react-router' from parent
at module.exports (./node_modules/parent-require/index.js:8:9)
at Object.safeRequire (./node_modules/react-engine/lib/util.js:65:14)
at Object.<anonymous> (./node_modules/react-engine/lib/server.js:34:19)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at Object.<anonymous> (./node_modules/react-engine/index.js:18:18)
I fixed this in my local project by installing react-router. I just wanted to check if this is intended behavior.
In the README it says that
react-router
is optional, but it may not seem to be the case:I fixed this in my local project by installing
react-router
. I just wanted to check if this is intended behavior.