繁体   English   中英

提供 ionic 2 应用程序时出错? * 将是 `AssertionError` 类的实例

[英]Error with serve ionic 2 app ? * will be instances of the `AssertionError` class

当我开始 ionic serve 时出现错误:

Typescript Error
'{' or ';' expected.
Users/app/node_modules/@types/node/assert.d.ts
 * will be instances of the `AssertionError` class.
 */
class AssertionError extends Error {



Typescript Error
'{' or ';' expected.
Users/app/node_modules/@types/node/assert.d.ts
* An alias of {@link strictEqual}.
*
* **Legacy assertion mode**

这里发生了什么? 如何解决这个问题? 我尝试删除节点模块然后 npm install ...没有工作

我正在尝试做不同的节点版本......没有工作..

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM