Closed alectrocute closed 6 years ago
If you have a PR to fix it, that would be awesome !!
Have the same problem, macOS High Sierra Version 10.13.3. Reinstalling node doesn't help. There are 20 plugins more in my project, but only this breaks the things. Bug appears after upgrading cordova to higher than 6.4.0.
node v9.4.0 npm 5.6.0
Love this plugin, but had a nightmare experience with it where it directly forced me to uninstall/reinstall Node.js/npm multiple times via brew. I was up until 4am last night dealing with it, all while trying to meet a deadline. I'd love to help fix the error, but for now, I'm just doing my due diligence to report it.
It's all related to npm's "ansistyles".
After installing cordova-plugin-browsersync, all it takes is attempting to cordova run, etc. for all hell to break loose.
After recieving this error, it breaks pretty much anything related to installing from npm, Cordova, etc. I tried reinstall "ansistyles", etc. to no avail.
For anybody else having this issue, reinstall node via brew a few times. It does the trick.
I'm on macOS 10.13.2.
Have a great day!