I need some help with browser compatibility and transpilation

Good afternoon!

Im really stuck on a project called “Browser Compatibility and Transpilation”! basically its asking me to create a file and set it so it covers across all browers. I have created the file (i think) and when i go to set it to cover 99.9% i get errors. Can someone help me please? this is the erroe i recieve:

cnpm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/browserlistrc - Not found
npm ERR! 404 
npm ERR! 404  'browserlistrc@latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ccuser/.npm/_logs/2022-03-18T13_13_24_115Z-debug.log
Install for [ 'browserlistrc@latest' ] failed with code 1
$ cover 99.9%
bash: cover: command not found

https://www.codecademy.com/paths/build-web-apps-with-react/tracks/bwa-modern-javascript-modules-and-browser-compatibility/modules/learn-javascript-transpilation/lessons/browser-compatibility-and-transpilation/exercises/targeting-different-browsers

Hi,

the lesson instructions ask you to create a file called .browserlistrc – not to install a module called browserlistrc, which you seem to have done.
You can create the file via command line or simply manually.

1 Like