isomorphic-react-workflow-boilerplate
isomorphic-react-workflow-boilerplate copied to clipboard
开发环境补充
您好,我刚刚使用了你的这个仓库,按照你提示的步骤 install 了依赖之后,发现运行的时候报错:
npm start
> [email protected] start E:\Byronlun\react-ssr\isomorphic-react-workflow-boilerplate
> babel-node ./server/server.js
'babel-node' ▒▒▒▒▒ڲ▒▒▒▒ⲿ▒▒▒Ҳ▒▒▒ǿ▒▒▒▒еij▒▒▒▒▒▒▒▒▒▒▒▒ļ▒▒▒
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\ProgramFiles\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start"
npm ERR! node v6.10.0
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: `babel-node ./server/ server.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script ' babel-node ./server/server.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the isomorphic-react-work flow-boilerplat package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! babel-node ./server/server.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs isomorphic-react-workflow-boilerplat
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls isomorphic-react-workflow-boilerplat
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! E:\Byronlun\react-ssr\isomorphic-react-workflow-boilerplate\npm-debug.log
发现作者是借助 babel-node
来启动项目,然后 babel-node
是依赖于 babel-cli
,需要全局安装 babel-cli
,所以建议作者补充一下 README
哈 :smiley:
You can update my README.md
in "Note" section and new a pull request :heart: