Skip to content

Instantly share code, notes, and snippets.

@bwinton
Created April 6, 2017 14:56
Show Gist options
  • Save bwinton/55601907e6810bceae5fedbf2429805f to your computer and use it in GitHub Desktop.
Save bwinton/55601907e6810bceae5fedbf2429805f to your computer and use it in GitHub Desktop.
Problems running Tofino on Windows.
> [email protected] dev+logging C:\Users\bwinton\Programming\tofino
> cross-env NODE_ENV=development LOGGING=on gulp build+start --obj-dir-name development
[10:54:49] Requiring external module babel-register
[10:54:52] Using gulpfile ~\Programming\tofino\gulpfile.babel.js
[10:54:52] Starting 'build+start'...
[10:54:52] Starting 'build'...
[10:54:52] Starting 'build:write-build-type'...
[10:54:52] Creating build-type
[10:54:52] Creating 1 item
[10:54:52] Finished 'build:write-build-type' after 18 ms
[10:54:52] Starting 'browser-shared:build'...
[10:54:52] Starting 'browser-shared:babel'...
[10:54:52] Running babel 0 items
[10:54:52] Finished 'browser-shared:babel' after 46 ms
[10:54:52] Finished 'browser-shared:build' after 46 ms
[10:54:52] Starting 'browser-runner:build'...
[10:54:52] Starting 'browser-runner:babel'...
[10:54:52] Running babel 0 items
[10:54:52] Finished 'browser-runner:babel' after 10 ms
[10:54:52] Starting 'electron-runner:polyfill'...
[10:54:52] Creating browser-runner-electron-polyfill.js
[10:54:52] Creating 1 item
[10:54:52] Finished 'electron-runner:polyfill' after 41 ms
[10:54:52] Starting 'dummy-runner:polyfill'...
[10:54:52] Creating browser-runner-dummy-polyfill.js
[10:54:52] Creating 1 item
[10:54:52] Finished 'dummy-runner:polyfill' after 19 ms
[10:54:52] Finished 'browser-runner:build' after 71 ms
[10:54:52] Starting 'browser-server:build'...
[10:54:52] Starting 'browser-server:babel'...
[10:54:52] Running babel 0 items
[10:54:52] Finished 'browser-server:babel' after 19 ms
[10:54:52] Starting 'browser-server:polyfill'...
[10:54:52] Creating browser-server-polyfill.js
[10:54:52] Creating 1 item
[10:54:52] Finished 'browser-server:polyfill' after 16 ms
[10:54:52] Finished 'browser-server:build' after 39 ms
[10:54:52] Starting 'browser-frontend:build'...
[10:54:52] Starting 'browser-frontend:copy-html'...
[10:54:52] Running cp 0 items
[10:54:52] Finished 'browser-frontend:copy-html' after 10 ms
[10:54:52] Starting 'browser-frontend:webpack'...
[10:54:52] Running webpack src\browser-frontend\index.jsx
[10:54:52] Running webpack 1 item
[10:55:00:007] BUILD SCRIPTS Hash: 863c49f49acec9c5205b
Version: webpack 2.2.1
Time: 7575ms
Asset Size Chunks   Chunk Names
index.js 9.8 MB 0 [emitted] [big] main
[10:55:01] Finished 'browser-frontend:webpack' after 8.89 s
[10:55:01] Finished 'browser-frontend:build' after 8.9 s
[10:55:01] Finished 'build' after 9.08 s
[10:55:01] Starting 'start'...
[10:55:03:635] BUILD SCRIPTS Spawning electron C:\Users\bwinton\Programming\tofino\lib\development\browser-runner\browser-runner-electron-polyfill.js --use-external-server --version v1 --hostname localhost --port 9000
[10:55:03:647] BUILD SCRIPTS Spawning node C:\Users\bwinton\Programming\tofino\lib\development\browser-server\browser-server-polyfill.js --use-external-server --version v1 --hostname localhost --port 9000
[10:55:03] 'start' errored after 2.45 s
[10:55:03] Error: spawn electron ENOENT
at exports._errnoException (util.js:1029:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
at onErrorNT (internal/child_process.js:367:16)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickDomainCallback (internal/process/next_tick.js:128:9)
[10:55:03] 'build+start' errored after 12 s
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "dev+logging"
npm ERR! node v7.7.0
npm ERR! npm v4.1.2
npm ERR! code ELIFECYCLE
npm ERR! [email protected] dev+logging: `cross-env NODE_ENV=development LOGGING=on gulp build+start --obj-dir-name development`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev+logging script 'cross-env NODE_ENV=development LOGGING=on gulp build+start --obj-dir-name development'.
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 BFGBrowser package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cross-env NODE_ENV=development LOGGING=on gulp build+start --obj-dir-name development
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs BFGBrowser
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls BFGBrowser
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\bwinton\Programming\tofino\npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment