Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In vue, use version 9.1.0 to introduce import "ol/ol.css" and the console reports an error #15771

Open
mengpierde opened this issue Apr 25, 2024 · 1 comment
Labels

Comments

@mengpierde
Copy link

in ./node_modules/ol/ol.css

Module build failed: BrowserslistError: Unknown browser query dead
at D:\a_codeFile\sunDrilling\qdzj\drilling\node_modules\autoprefixer\node_modules\browserslist\index.js:164:11
at Array.reduce ()
at resolve (D:\a_codeFile\sunDrilling\qdzj\drilling\node_modules\autoprefixer\node_modules\browserslist\index.js:132:18)
at browserslist (D:\a_codeFile\sunDrilling\qdzj\drilling\node_modules\autoprefixer\node_modules\browserslist\index.js:224:16)
at Browsers.parse (D:\a_codeFile\sunDrilling\qdzj\drilling\node_modules\autoprefixer\lib\browsers.js:61:16)
at new Browsers (D:\a_codeFile\sunDrilling\qdzj\drilling\node_modules\autoprefixer\lib\browsers.js:52:30)
at loadPrefixes (D:\a_codeFile\sunDrilling\qdzj\drilling\node_modules\autoprefixer\lib\autoprefixer.js:70:24)
at plugin (D:\a_codeFile\sunDrilling\qdzj\drilling\node_modules\autoprefixer\lib\autoprefixer.js:81:24)
at LazyResult.run (D:\a_codeFile\sunDrilling\qdzj\drilling\node_modules\postcss-loader\node_modules\postcss\lib\lazy-result.js:277:20)
at LazyResult.asyncTick (D:\a_codeFile\sunDrilling\qdzj\drilling\node_modules\postcss-loader\node_modules\postcss\lib\lazy-result.js:192:32)
at LazyResult.asyncTick (D:\a_codeFile\sunDrilling\qdzj\drilling\node_modules\postcss-loader\node_modules\postcss\lib\lazy-result.js:204:22)
at D:\a_codeFile\sunDrilling\qdzj\drilling\node_modules\postcss-loader\node_modules\postcss\lib\lazy-result.js:197:27

@ ./node_modules/ol/ol.css 4:14-109 13:3-17:5 14:22-117
@ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/components/index.vue
@ ./src/components/index.vue
@ ./src/router/index.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://127.0.0.1:8081 webpack/hot/dev-server babel-polyfill ./src/main.js

@mengpierde mengpierde added the bug label Apr 25, 2024
@ahocevar
Copy link
Member

Please provide a repository to reproduce the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants