DevTools告诉我它已经检测到Vue 2.1.6
我尝试安装软件包并收到这些错误,我不确定如何继续
> npm install vue2-google-maps --save > /Users/jgravois/Documents/Code/_work/teamsite53 ├── UNMET PEER > DEPENDENCY marker-clusterer-plus@^2.1.4 ├── UNMET PEER DEPENDENCY > vue@2.0.7 invalid └── vue2-google-maps@0.5.2 > > npm WARN enoent ENOENT: no such file or directory, open > '/Users/jgravois/Documents/Code/_work/teamsite53/node_modules/fobject/package.json' > npm WARN vue2-google-maps@0.5.2 requires a peer of vue@^2.1.0 but none > was installed. npm WARN vue2-google-maps@0.5.2 requires a peer of > marker-clusterer-plus@^2.1.4 but none was installed.
答案 0 :(得分:0)
确保使用保存npm install vue --save
安装vue
尝试从node_modules
删除vue包并运行npm install