browserslist-useragent
browserslist-useragent copied to clipboard
yamlparser dependency error
version : 3.0.3 , 3.0.2 , 2.0.1 and maybe other releases .
while requiring thr browserslist-useragent in a CRA, i got the error :
Can't resolve 'yamlparser' in Path/node_modules/useragent/lib'
had the same issue and yarn add ymlparser
made it work, but it should be part of the dependencies.
had the same issue and
yarn add ymlparser
made it work, but it should be part of the dependencies.
have the same error, but yarn add ymlparser
raises an error:
yarn add v1.22.5
[1/5] 🔍 Validating package.json...
[2/5] 🔍 Resolving packages...
error An unexpected error occurred: "https://registry.yarnpkg.com/ymlparser: Not found".
info If you think this is a bug, please open a bug report with the information provided in ".../yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.```
had the same issue and
yarn add ymlparser
made it work, but it should be part of the dependencies.have the same error, but
yarn add ymlparser
raises an error:yarn add v1.22.5 [1/5] 🔍 Validating package.json... [2/5] 🔍 Resolving packages... error An unexpected error occurred: "https://registry.yarnpkg.com/ymlparser: Not found". info If you think this is a bug, please open a bug report with the information provided in ".../yarn-error.log". info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.```
Try yarn add yamlparser
instead.
This is due to the useragent
dependency in this package which has yamlparser
as devDependency instead of regular dependency
.
This should no longer be an issue with v4.0.0 now that we're removed useragent