Tag: 反应路由器

meteormup错误fbjs不变

我使用mup进行部署,一切都很顺利,直到我添加了reactrouter:react-router-ssrmeteor包。 我可以在本地运行它,但是当我部署时出现以下错误: ———————————–STDERR———————————– pproximately three times slower than the native implementation. In order to use the native implementation instead, run meteor npm install –save bcrypt in the root directory of your application. /bundle/bundle/programs/server/node_modules/fibers/future.js:280 throw(ex); ^ Error: Cannot find module 'fbjs/lib/invariant' at Function.Module._resolveFilename (module.js:325:15) at Function.Module._load (module.js:276:25) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Object.<anonymous> (/bundle/bundle/programs/server/npm/node_modules/react/lib/PooledClass.js:14:17) […]