Errors prevented startup While minifying app stylesheet


#1

Hi, I’m using Windows, install meteor and node-js build tools for windows.

Here is the system details:

  • Node v8.9.3
  • NPM 5.5.1
  • Meteor 1.6.1.3 (installed via choco)
  • OS Windows 10

But I always stuck on, I also tried on Ubuntu 16.04 as well. But result is same.

.meteor/build/bundle/programs/web.browser\head.html
1 File(s) copied
=> Errors prevented startup:

While minifying app stylesheet:
packages/modules-runtime.js:231:12: Cannot find module ‘postcss-import’
at makeMissingError (packages/modules-runtime.js:231:12)
at require (packages/modules-runtime.js:241:19)
at Object.keys.forEach.pluginName (packages/minifier-postcss/plugin/minify-css.js:20:26)
at Array.forEach ()
at getPostCSSPlugins (packages/minifier-postcss/plugin/minify-css.js:19:38)
at css.map.file (packages/minifier-postcss/plugin/minify-css.js:64:30)
at Array.map ()
at mergeCss (packages/minifier-postcss/plugin/minify-css.js:55:22)
at CssToolsMinifier.processFilesForBundle (packages/minifier-postcss/plugin/minify-css.js:179:18)

=> Your application has errors. Waiting for file change.

Anyone can help me to solve this?

Thanks