Global browserslist should be able to resolve local installed configs
See original GitHub issueI have browserslist globaly installed and had an hard time to figure out why a browserslist-config-* project couldn’t be resolved.
Within package.json
"browserslist": [
"extends browserslist-config-vue"
],
When running browserslist
C:\Users\Lisa\AppData\Roaming\npm\node_modules\browserslist\cli.js:82
throw e
^
Error: Cannot find module 'browserslist-config-vue'
at Function.Module._resolveFilename (module.js:536:15)
at Function.Module._load (module.js:466:25)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at Object.loadQueries (C:\Users\Lisa\AppData\Roaming\npm\node_modules\browserslist\node.js:83:19)
at Function.select (C:\Users\Lisa\AppData\Roaming\npm\node_modules\browserslist\index.js:632:26)
at C:\Users\Lisa\AppData\Roaming\npm\node_modules\browserslist\index.js:151:33
at Array.reduce (<anonymous>)
at resolve (C:\Users\Lisa\AppData\Roaming\npm\node_modules\browserslist\index.js:132:18)
at browserslist (C:\Users\Lisa\AppData\Roaming\npm\node_modules\browserslist\index.js:224:16)
When running node ./node_modules\browserslist\cli.js
and_chr 64
and_ff 57
and_qq 1.2
and_uc 11.8
android 62
android 4.4.3-4.4.4
android 4.4
android 4.2-4.3
baidu 7.12
...
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Error: Cannot find module 'browserslist' when I run the npm ...
Run this in your terminal: npm i browserslist ... Delete your nodemodules folder and package.lock.json file and run npm install.
Read more >browserslist-ga - npm
The global browser usage data comes from caniuse.com and is downloaded from npm when you run npm install . Package managers such as...
Read more >FIX npm WARN config global `global`, `local` are ... - YouTube
In this video I will show how to PROPERLY fix the npm warning WITHOUT modifying local npm files.Timeline:00:00 Upgrade npm03:52 Workaround ...
Read more >Changelog - Cypress Documentation
Fixed an issue where the Cypress migration wizard would fail to run in global mode on newer versions of Cypress. Addressed in #25138....
Read more >Chrome Enterprise and Education release notes
The installed Chrome Apps are still launchable. Starting with Chrome 111, Chrome Apps on Windows, Mac and Linux will no longer work. To...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Released in 3.2.4 https://twitter.com/Browserslist/status/979780404201828354
Fixed 648cc2f