Vue3 安装时出现 _FSEventStreamCreate 错误

Vue3 install with _FSEventStreamCreate error

我一直在使用 Vue2 进行学习,现在转向 Vue3。我在 Mac:

上卸载了 Vue2
npm uninstall vue-cli -g

然后我安装了 Vue3:

npm install -g @vue/cli

我查看了vue版本:

(base) Tims-iMac-Pro-4:project_one tim$ vue --version
@vue/cli 4.5.8

创建了一个项目:

vue create project_one
cd project_one

但是在尝试 运行 服务器时出现此错误:

(base) Tims-iMac-Pro-4:project_one tim$ npm run serve

> project_one@0.1.0 serve /Users/tim/Google Drive/Vue Dev/Vue3_1/project_one
> vue-cli-service serve

INFO  Starting development server...
10% building 2/2 modules 0 activedyld: lazy symbol binding failed: Symbol not found: 
_FSEventStreamCreate
 Referenced from: /Users/tim/Google Drive/Vue Dev/Vue3_1/project_one/node_modules/webpack- 
 dev-server/node_modules/fsevents/build/Release/fse.node
 Expected in: flat namespace

dyld: Symbol not found: _FSEventStreamCreate
Referenced from: /Users/tim/Google Drive/Vue Dev/Vue3_1/project_one/node_modules/webpack- 
dev-server/node_modules/fsevents/build/Release/fse.node
Expected in: flat namespace

Abort trap: 6
(base) Tims-iMac-Pro-4:project_one tim$ 

仍在调查 _FSEventStreamCreate 错误是什么以及我做错了什么,但我们将不胜感激。

最后,我从这里安装了最新版本的 Nodejs,现在可以使用了。 https://nodejs.org/en/