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
Hello,
I tried to run this command: npm run webpack on CentOS, but then I'll get the error listed below.
Can someone help me please?
Kind regards,
Duncan