bpanel icon indicating copy to clipboard operation
bpanel copied to clipboard

npm run crashes without poll

Open pinheadmz opened this issue 6 years ago • 2 comments

... but npm run start:poll runs fine:

ERROR in ./node_modules/bootstrap/dist/css/bootstrap.min.css (./node_modules/css-loader??ref--4-1!./node_modules/postcss-loader/lib??ref--4-2!./node_modules/bootstrap/dist/css/bootstrap.min.css)
    Module build failed (from ./node_modules/postcss-loader/lib/index.js):
    BrowserslistError: Unknown browser query `dead`

Also we might consider making watch/poll default anyway since bpanel-cli install relies on it

pinheadmz avatar Dec 05 '18 19:12 pinheadmz

This is the same issue that Steven was running into @bucko13

tynes avatar Jan 11 '19 02:01 tynes

Awesome, that means we've found the issue 😄. Agree about the defaults too. Upcoming rewrite should fix that. Will put up a fix for the webpack loaders causing that.

To record the issue, the following packages need to be updated:

`autoprefixer` -> `9.4.4`
`css-loader` -> `2.1.0`
`postcss-loader` -> `3.0.0`
`style-loader` -> `0.23.1`

and...

After updating these packages there is a new error related to CSS config being passed in incorrectly, the latest versions expect a new format in webpack config.

bucko13 avatar Jan 11 '19 03:01 bucko13