简体   繁体   中英

Getting weird error logs while installing babel cli for node v12

I have been getting some weird error logs while installing babel cli on my mac machine which has node v12. It seems the error is related to fsevents module which is a dependency for mac. I was trying with the command yarn global add babel-cli

I was facing the same issue when trying to update meteor version for a different project.

Screenshot

The logs are a lot lengthier than the one attached.

Full Logs

Welcome to Stack Overflow. This problem can be quite annoying to resolve, and I have been battling with it recently.

It's more of a node 12 problem than a Meteor problem. It looks like a problem with nan , but in fact it's likely to be some other library.

I finally solved it by making sure that I had the latest bcrypt@4.0.1 and utf-8-validate@5.0.2 . The latter is an indirect dependency, which seemed to make a difference.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM