Unable to build draft-js examples
See original GitHub issueTrying to build draft-js examples… in Ubuntu 14 with nodev4.2.6 got this error while build
draft-js@0.10.0 build /home/ubuntu/draft-js-0.10-stable gulp
[11:09:11] Using gulpfile ~/draft-js-0.10-stable/gulpfile.js [11:09:11] Starting ‘default’… [11:09:11] Starting ‘check-dependencies’… [11:09:15] ‘check-dependencies’ errored after 3.5 s [11:09:15] Error in plugin ‘check-dependencies’ Message: npm broke [11:09:15] ‘default’ errored after 3.5 s [11:09:15] Error in plugin ‘run-sequence(check-dependencies)’ Error at finish (/home/ubuntu/draft-js-0.10-stable/node_modules/run-sequence/index.js:56:13) at Gulp.onError (/home/ubuntu/draft-js-0.10-stable/node_modules/run-sequence/index.js:67:4) at emitOne (events.js:82:20) at Gulp.emit (events.js:169:7) at Gulp.Orchestrator._emitTaskDone (/home/ubuntu/draft-js-0.10-stable/node_modules/orchestrator/index.js:264:8) at /home/ubuntu/draft-js-0.10-stable/node_modules/orchestrator/index.js:275:23 at finish (/home/ubuntu/draft-js-0.10-stable/node_modules/orchestrator/lib/runTask.js:21:8) at DestroyableTransform.<anonymous> (/home/ubuntu/draft-js-0.10-stable/node_modules/orchestrator/lib/runTask.js:52:4) at DestroyableTransform.f (/home/ubuntu/draft-js-0.10-stable/node_modules/end-of-stream/node_modules/once/once.js:17:25) at emitOne (events.js:82:20)
npm ERR! Linux 3.13.0-106-generic
npm ERR! argv “/home/ubuntu/node-v4.2.6-linux-x64/bin/node” “/usr/local/bin/npm” “run” “build”
npm ERR! node v4.2.6
npm ERR! npm v4.0.5
npm ERR! code ELIFECYCLE
npm ERR! draft-js@0.10.0 build: gulp
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the draft-js@0.10.0 build script ‘gulp’.
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 draft-js package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! gulp
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs draft-js
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR! npm owner ls draft-js
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request: npm ERR! /home/ubuntu/draft-js-0.10-stable/npm-debug.log
Issue Analytics
- State:
- Created 7 years ago
- Reactions:17
- Comments:13 (1 by maintainers)
Top GitHub Comments
Build failed with node version 6.9.1 and npm 4.1.1. Downgrade npm to version
3.10.10
and get working now.Notice
devEngines
specified inpackage.json
as follows:I downgrade npm every time I need to build a new version of draft-js. Nice job, FB.