Skip to main content

Timeline for Babel command not found

Current License: CC BY-SA 3.0

6 events
when toggle format what by license comment
Jun 29, 2020 at 10:23 comment added 7hibault The @babel/cli docs recommends against installing babel-cli globally (to avoid conflicts with other projects using different versions of babel, and to improve portability)
Jul 20, 2019 at 22:41 comment added Ericgit you should use sudo with npm install -g babel-cli to access this file /usr/local/lib/node_modules, else you'll be denied.
Dec 6, 2017 at 0:13 history edited JBaczuk CC BY-SA 3.0
remove sudo on this answer, instead of posting a new answer without sudo
Dec 1, 2017 at 20:53 comment added John Franke npm install -g babel-cli Will work without sudo.
Nov 17, 2017 at 16:20 comment added John Franke You should never have to use sudo with npm. Try using nvm to manage your node versions.
Sep 4, 2017 at 13:58 history answered Martin Thoma CC BY-SA 3.0