{"action":"created","issue":{"url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/56","labels_url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/56/comments","events_url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/56/events","html_url":"https://github.com/mxstbr/react-boilerplate/issues/56","id":124208191,"number":56,"title":"How to solve this npm run build error ?","user":{"login":"Prasanthmv","id":7372952,"avatar_url":"https://avatars.githubusercontent.com/u/7372952?v=3","gravatar_id":"","url":"https://api.github.com/users/Prasanthmv","html_url":"https://github.com/Prasanthmv","followers_url":"https://api.github.com/users/Prasanthmv/followers","following_url":"https://api.github.com/users/Prasanthmv/following{/other_user}","gists_url":"https://api.github.com/users/Prasanthmv/gists{/gist_id}","starred_url":"https://api.github.com/users/Prasanthmv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Prasanthmv/subscriptions","organizations_url":"https://api.github.com/users/Prasanthmv/orgs","repos_url":"https://api.github.com/users/Prasanthmv/repos","events_url":"https://api.github.com/users/Prasanthmv/events{/privacy}","received_events_url":"https://api.github.com/users/Prasanthmv/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-29T13:04:28Z","updated_at":"2015-12-30T05:14:33Z","closed_at":"2015-12-29T13:08:44Z","body":"Showing the follwoing error when running npm run build . Please help\r\n\r\n**ERROR in ./~/css-loader!./~/postcss-loader!./css/main.css**\r\nModule build failed: ReferenceError: Promise is not defined\r\n    at Object.<anonymous> (F:\\My - Worked Projects\\My Updated\\react-boilerp\r\nlate-master\\node_modules\\postcss-import\\index.js:13:27)\r\n    at Module._compile (module.js:456:26)\r\n    at Object.Module._extensions..js (module.js:474:10)\r\n    at Module.load (module.js:356:32)\r\n    at Function.Module._load (module.js:312:12)\r\n    at Module.require (module.js:364:17)\r\n    at require (module.js:380:17)\r\n    at Object.postcss (F:\\My - Worked Projects\\My Updated\\react-boilerplate\r\n-master\\makewebpackconfig.js:94:9)\r\n    at Object.module.exports (F:\\My - Worked Projects\\My Updated\\react-boil\r\nerplate-master\\node_modules\\postcss-loader\\index.js:28:27)\r\n @ ./css/main.css 4:14-117\r\n\r\nERROR in ./css/main.css\r\nModule build failed: ModuleBuildError: Module build failed: ReferenceError:\r\n Promise is not defined\r\n    at Object.<anonymous> (F:\\My - Worked Projects\\My Updated\\react-boilerp\r\nlate-master\\node_modules\\postcss-import\\index.js:13:27)\r\n    at Module._compile (module.js:456:26)\r\n    at Object.Module._extensions..js (module.js:474:10)\r\n    at Module.load (module.js:356:32)\r\n    at Function.Module._load (module.js:312:12)\r\n    at Module.require (module.js:364:17)\r\n    at require (module.js:380:17)\r\n    at Object.postcss (F:\\My - Worked Projects\\My Updated\\react-boilerplate\r\n-master\\makewebpackconfig.js:94:9)\r\n    at Object.module.exports (F:\\My - Worked Projects\\My Updated\\react-boil\r\nerplate-master\\node_modules\\postcss-loader\\index.js:28:27)\r\n    at DependenciesBlock.onModuleBuildFailed (F:\\My - Worked Projects\\My Up\r\ndated\\react-boilerplate-master\\node_modules\\webpack\\node_modules\\webpack-co\r\nre\\lib\\NormalModuleMixin.js:315:19)\r\n    at nextLoader (F:\\My - Worked Projects\\My Updated\\react-boilerplate-mas\r\nter\\node_modules\\webpack\\node_modules\\webpack-core\\lib\\NormalModuleMixin.js\r\n:270:31)\r\n    at F:\\My - Worked Projects\\My Updated\\react-boilerplate-master\\node_mod\r\nules\\webpack\\node_modules\\webpack-core\\lib\\NormalModuleMixin.js:292:15\r\n    at runSyncOrAsync (F:\\My - Worked Projects\\My Updated\\react-boilerplate\r\n-master\\node_modules\\webpack\\node_modules\\webpack-core\\lib\\NormalModuleMixi\r\nn.js:173:4)\r\n    at nextLoader (F:\\My - Worked Projects\\My Updated\\react-boilerplate-mas\r\nter\\node_modules\\webpack\\node_modules\\webpack-core\\lib\\NormalModuleMixin.js\r\n:290:3)\r\n    at F:\\My - Worked Projects\\My Updated\\react-boilerplate-master\\node_mod\r\nules\\webpack\\node_modules\\webpack-core\\lib\\NormalModuleMixin.js:259:5\r\n    at Storage.provide (F:\\My - Worked Projects\\My Updated\\react-boilerplat\r\ne-master\\node_modules\\webpack\\node_modules\\enhanced-resolve\\lib\\CachedInput\r\nFileSystem.js:52:20)\r\n    at CachedInputFileSystem.readFile (F:\\My - Worked Projects\\My Updated\\r\r\neact-boilerplate-master\\node_modules\\webpack\\node_modules\\enhanced-resolve\\\r\nlib\\CachedInputFileSystem.js:140:24)\r\n    at DependenciesBlock.onLoadPitchDone (F:\\My - Worked Projects\\My Update\r\nd\\react-boilerplate-master\\node_modules\\webpack\\node_modules\\webpack-core\\l\r\nib\\NormalModuleMixin.js:255:7)\r\n    at DependenciesBlock.loadPitch (F:\\My - Worked Projects\\My Updated\\reac\r\nt-boilerplate-master\\node_modules\\webpack\\node_modules\\webpack-core\\lib\\Nor\r\nmalModuleMixin.js:182:27)\r\n    at DependenciesBlock.loadPitch (F:\\My - Worked Projects\\My Updated\\reac\r\nt-boilerplate-master\\node_modules\\webpack\\node_modules\\webpack-core\\lib\\Nor\r\nmalModuleMixin.js:186:21)\r\n    at DependenciesBlock.loadPitch (F:\\My - Worked Projects\\My Updated\\reac\r\nt-boilerplate-master\\node_modules\\webpack\\node_modules\\webpack-core\\lib\\Nor\r\nmalModuleMixin.js:223:61)\r\n    at DependenciesBlock.loadPitch (F:\\My - Worked Projects\\My Updated\\reac\r\nt-boilerplate-master\\node_modules\\webpack\\node_modules\\webpack-core\\lib\\Nor\r\nmalModuleMixin.js:186:21)\r\n    at DependenciesBlock.loadPitch (F:\\My - Worked Projects\\My Updated\\reac\r\nt-boilerplate-master\\node_modules\\webpack\\node_modules\\webpack-core\\lib\\Nor\r\nmalModuleMixin.js:223:61)\r\n    at DependenciesBlock.doBuild (F:\\My - Worked Projects\\My Updated\\react-\r\nboilerplate-master\\node_modules\\webpack\\node_modules\\webpack-core\\lib\\Norma\r\nlModuleMixin.js:241:4)\r\n    at DependenciesBlock.build (F:\\My - Worked Projects\\My Updated\\react-bo\r\nilerplate-master\\node_modules\\webpack\\lib\\NormalModule.js:84:14)\r\n    at Compilation.buildModule (F:\\My - Worked Projects\\My Updated\\react-bo\r\nilerplate-master\\node_modules\\webpack\\lib\\Compilation.js:126:9)\r\n    at Compilation.<anonymous> (F:\\My - Worked Projects\\My Updated\\react-bo\r\nilerplate-master\\node_modules\\webpack\\lib\\Compilation.js:398:8)\r\n    at F:\\My - Worked Projects\\My Updated\\react-boilerplate-master\\node_mod\r\nules\\webpack\\lib\\NormalModuleFactory.js:58:13\r\n    at NormalModuleFactory.applyPluginsAsyncWaterfall (F:\\My - Worked Proje\r\ncts\\My Updated\\react-boilerplate-master\\node_modules\\webpack\\node_modules\\t\r\napable\\lib\\Tapable.js:75:69)\r\n    at onDoneResolving (F:\\My - Worked Projects\\My Updated\\react-boilerplat\r\ne-master\\node_modules\\webpack\\lib\\NormalModuleFactory.js:38:11)\r\n    at onDoneResolving (F:\\My - Worked Projects\\My Updated\\react-boilerplat\r\ne-master\\node_modules\\webpack\\lib\\NormalModuleFactory.js:121:6)\r\n    at F:\\My - Worked Projects\\My Updated\\react-boilerplate-master\\node_mod\r\nules\\webpack\\lib\\NormalModuleFactory.js:98:13\r\n    at F:\\My - Worked Projects\\My Updated\\react-boilerplate-master\\node_mod\r\nules\\webpack\\node_modules\\async\\lib\\async.js:721:13\r\n    at F:\\My - Worked Projects\\My Updated\\react-boilerplate-master\\node_mod\r\nules\\webpack\\node_modules\\async\\lib\\async.js:52:16\r\n    at async.forEachOf.async.eachOf (F:\\My - Worked Projects\\My Updated\\rea\r\nct-boilerplate-master\\node_modules\\webpack\\node_modules\\async\\lib\\async.js:\r\n236:30)\r\n    at _parallel (F:\\My - Worked Projects\\My Updated\\react-boilerplate-mast\r\ner\\node_modules\\webpack\\node_modules\\async\\lib\\async.js:712:9)\r\n    at Object.async.parallel (F:\\My - Worked Projects\\My Updated\\react-boil\r\nerplate-master\\node_modules\\webpack\\node_modules\\async\\lib\\async.js:726:9)\r\n    at F:\\My - Worked Projects\\My Updated\\react-boilerplate-master\\node_mod\r\nules\\webpack\\lib\\NormalModuleFactory.js:75:10\r\n    at F:\\My - Worked Projects\\My Updated\\react-boilerplate-master\\node_mod\r\nules\\webpack\\lib\\NormalModuleFactory.js:28:4\r\nChild extract-text-webpack-plugin:\r\n        + 1 hidden modules\r\n\r\n    ERROR in ./~/css-loader!./~/postcss-loader!./css/main.css\r\n    Module build failed: ReferenceError: Promise is not defined\r\n        at Object.<anonymous> (F:\\My - Worked Projects\\My Updated\\react-boi\r\nlerplate-master\\node_modules\\postcss-import\\index.js:13:27)\r\n        at Module._compile (module.js:456:26)\r\n        at Object.Module._extensions..js (module.js:474:10)\r\n        at Module.load (module.js:356:32)\r\n        at Function.Module._load (module.js:312:12)\r\n        at Module.require (module.js:364:17)\r\n        at require (module.js:380:17)\r\n        at Object.postcss (F:\\My - Worked Projects\\My Updated\\react-boilerp\r\nlate-master\\makewebpackconfig.js:94:9)\r\n        at Object.module.exports (F:\\My - Worked Projects\\My Updated\\react-\r\nboilerplate-master\\node_modules\\postcss-loader\\index.js:28:27)"},"comment":{"url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/comments/167938239","html_url":"https://github.com/mxstbr/react-boilerplate/issues/56#issuecomment-167938239","issue_url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/56","id":167938239,"user":{"login":"Prasanthmv","id":7372952,"avatar_url":"https://avatars.githubusercontent.com/u/7372952?v=3","gravatar_id":"","url":"https://api.github.com/users/Prasanthmv","html_url":"https://github.com/Prasanthmv","followers_url":"https://api.github.com/users/Prasanthmv/followers","following_url":"https://api.github.com/users/Prasanthmv/following{/other_user}","gists_url":"https://api.github.com/users/Prasanthmv/gists{/gist_id}","starred_url":"https://api.github.com/users/Prasanthmv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Prasanthmv/subscriptions","organizations_url":"https://api.github.com/users/Prasanthmv/orgs","repos_url":"https://api.github.com/users/Prasanthmv/repos","events_url":"https://api.github.com/users/Prasanthmv/events{/privacy}","received_events_url":"https://api.github.com/users/Prasanthmv/received_events","type":"User","site_admin":false},"created_at":"2015-12-30T05:14:33Z","updated_at":"2015-12-30T05:14:33Z","body":"Thanks u\r\n"}}