React-Starterify Project在Windows电脑上,babel无法正常工作

我刚刚开始学习如何使用React框架,并且一直关注YouTube上的LevelUpTuts频道。 在他们的React播放列表的video7中,他们使用了这个(我猜是样板)的项目叫做React-Starterify。 他让它看起来很容易安装在他的Mac上,但是我在窗户上,它正在变成一个完整的噩梦。 这是该项目: https : //github.com/Granze/react-starterify

我已经按照确切的步骤,但是当我做整个“npm跑表”。

> react-starterify@2.1.3 watch K:\IT Projects\ReactTutes\MailingList\react-starterify-2.1.4 > gulp watch [13:40:11] Requiring external module babel-core/register K:\IT Projects\ReactTutes\MailingList\react-starterify-2.1.4\gulpfile.babel.js:108 var opts = Object.assign({}, _watchify2.default.args, customOpts); ^ TypeError: undefined is not a function at Object.<anonymous> (gulpfile.babel.js:39:21) at Module._compile (module.js:460:26) at loader (K:\IT Projects\ReactTutes\MailingList\react-starterify-2.1.4\node_modules\babel-core\node_modules\babel-register\lib\node.js:130:5) at Object.require.extensions.(anonymous function) [as .js] (K:\IT Projects\ReactTutes\MailingList\react-starterify-2.1.4\node_modules\babe l-core\node_modules\babel-register\lib\node.js:140:7) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Module.require (module.js:365:17) at require (module.js:384:17) at Liftoff.handleArguments (K:\IT Projects\ReactTutes\MailingList\react-starterify-2.1.4\node_modules\gulp\bin\gulp.js:116:3) at Liftoff.<anonymous> (K:\IT Projects\ReactTutes\MailingList\react-starterify-2.1.4\node_modules\gulp\node_modules\liftoff\index.js:192:16) npm ERR! Windows_NT 6.3.9600 npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "watch" npm ERR! node v0.12.2 npm ERR! npm v2.7.4 npm ERR! code ELIFECYCLE npm ERR! react-starterify@2.1.3 watch: `gulp watch` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the react-starterify@2.1.3 watch script 'gulp watch'. npm ERR! This is most likely a problem with the react-starterify package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! gulp watch npm ERR! You can get their info via: npm ERR! npm owner ls react-starterify npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! K:\IT Projects\ReactTutes\MailingList\react-starterify-2.1.4\npm-debug.log 

我尝试更新吞咽和巴贝尔,有相同的结果。 Gulp CLI和本地版本是3.9.0。

我看起来像是在抱怨Windows的东西。 有没有人有幸得到他们的Windows机器与该项目的工作?

如果没有,任何人都可以为React推荐另一个初学者项目,对于初学者?

我还没有使用react-starterify,但是我使用了一个名为http://www.overreact.io/的站点。它允许你绘制你的组件,然后下载所有的初始文件,包括一个服务器/ gulp。 我知道的Windows,你将不得不下载压缩文件,因为npm包现在不工作,但我已经使用了拉链,它的工作原理。 希望有所帮助!