Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downgrade css-loader dependency for Node 0.10.x compatibility #3

Closed

Conversation

iandunn
Copy link
Contributor

@iandunn iandunn commented Dec 16, 2015

Running the build task under Node 0.10.x fails with the following error:

ERROR in .//css-loader!.//sass-loader!./src/components/widget/style.scss
Module build failed: ReferenceError: Promise is not defined

See webpack-contrib/css-loader#144 for details.

I think Node 0.10.x should be supported, because it's the latest version available in the Ubuntu package repository, so it's still widely used in dev environments.

Alternatively, though, the docs could just state that the project requires a current version of Node.

Running the build task under Node 0.10.x fails with the following error:

> ERROR in ./~/css-loader!./~/sass-loader!./src/components/widget/style.scss
> Module build failed: ReferenceError: Promise is not defined

See webpack-contrib/css-loader#144 for details.

Node 0.10.x is the latest version available in the Ubuntu package repository, so it's still widely used in dev environments, and should be supported.
@gcorne
Copy link
Owner

gcorne commented Dec 29, 2015

Thanks for pointing this out. I decided to add an ES6 polyfill instead of downgrading in 62c122f.

@gcorne gcorne closed this Dec 29, 2015
@iandunn
Copy link
Contributor Author

iandunn commented Dec 30, 2015

Ah, that's a better idea. Thanks :)

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

Successfully merging this pull request may close these issues.

2 participants