-
-
Notifications
You must be signed in to change notification settings - Fork 40
Cannot find module 'webpack' #216
Comments
{ |
[158] ./main.aot.ts 358 bytes {0} [built] ERROR in Cannot assign to a reference or variable! ERROR in ./main.aot.ts npm ERR! A complete log of this run can be found in: npm ERR! A complete log of this run can be found in: |
In your package.json change |
closing in favor of #214 |
Running tns prepare...
Skipping prepare.
Running webpack for android...
module.js:472
throw err;
^
Error: Cannot find module 'webpack'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (/Users/dotcomholding/Desktop/NativeScript/sadc/webpack.config.js:3:17)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
child process exited with code 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ ns-bundle:
ns-bundle
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ ns-bundle script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/dotcomholding/.npm/_logs/2017-07-10T10_24_37_416Z-debug.log
DotcomHoldings-iMac:sadc dotcomholding$
The text was updated successfully, but these errors were encountered: