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

ERROR in ./~/css-loader!./~/less-loader!./src/browser/components/main.less Module build failed: ReferenceError: Promise is not defined #105

Open
Doncon opened this issue Jan 28, 2017 · 0 comments

Comments

@Doncon
Copy link

Doncon commented Jan 28, 2017

Hello,

I tried to run this command: npm run webpack on CentOS, but then I'll get the error listed below.

ERROR in ./~/css-loader!./~/less-loader!./src/browser/components/main.less
Module build failed: ReferenceError: Promise is not defined
    at LazyResult.async (/root/node-v0.10.30/fb-sleep-stats/node_modules/css-loader/node_modules/postcss/lib/lazy-result.js:227:31)
    at LazyResult.then (/root/node-v0.10.30/fb-sleep-stats/node_modules/css-loader/node_modules/postcss/lib/lazy-result.js:131:21)
    at processCss (/root/node-v0.10.30/fb-sleep-stats/node_modules/css-loader/lib/processCss.js:198:5)
    at Object.module.exports (/root/node-v0.10.30/fb-sleep-stats/node_modules/css-loader/lib/loader.js:24:2)
 @ ./src/browser/components/main.less 4:14-127

Can someone help me please?

Kind regards,

Duncan

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

No branches or pull requests

1 participant