简体   繁体   English

“TypeError: fsevents is not a constructor” - 已经尝试了一堆解决方案

[英]"TypeError: fsevents is not a constructor" - already tried a bunch of solutions

Upon running npm start, I get the error "TypeError: fsevents is not a constructor".运行 npm start 时,出现错误“TypeError: fsevents 不是构造函数”。

I ran "sudo npm install", ran "sudo npm i fsevents", tried it with yarn, tried deleting node_modules and package.json, nothing works.我跑了“sudo npm install”,跑了“sudo npm i fsevents”,用yarn试了一下,尝试删除node_modules和package.json,没有任何效果。 Don't know why this is doing this.不知道为什么要这样做。

https://github.com/LSpire/lspire-front-v2 https://github.com/LSpire/lspire-front-v2

npm audit fix --force

你可以试试看。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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