vscode 升级1.18遇到Cannot find type definition file for 'node'
来源:互联网 发布:七天网络阅卷查分下载 编辑:程序博客网 时间:2024/06/05 13:24
问题:
ionic3项目,今天升级了vscode1.18.0,ionic serve 报错Cannot find type definition file for ‘node’
解决方法: npm install @types/node –save
另外node_modules/@ionic目录中有个类报错,说是缺少它实现的interface的属性,手动加上之后就好了
参考资料:https://github.com/Microsoft/TypeScript/issues/16772#issuecomment-311578985
https://stackoverflow.com/questions/43542710/buildcannot-find-type-definition-file-for-node?noredirect=1
阅读全文
0 0
- vscode 升级1.18遇到Cannot find type definition file for 'node'
- Cannot find protocol definition for 'TencentSessionDelegate'
- cannot find protocol definition for 'TencentSessionDelegate'
- iOS-Error:Cannot find protocol definition for 'TencentSessionDelegate'
- Cannot find PDL type for output device
- The type java.lang.Object cannot be resolved. Cannot find the class file for java.lang.Object
- Cannot find wrapper assembly for type library "VBIDE" 解决
- Cannot find interface declarartion for 'nsobject' & Unknow type name 'NSString'
- Cannot find the class file for java.lang.Object”
- Cannot find the class file for javax.servlet.ServletContext.
- Cannot find the class file for java.lang.Object
- Cannot find the class file for java.lang.Object
- Cannot find the class file for javax.servlet.ServletContext.
- Cannot find the class file for javax.servlet.ServletContext.
- Cannot find the class file for java.lang.Object
- Cannot find the class file for javax.servlet.ServletContext.
- Cannot find an initializer for type '[(String)]' that accepts an argument list of type '(LazyForward
- Node.js cannot find module ***
- 极大似然估计和贝叶斯估计
- HashMap和Hashtable的区别
- form表单提交前验证
- 数据倾斜
- linux下 pppoe通过直接设置配置文件方式进行拨号
- vscode 升级1.18遇到Cannot find type definition file for 'node'
- 【Android】Do not requestWindow.FEATURE_SUPPORT_ACTION_BAR and set windowActionBar to false in your th
- 【图解】共模干扰,差模干扰
- javascript中的各种事件说明
- python3 安装tensorflow
- 控制器加载的玄机
- RAC 集群 连接的时候报错 ora-12541
- MYSQL的COMMIT和ROLLBACK
- 关于verilog-2001标准中signed类型的reg/wire