-
Notifications
You must be signed in to change notification settings - Fork 880
webpack introduction problem #3514
Comments
actually updating TypeScript to :
Fix the problem still have the warning but no more errors. It can be a viable solution. I need your knowledge 😄 |
I am sorry my man. I need to update the docs to v4 and I was fighting with something else. I can't do it now, but for the time being, go to this file. Look for:
and replace it with
|
Right now with typescript upgraded and the fi for the ContextReplacementPlugin it's working perfectly. So the typescript upgrade is mandatory, tried the fix with the "~2.0.10" and the initialazer problem came back. Thanks a lot, now I need some time to study the thing 😄 |
I met the same problem and try the fixed above。 and then I have this errors in console: `ERROR in [at-loader] ./src/app/app.component.ts:5:13 ERROR in [at-loader] ./src/app/app.component.ts:6:12 ERROR in [at-loader] ./src/main.ts:4:5 ERROR in [at-loader] ./src/polyfills.ts:3:1 ERROR in [at-loader] ./src/polyfills.ts:5:5 ERROR in [at-loader] ./src/polyfills.ts:10:3 |
@stevexy I had this problem (TS2304) and fixed it this way:
|
yes,it works perfectly!Thanks a lot O(∩_∩)O哈哈~ |
I fixed the errors you guys mentioned above, but met another errors ERROR in [at-loader] ./node_modules/_rxjs@5.0.1@rxjs/observable/dom/WebSocketSubject.d.ts:23:22 anyone have idea? |
Hi,
I'm trying to follow the Configuring Webpack section and after creating all the files I tried npm start.
First my env:
OS: mac osx 10.12.3
Node: v6.9.4
npm: 4.1.2
I can see the page on http://localhost:8080 but I have this errors in console:
I found in angular-cli issues that it can be something with TypeScript version but I'm new and can't propose a decent solution myself.
The text was updated successfully, but these errors were encountered: