Skip to content

Instantly share code, notes, and snippets.

@Carreau
Created July 8, 2016 22:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Carreau/3e8823c227d83293eed83d8df08bf98a to your computer and use it in GitHub Desktop.
Save Carreau/3e8823c227d83293eed83d8df08bf98a to your computer and use it in GitHub Desktop.
> webpack --config webpack.conf.js
ModuleNotFoundError: Module not found: Error: Cannot resolve module 'jquery-ui/themes/smoothness/jquery-ui.min.css' in /Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/jupyterlab/lib/widgets
at /Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/webpack/lib/Compilation.js:229:38
at onDoneResolving (/Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/webpack/lib/NormalModuleFactory.js:29:20)
at /Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/webpack/lib/NormalModuleFactory.js:85:20
at /Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/async/lib/async.js:726:13
at /Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/async/lib/async.js:52:16
at done (/Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/async/lib/async.js:241:17)
at /Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/async/lib/async.js:44:16
at /Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/async/lib/async.js:723:17
at /Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/async/lib/async.js:167:37
at /Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js:24:19
at onResolved (/Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/enhanced-resolve/lib/Resolver.js:38:18)
at innerCallback (/Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/enhanced-resolve/lib/Resolver.js:94:11)
at loggingCallbackWrapper (/Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/enhanced-resolve/lib/createInnerCallback.js:21:19)
at /Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/tapable/lib/Tapable.js:134:6
at /Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/enhanced-resolve/lib/ModulesInDirectoriesPlugin.js:54:23
at /Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/enhanced-resolve/lib/Resolver.js:191:15
at /Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/enhanced-resolve/lib/ModulesInDirectoriesPlugin.js:45:26
at loggingCallbackWrapper (/Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/enhanced-resolve/lib/createInnerCallback.js:21:19)
at /Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/tapable/lib/Tapable.js:134:6
at /Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/enhanced-resolve/lib/Resolver.js:122:33
at /Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/enhanced-resolve/lib/Resolver.js:191:15
at applyPluginsParallelBailResult.createInnerCallback.log (/Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/enhanced-resolve/lib/Resolver.js:110:4)
at loggingCallbackWrapper (/Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/enhanced-resolve/lib/createInnerCallback.js:21:19)
at /Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/tapable/lib/Tapable.js:134:6
at Tapable.<anonymous> (/Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/enhanced-resolve/lib/DirectoryDescriptionFilePlugin.js:24:12)
at Storage.finished (/Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:38:16)
at ReadFileContext.callback (/Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/graceful-fs/graceful-fs.js:78:16)
at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:359:13)
resolve module jquery-ui/themes/smoothness/jquery-ui.min.css in /Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/jupyterlab/lib/widgets
looking for modules in /Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/jupyterlab/node_modules
/Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/jupyterlab/node_modules/jquery-ui doesn't exist (module as directory)
looking for modules in /Users/bussonniermatthias/dev/node_modules
/Users/bussonniermatthias/dev/node_modules/jquery-ui doesn't exist (module as directory)
looking for modules in /Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules
resolve 'file' or 'directory' themes/smoothness/jquery-ui.min.css in /Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/jquery-ui
resolve file
/Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/jquery-ui/themes/smoothness/jquery-ui.min.css doesn't exist
/Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/jquery-ui/themes/smoothness/jquery-ui.min.css.webpack.js doesn't exist
/Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/jquery-ui/themes/smoothness/jquery-ui.min.css.web.js doesn't exist
/Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/jquery-ui/themes/smoothness/jquery-ui.min.css.js doesn't exist
/Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/jquery-ui/themes/smoothness/jquery-ui.min.css.json doesn't exist
resolve directory
/Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/jquery-ui/themes/smoothness/jquery-ui.min.css doesn't exist (directory default file)
/Users/bussonniermatthias/dev/jupyterlab/jupyterlab/node_modules/jquery-ui/themes/smoothness/jquery-ui.min.css/package.json doesn't exist (directory description file)
looking for modules in /Users/bussonniermatthias/dev/jupyterlab/node_modules
resolve 'file' or 'directory' themes/smoothness/jquery-ui.min.css in /Users/bussonniermatthias/dev/jupyterlab/node_modules/jquery-ui
resolve file
/Users/bussonniermatthias/dev/jupyterlab/node_modules/jquery-ui/themes/smoothness/jquery-ui.min.css doesn't exist
/Users/bussonniermatthias/dev/jupyterlab/node_modules/jquery-ui/themes/smoothness/jquery-ui.min.css.webpack.js doesn't exist
/Users/bussonniermatthias/dev/jupyterlab/node_modules/jquery-ui/themes/smoothness/jquery-ui.min.css.web.js doesn't exist
/Users/bussonniermatthias/dev/jupyterlab/node_modules/jquery-ui/themes/smoothness/jquery-ui.min.css.js doesn't exist
/Users/bussonniermatthias/dev/jupyterlab/node_modules/jquery-ui/themes/smoothness/jquery-ui.min.css.json doesn't exist
resolve directory
/Users/bussonniermatthias/dev/jupyterlab/node_modules/jquery-ui/themes/smoothness/jquery-ui.min.css doesn't exist (directory default file)
/Users/bussonniermatthias/dev/jupyterlab/node_modules/jquery-ui/themes/smoothness/jquery-ui.min.css/package.json doesn't exist (directory description file)
npm ERR! Darwin 14.3.0
npm ERR! argv "/usr/local/Cellar/node/6.2.2/bin/node" "/usr/local/bin/npm" "run" "build:extension"
npm ERR! node v6.2.2
npm ERR! npm v3.9.5
npm ERR! code ELIFECYCLE
npm ERR! jupyterlab-extension@0.0.1 build:extension: `webpack --config webpack.conf.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the jupyterlab-extension@0.0.1 build:extension script 'webpack --config webpack.conf.js'.
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 jupyterlab-extension package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! webpack --config webpack.conf.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs jupyterlab-extension
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls jupyterlab-extension
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/bussonniermatthias/dev/jupyterlab/jupyterlab/npm-debug.log
npm ERR! Darwin 14.3.0
npm ERR! argv "/usr/local/Cellar/node/6.2.2/bin/node" "/usr/local/bin/npm" "run" "build"
npm ERR! node v6.2.2
npm ERR! npm v3.9.5
npm ERR! code ELIFECYCLE
npm ERR! jupyterlab-extension@0.0.1 build: `npm run update && npm run build:extension`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the jupyterlab-extension@0.0.1 build script 'npm run update && npm run build:extension'.
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 jupyterlab-extension package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run update && npm run build:extension
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs jupyterlab-extension
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls jupyterlab-extension
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/bussonniermatthias/dev/jupyterlab/jupyterlab/npm-debug.log
npm ERR! Darwin 14.3.0
npm ERR! argv "/usr/local/Cellar/node/6.2.2/bin/node" "/usr/local/bin/npm" "run" "build:serverextension"
npm ERR! node v6.2.2
npm ERR! npm v3.9.5
npm ERR! code ELIFECYCLE
npm ERR! jupyterlab@0.0.10 build:serverextension: `cd jupyterlab && npm run build && cd ..`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the jupyterlab@0.0.10 build:serverextension script 'cd jupyterlab && npm run build && cd ..'.
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 jupyterlab package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cd jupyterlab && npm run build && cd ..
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs jupyterlab
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls jupyterlab
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/bussonniermatthias/dev/jupyterlab/npm-debug.log
/Users/bussonniermatthias/anaconda/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'License'
warnings.warn(msg)
rebuilding js and css failed
missing files: ['/Users/bussonniermatthias/dev/jupyterlab/jupyterlab/build/bundle.js']
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/bussonniermatthias/dev/jupyterlab/setup.py", line 158, in <module>
setup(**setup_args)
File "/Users/bussonniermatthias/anaconda/lib/python3.5/distutils/core.py", line 148, in setup
dist.run_commands()
File "/Users/bussonniermatthias/anaconda/lib/python3.5/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/Users/bussonniermatthias/anaconda/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/Users/bussonniermatthias/dev/jupyterlab/setup.py", line 54, in run
raise e
File "/Users/bussonniermatthias/dev/jupyterlab/setup.py", line 47, in run
self.distribution.run_command('jsdeps')
File "/Users/bussonniermatthias/anaconda/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/Users/bussonniermatthias/dev/jupyterlab/setup.py", line 102, in run
run('npm run build:serverextension')
File "/Users/bussonniermatthias/dev/jupyterlab/setup.py", line 28, in run
check_call(cmd.split(), shell=shell, cwd=cwd, stdout=sys.stdout, stderr=sys.stderr)
File "/Users/bussonniermatthias/anaconda/lib/python3.5/subprocess.py", line 584, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['npm', 'run', 'build:serverextension']' returned non-zero exit status 1
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /Users/bussonniermatthias/dev/jupyterlab/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment