添加google map插件后,发生以下错误。
对于浏览器,
cannot find module '@ionic-native/core'.
对于命令行,
npm ERR! path /Users/user/Desktop/MenuScan/node_modules/npm/node_modules/ansistyles
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename '/Users/user/Desktop/MenuScan/node_modules/npm/node_modules/ansistyles' -> '/Users/user/Desktop/MenuScan/node_modules/npm/node_modules/.ansistyles.DELETE'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/user/.npm/_logs/2018-06-26T17_48_22_470Z-debug.log
我该怎么办?