You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[my project's path]\node_modules\precss\node_modules\postcss-partial-import\node_modules\fs-promise\node_modules\any-promise\any-promise.js:32
throw new Error('Must install one of: '+libs.join());
^
Error: Must install one of: es6-promise,promise,native-promise-only,bluebird,rsvp,when,q
at [my project's path]\node_modules\precss\node_modules\postcss-partial-import\node_modules\fs-promise\node_modules\any-promise\any-promise.js:32:9
at Object.<anonymous> ([my project's path]\node_modules\precss\node_modules\postcss-partial-import\node_modules\fs-promise\node_modules\any-promise\any-promise.js:33:3)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> ([my project's path]\node_modules\precss\node_modules\postcss-partial-import\node_modules\fs-promise\index.js:4:12)
at Module._compile (module.js:456:26)
The text was updated successfully, but these errors were encountered:
After running npm update the output's still the same, so I assume it's the newest version...?
Installing: npm install es6-promise helped me to get rid of this error.
But I still don't get it how it works.
Now your CSS files requirements will be processed by selected PostCSS plugins:
var css = require('./file.css');
Where I put this var css and what does it do?
If I put it in one of my .js files where exactly this file.css will be appended?
Edit: nvm, I see it now at the end of the <head>
I merged the example from Usage instructions with my webpack.config.js:
but when I try to run
webpack
it returns:The text was updated successfully, but these errors were encountered: