Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

to-string loader depends on Node 4+ #330

Closed
NorDroN opened this issue Sep 23, 2016 · 2 comments
Closed

to-string loader depends on Node 4+ #330

NorDroN opened this issue Sep 23, 2016 · 2 comments

Comments

@NorDroN
Copy link

NorDroN commented Sep 23, 2016

I've tried to create Angular2 application, but I've got some errors. I can't run webpack

screenshot_6

I think it associated with this commit
925f47f

@SteveSandersonMS
Copy link
Member

SteveSandersonMS commented Sep 23, 2016

Apparently, in the last week, the to-string loader started strictly depending on Node 4+. I guess you must still be running Node 0.x.

For a quick solution, can you upgrade to a more current version of Node?

Longer term, I'll look at whether the to-string owner would be willing to restore 0.x compatibility (have reported this issue). If not, we'll have to replace to-string with something else such as css-to-string-loader.

@SteveSandersonMS SteveSandersonMS changed the title Angular2 Unexpected token ILLEGAL to-string loader depends on Node 4+ Sep 23, 2016
@NorDroN
Copy link
Author

NorDroN commented Sep 26, 2016

Thanks, @SteveSandersonMS, you are right! I've just updated Node and I can build this project now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants