Skip to content

Instantly share code, notes, and snippets.

@sivabudh
Created May 26, 2017 05:35
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 sivabudh/be617f2607ad1d40040968a93935fea7 to your computer and use it in GitHub Desktop.
Save sivabudh/be617f2607ad1d40040968a93935fea7 to your computer and use it in GitHub Desktop.
npm error
ERROR in [at-loader] ./yaoms/apps/nav-bar/nav-bar.component.ts:43:22
TS2686: '_' refers to a UMD global, but the current file is a module. Consider adding an import instead.
Child html-webpack-plugin for "index.html":
[0] ./~/lodash/lodash.js 540 kB {0} [built]
[] -> factory:90ms building:4052ms = 4142ms
[1] ./~/html-webpack-plugin/lib/loader.js!./yaoms/index.html 2.72 kB {0} [built]
factory:102ms building:29ms = 131ms
[2] (webpack)/buildin/global.js 509 bytes {0} [built]
[] -> factory:161ms building:1082ms = 1243ms
[3] (webpack)/buildin/module.js 517 bytes {0} [built]
[] -> factory:162ms building:1083ms = 1245ms
Child extract-text-webpack-plugin:
[0] ./~/css-loader/lib/css-base.js 2.26 kB {0} [built]
[] -> factory:1ms building:2ms = 3ms
[1] ./~/css-loader!./~/sass-loader/lib/loader.js!./yaoms/styles/_variables.scss 166 bytes {0} [built]
factory:10ms building:10ms = 20ms
Child extract-text-webpack-plugin:
[0] ./~/css-loader/lib/css-base.js 2.26 kB {0} [built]
[] -> factory:5ms building:595ms = 600ms
[1] ./~/primeng/resources/images/line.gif 82 bytes {0} [built]
[] -> factory:11ms building:0ms = 11ms
[2] ./~/primeng/resources/themes/omega/fonts/roboto-v15-latin-regular.eot 82 bytes {0} [built]
[] -> factory:12ms building:1ms = 13ms
[3] ./~/css-loader!./~/primeng/resources/primeng.min.css 59 kB {0} [built]
[] -> factory:12ms building:567ms dependencies:6ms = 585ms
[4] ./~/css-loader!./~/primeng/resources/themes/omega/theme.css 23.4 kB {0} [built]
[] -> factory:142ms building:438ms dependencies:5ms = 585ms
[5] ./~/font-awesome/fonts/fontawesome-webfont.eot 82 bytes {0} [built]
[] -> factory:201ms building:1ms = 202ms
[6] ./~/font-awesome/fonts/fontawesome-webfont.eot?v=4.7.0 82 bytes {0} [built]
[] -> factory:201ms building:1ms = 202ms
[7] ./~/font-awesome/fonts/fontawesome-webfont.svg?v=4.7.0 82 bytes {0} [built]
[] -> factory:201ms building:3ms = 204ms
[8] ./~/font-awesome/fonts/fontawesome-webfont.ttf?v=4.7.0 82 bytes {0} [built]
[] -> factory:201ms building:2ms = 203ms
[9] ./~/font-awesome/fonts/fontawesome-webfont.woff2?v=4.7.0 84 bytes {0} [built]
[] -> factory:201ms building:1ms = 202ms
[10] ./~/font-awesome/fonts/fontawesome-webfont.woff?v=4.7.0 83 bytes {0} [built]
[] -> factory:201ms building:2ms = 203ms
[11] ./~/css-loader!./~/sass-loader/lib/loader.js!./yaoms/styles/styles.scss 856 kB {0} [built]
factory:9ms building:20189ms = 20198ms
[12] ./~/primeng/resources/images/loading.gif 82 bytes {0} [built]
[] -> factory:10ms building:1ms = 11ms
[13] ./~/primeng/resources/images/password-meter.png 82 bytes {0} [built]
[] -> factory:11ms building:0ms = 11ms
[14] ./~/primeng/resources/themes/omega/fonts/roboto-v15-latin-regular.svg 82 bytes {0} [built]
[] -> factory:12ms building:1ms = 13ms
+ 4 hidden modules
npm info lifecycle YAOMS@0.1.0~build:dev: Failed to exec build:dev script
npm ERR! Linux 4.4.0-75-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build:dev"
npm ERR! node v7.10.0
npm ERR! npm v4.2.0
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! YAOMS@0.1.0 build:dev: `npm run clean:dist && webpack --config config/webpack.dev.js --progress --profile`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the YAOMS@0.1.0 build:dev script 'npm run clean:dist && webpack --config config/webpack.dev.js --progress --profile'.
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 YAOMS package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run clean:dist && webpack --config config/webpack.dev.js --progress --profile
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs YAOMS
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls YAOMS
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /root/.npm/_logs/2017-05-26T04_58_01_212Z-debug.log
The command '/bin/sh -c npm run build:dev' returned a non-zero code: 2
FAILED
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment