bpanel-org / bpanel

A Blockchain Management System, powered by bcoin
https://bpanel.org
Other
53 stars 23 forks source link

npm run crashes without poll #141

Open pinheadmz opened 5 years ago

pinheadmz commented 5 years ago

... 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

tynes commented 5 years ago

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

bucko13 commented 5 years ago

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.