我只是做了一个npm update新的包版本.这打破了我的身材,留下我无法使用默认updateSchema.js的https://github.com/relayjs/relay-starter-kit/blob/master/scripts/updateSchema.js.
如果有人已经处理过这个问题,如果你能分享你的解决方案,我们将不胜感激.
我知道在新的Babel 6版本(https://gist.github.com/hzoo/7e78b12d99e326f2e04f)中删除了一些选项.npm-debug.log文件如下所示:
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'update' ]
2 info using npm@2.14.12
3 info using node@v4.2.4
4 verbose run-script [ 'preupdate', 'update', 'postupdate' ]
5 info preupdate bifrost@1.0.0
6 info update bifrost@1.0.0
7 verbose unsafe-perm in lifecycle true
8 info bifrost@1.0.0 Failed to exec update script …Run Code Online (Sandbox Code Playgroud)