无法找到模块“pi-vue”的声明文件。“/work/paddy/git/vue/demo2/node_modules/pi-vue/dist/pi-vue.common.js”隐式拥有 "any" 类型。
Try `npm install @types/pi-vue` if it exists or add a new declaration (.d.ts) file containing `declare module 'pi-vue';`ts(7016)
module "/work/paddy/git/vue/demo2/node_modules/pi-vue/dist/pi-vue.common"
env:
···shell
Fedora release 29 (Twenty Nine)
Linux paddy-pc 4.20.8-200.fc29.x86_64 #1 SMP Wed Feb 13 13:08:05 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
env:
···shell
Fedora release 29 (Twenty Nine) Linux paddy-pc 4.20.8-200.fc29.x86_64 #1 SMP Wed Feb 13 13:08:05 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
[paddy@paddy-pc demo2]$ hostnamectl Static hostname: paddy-pc Pretty hostname: paddy_pc Icon name: computer-desktop Chassis: desktop Machine ID: 8d66f59246834ecfb38d87331abfca68 Boot ID: 538c1420fb564f8b911ce0651acbbf85 Operating System: Fedora 29 (Workstation Edition) CPE OS Name: cpe:/o:fedoraproject:fedora:29 Kernel: Linux 4.20.8-200.fc29.x86_64 Architecture: x86-64
[paddy@paddy-pc demo2]$ node -v v10.15.0 [paddy@paddy-pc demo2]$ npm -v 6.4.1 [paddy@paddy-pc demo2]$ vue -V 2.9.6 [paddy@paddy-pc demo2]$