Please provide us with the following information:
- OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Windows 10
- Versions. Please run
ng --version. If there's nothing outputted, please run
in a Terminal: node --version and paste the result here:
local (v1.0.0-beta.10, branch: master)
- Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.
- App created with webpack cli built from master.
- Ran
npm install lodash --save,
- imported lodash into my component with
import * as _ from 'lodash';
- proceeded to use lodash functions (_.forIn() in this case)
- The log given by the failure. Normally this include a stack trace and some
more information.
Cannot find module 'lodash' .
- Mention any other details that might be useful.
I haven't noticed this with other libs I'm using, including material2 and ngrx/store.
Thanks! We'll be in touch soon.
Windows 10
ng --version. If there's nothing outputted, please runin a Terminal:
node --versionand paste the result here:local (v1.0.0-beta.10, branch: master)
do on your code? etc.
npm install lodash --save,import * as _ from 'lodash';more information.
Cannot find module 'lodash' .I haven't noticed this with other libs I'm using, including material2 and ngrx/store.