Description
Not sure if its an issues but fairly new to webpack and how angular CLI implements it and uses it.
os: win32 x64, angular-cli: 1.0.0-beta.11-webpack.8, node: 6.3.0, npm: 3.10.6
- Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.
Hi, I started an angular 2 app with angular-cli: 1.0.0-beta.9, broccoli as the builder, I've tried getting
angular-cli: 1.0.0-beta.11-webpack.8 working with my project. Followed Instructions on: Upgrading AngCLI beta 10 to AngularCLI Webpack but getting some nasty errors....
- The log given by the failure. Normally this include a stack trace and some
more information.
ERROR in TypeError: Cannot read property 'request' of undefined
- ExternalModuleFactoryPlugin.js:37 handleExternals
[ttuhscEpAtacsSPCalendar]/[webpack]/lib/ExternalModuleFactoryPlugin.js:37:33
- ExternalModuleFactoryPlugin.js:46 next
[ttuhscEpAtacsSPCalendar]/[webpack]/lib/ExternalModuleFactoryPlugin.js:46:8
- ExternalModuleFactoryPlugin.js:59 handleExternals
[ttuhscEpAtacsSPCalendar]/[webpack]/lib/ExternalModuleFactoryPlugin.js:59:7
- ExternalModuleFactoryPlugin.js:79 ExternalModuleFactoryPlugin.<anonymous>
[ttuhscEpAtacsSPCalendar]/[webpack]/lib/ExternalModuleFactoryPlugin.js:79:5
- NormalModuleFactory.js:177
[ttuhscEpAtacsSPCalendar]/[angular-cli]/[webpack]/lib/NormalModuleFactory.js:177:3
- Tapable.js:131
[ttuhscEpAtacsSPCalendar]/[tapable]/lib/Tapable.js:131:11
**BLAH BLAH BLAH BLAH MORE BLOODY RED MURDER ERRORSSSS**
-
Mention any other details that might be useful.
Doing a search for "request" on the project files: I find it on
dist/index.html, - the error/log I pasted above (the one "ng build" throws at me)
dist/main.bundle.js -
window.gapi.client.request
((window.gapi||{}).client||{}).request
Does it have to do anything with: ??
https://developers.google.com/api-client-library/javascript/reference/referencedocs
gapi.client.Request
An object encapsulating an HTTP request. This object is not instantiated directly, rather it is returned by gapi.client.request. There are two ways to execute a request. We recommend that you treat the object as a promise and use the then method, but you can also use the method and pass in a callback.
Thanks,
edo@rdo