Comments (2)
I think the reason of the error are this and this lines of code. Briefly: typescript loader are not applied to node modules and .ts
extension has a priority over .js
.
Possible solution: set resolve.extensions
to ['', '.js', '.ts']
(now .js
extension has a priority over .ts
) (you need to change it here, here, here and here)
@vaseker Please, try this solution and tell me the results.
from angular2-universal-starter.
set resolve.extensions to ['', '.js', '.ts']
Yes, this is it!
Thank you!
from angular2-universal-starter.
Related Issues (20)
- Add minification for production build HOT 2
- Dev watchers stops on error
- Route from form submit error in webworker-mode HOT 1
- Universal setTitle HOT 9
- Webpack2 Support HOT 7
- Inline html templates? HOT 1
- Caching... HOT 1
- Serverside rendering is not working? HOT 1
- Update to rc1
- Question: Do you plan to keep this project up-to-date? HOT 15
- Add support for @angular/router HOT 3
- Update angular up to rc.5 HOT 11
- DLL error on npm start HOT 2
- Unable to start
- Update To latest angular ~2.1.0
- Static pre-render documentation?
- manipulate meta tags in Universal
- how to host angular universal project in iis
- Auto restart and rebuild angular universal on save
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular2-universal-starter.