Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR in Cannot find module 'lodash/cloneDeep' #22

Open
bunlongheng opened this issue Jul 11, 2017 · 1 comment
Open

ERROR in Cannot find module 'lodash/cloneDeep' #22

bunlongheng opened this issue Jul 11, 2017 · 1 comment

Comments

@bunlongheng
Copy link

bunlongheng commented Jul 11, 2017

I run npm run build and npm run dev

I kept getting

> [email protected] build /Users/bheng/Sites/angular/angular-starter-es6-webpack
> export NODE_ENV=production && node node_modules/.bin/webpack && cp app/index.html dist/index.html

Hash: e073f399fd5c43d808a6
Version: webpack 1.15.0
Time: 8043ms
        Asset     Size  Chunks             Chunk Names
    vendor.js   267 kB       0  [emitted]  vendor
vendor.js.map  4.38 MB       0  [emitted]  vendor
   [0] multi vendor 52 bytes {0} [built]
    + 6 hidden modules

WARNING in vendor.js from UglifyJs
Dropping unused variable arrayMode [../~/angular-ui-router/release/angular-ui-router.js:791,0]
Side effects in initialization of unused variable ignoreUpdate [../~/angular-ui-router/release/angular-ui-router.js:2035,0]
Dropping unused variable cfg [../~/angular-ui-router/release/angular-ui-router.js:917,15]
Dropping unused function indexBy [../~/angular-ui-router/release/angular-ui-router.js:166,0]
Dropping unused function pluck [../~/angular-ui-router/release/angular-ui-router.js:196,0]
Dropping unused function nodesetLinkingFn [../~/angular/angular.js:10756,0]
Dropping unused function directiveLinkingFn [../~/angular/angular.js:10763,0]
Side effects in initialization of unused variable support [../~/lodash/index.js:932,0]
Condition always true [../~/lodash/index.js:12323,0]
Dropping unreachable code [../~/lodash/index.js:12337,0]
Side effects in initialization of unused variable moduleExports [../~/lodash/index.js:266,0]

ERROR in Cannot find module 'lodash/cloneDeep'

Any hints ?

@readying
Copy link

readying commented Sep 7, 2017

npm install --sava-dev lodash.Deep

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants