Skip to content

Instantly share code, notes, and snippets.

@brianray
Last active November 12, 2017 15:55
Show Gist options
  • Save brianray/8432fe55a6b98328dd6d20ea3197d8ea to your computer and use it in GitHub Desktop.
Save brianray/8432fe55a6b98328dd6d20ea3197d8ea to your computer and use it in GitHub Desktop.
(py3k) USATLBRRAYMB:ER_admission brray$ jupyter labextension uninstall @jupyterlab/google-drive
No labextension named "@jupyterlab/google-drive" installed
(py3k) USATLBRRAYMB:ER_admission brray$ jupyter labextension install @jupyterlab/google-drive
> node node-version-check.js
> npm pack @jupyterlab/google-drive
jupyterlab-google-drive-0.8.0.tgz
> node node-version-check.js
> npm install
WARN engine [email protected]: wanted: {"node":">=4.3.0 <5.0.0 || >=5.10"} (current: {"node":"4.2.6","npm":"2.14.12"})
npm WARN peerDependencies The peer dependency react@^15.6.1 included from @nteract/transform-vdom will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency react@^15.0.0 included from react-json-tree will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency react-dom@^15.0.0 included from react-json-tree will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
WARN engine [email protected]: wanted: {"node":">=4.5.0"} (current: {"node":"4.2.6","npm":"2.14.12"})
WARN engine [email protected]: wanted: {"node":">=4.3.0 <5.0.0 || >=5.10"} (current: {"node":"4.2.6","npm":"2.14.12"})
WARN engine [email protected]: wanted: {"node":">=4.3.0 <5.0.0 || >=5.10"} (current: {"node":"4.2.6","npm":"2.14.12"})
> [email protected] postinstall /Users/brray/anaconda2/anaconda/envs/py3k/share/jupyter/lab/staging/node_modules/@jupyterlab/vega2-extension/node_modules/vega/node_modules/datalib/node_modules/sync-request/node_modules/spawn-sync
> node postinstall
WARN engine [email protected]: wanted: {"node":">=4.5.0"} (current: {"node":"4.2.6","npm":"2.14.12"})
\
> [email protected] postinstall /Users/brray/anaconda2/anaconda/envs/py3k/share/jupyter/lab/staging/node_modules/@jupyterlab/vega2-extension/node_modules/vega-lite/node_modules/datalib/node_modules/sync-request/node_modules/spawn-sync
> node postinstall
npm ERR! Darwin 15.6.0
npm ERR! argv "/Users/brray/anaconda/bin/node" "/Users/brray/anaconda/bin/npm" "install"
npm ERR! node v4.2.6
npm ERR! npm v2.14.12
npm ERR! code EPEERINVALID
npm ERR! peerinvalid The package [email protected] does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants react@^16.0.0-beta.5
npm ERR! peerinvalid Peer [email protected] wants react@^0.14.0 || ^15.0.0 || ^16.0.0
npm ERR! peerinvalid Peer [email protected] wants react@^15.0.0
npm ERR! Please include the following file with any support request:
npm ERR! /Users/brray/anaconda2/anaconda/envs/py3k/share/jupyter/lab/staging/npm-debug.log
> npm run clean
> @jupyterlab/[email protected] clean /Users/brray/anaconda2/anaconda/envs/py3k/share/jupyter/lab/staging
> rimraf build
> npm run build:prod
> @jupyterlab/[email protected] build:prod /Users/brray/anaconda2/anaconda/envs/py3k/share/jupyter/lab/staging
> webpack --define process.env.NODE_ENV="'production'"
Hash: 4028850444a1e94e5f74
Version: webpack 2.7.0
Time: 13490ms
Asset Size Chunks Chunk Names
d56f3e79da8724878d9c41502956bcd1.png 42.9 kB [emitted]
b1efea7ab3eceaa05d36173c0bcd54fe.png 3.04 kB [emitted]
0.bundle.js 890 kB 0 [emitted] [big]
main.bundle.js 12.8 MB 1 [emitted] [big] main
0.bundle.js.map 1.08 MB 0 [emitted]
main.bundle.js.map 15.6 MB 1 [emitted] main
[20] ./~/@jupyterlab/application/lib/index.js 5.66 kB {1} [built]
[649] ./~/@jupyterlab/launcher-extension/lib/index.js 2.63 kB {1} [optional] [built]
[651] ./~/@jupyterlab/notebook-extension/lib/index.js 39.9 kB {1} [optional] [built]
[652] ./~/@jupyterlab/pdf-extension/lib/index.js 4.98 kB {1} [optional] [built]
[653] ./~/@jupyterlab/running-extension/lib/index.js 1.7 kB {1} [optional] [built]
[654] ./~/@jupyterlab/settingeditor-extension/lib/index.js 2.67 kB {1} [optional] [built]
[655] ./~/@jupyterlab/shortcuts-extension/lib/index.js 3.75 kB {1} [optional] [built]
[656] ./~/@jupyterlab/tabmanager-extension/lib/index.js 1.8 kB {1} [optional] [built]
[657] ./~/@jupyterlab/terminal-extension/lib/index.js 7.33 kB {1} [optional] [built]
[658] ./~/@jupyterlab/theme-dark-extension/lib/index.js 800 bytes {1} [optional] [built]
[659] ./~/@jupyterlab/theme-light-extension/lib/index.js 804 bytes {1} [optional] [built]
[660] ./~/@jupyterlab/tooltip-extension/lib/index.js 5.61 kB {1} [optional] [built]
[661] ./~/@jupyterlab/vdom-extension/lib/index.js 2.97 kB {1} [optional] [built]
[662] ./~/@jupyterlab/vega2-extension/lib/index.js 6.19 kB {1} [optional] [built]
[1926] ./build/index.out.js 37.5 kB {1} [built]
+ 2246 hidden modules
ERROR in ./build/index.out.js
Module not found: Error: Can't resolve 'es6-promise/auto' in '/Users/brray/anaconda2/anaconda/envs/py3k/share/jupyter/lab/staging/build'
@ ./build/index.out.js 1:0-27
ERROR in ./build/index.out.js
Module not found: Error: Can't resolve 'font-awesome/css/font-awesome.min.css' in '/Users/brray/anaconda2/anaconda/envs/py3k/share/jupyter/lab/staging/build'
@ ./build/index.out.js 7:0-48
ERROR in ./~/@jupyterlab/vdom-extension/~/@nteract/transform-vdom/lib/index.js
Module not found: Error: Can't resolve 'lodash/cloneDeep' in '/Users/brray/anaconda2/anaconda/envs/py3k/share/jupyter/lab/staging/node_modules/@jupyterlab/vdom-extension/node_modules/@nteract/transform-vdom/lib'
@ ./~/@jupyterlab/vdom-extension/~/@nteract/transform-vdom/lib/index.js 7:18-45
@ ./~/@jupyterlab/vdom-extension/lib/index.js
@ ./build/index.out.js
npm ERR! Darwin 15.6.0
npm ERR! argv "/Users/brray/anaconda/bin/node" "/Users/brray/anaconda/bin/npm" "run" "build:prod"
npm ERR! node v4.2.6
npm ERR! npm v2.14.12
npm ERR! code ELIFECYCLE
npm ERR! @jupyterlab/[email protected] build:prod: `webpack --define process.env.NODE_ENV="'production'"`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the @jupyterlab/[email protected] build:prod script 'webpack --define process.env.NODE_ENV="'production'"'.
npm ERR! This is most likely a problem with the @jupyterlab/application-top package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! webpack --define process.env.NODE_ENV="'production'"
npm ERR! You can get their info via:
npm ERR! npm owner ls @jupyterlab/application-top
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/brray/anaconda2/anaconda/envs/py3k/share/jupyter/lab/staging/npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/Users/brray/anaconda/bin/node',
1 verbose cli '/Users/brray/anaconda/bin/npm',
1 verbose cli 'run',
1 verbose cli 'build:prod' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prebuild:prod', 'build:prod', 'postbuild:prod' ]
5 info prebuild:prod @jupyterlab/[email protected]
6 info build:prod @jupyterlab/[email protected]
7 verbose unsafe-perm in lifecycle true
8 info @jupyterlab/[email protected] Failed to exec build:prod script
9 verbose stack Error: @jupyterlab/[email protected] build:prod: `webpack --define process.env.NODE_ENV="'production'"`
9 verbose stack Exit status 2
9 verbose stack at EventEmitter.<anonymous> (/Users/brray/anaconda/lib/node_modules/npm/lib/utils/lifecycle.js:214:16)
9 verbose stack at emitTwo (events.js:87:13)
9 verbose stack at EventEmitter.emit (events.js:172:7)
9 verbose stack at ChildProcess.<anonymous> (/Users/brray/anaconda/lib/node_modules/npm/lib/utils/spawn.js:24:14)
9 verbose stack at emitTwo (events.js:87:13)
9 verbose stack at ChildProcess.emit (events.js:172:7)
9 verbose stack at maybeClose (internal/child_process.js:821:16)
9 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
10 verbose pkgid @jupyterlab/[email protected]
11 verbose cwd /Users/brray/anaconda2/anaconda/envs/py3k/share/jupyter/lab/staging
12 error Darwin 15.6.0
13 error argv "/Users/brray/anaconda/bin/node" "/Users/brray/anaconda/bin/npm" "run" "build:prod"
14 error node v4.2.6
15 error npm v2.14.12
16 error code ELIFECYCLE
17 error @jupyterlab/[email protected] build:prod: `webpack --define process.env.NODE_ENV="'production'"`
17 error Exit status 2
18 error Failed at the @jupyterlab/[email protected] build:prod script 'webpack --define process.env.NODE_ENV="'production'"'.
18 error This is most likely a problem with the @jupyterlab/application-top package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error webpack --define process.env.NODE_ENV="'production'"
18 error You can get their info via:
18 error npm owner ls @jupyterlab/application-top
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment