简体   繁体   English

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

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

When I start ionic serve i got error:当我开始 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**

What happened here?这里发生了什么? How to fix this ?如何解决这个问题? I am try to remove node module then npm install ...no work我尝试删除节点模块然后 npm install ...没有工作

I am try to go do different node version ... no work..我正在尝试做不同的节点版本......没有工作..

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

相关问题 离子服务需要错误 @ionic/app-scripts 才能正常工作 - ERROR @ionic/app-scripts is required for ionic serve to work properly 离子服务:ng run app:serve --host=localhost --port=8100 错误:spawn ng EACCES - ionic serve: ng run app:serve --host=localhost --port=8100 Error: spawn ng EACCES 无法通过离子服务在本地主机中提供ionic3应用程序(空白页) - Cannot serve ionic3 app in localhost with ionic serve (blank page) 离子服务不适用于“应用内浏览器”插件 - ionic serve not working with 'in app browser' plugin 发生未处理的异常:项目“app”不存在。 离子服务后收到此错误 - An unhandled exception occurred: Project "app" does not exist. getting this error after ionic serve Ionic 2错误:TypeError:AppScripts.serve不是函数 - Ionic 2 Error: TypeError: AppScripts.serve is not a function 为什么新项目的离子服务出现错误? - Why here is an error in ionic serve for new project? 离子服务-运行时错误:找不到推插件(IONIC 2) - ionic serve - Runtime Error : Push plugin not found (IONIC 2) select 图像来自 ionic 应用程序中的计算机,以将其提供给服务器 - select image from computer in ionic app to serve it to server 将 angular 转换为 ionic 但它不会服务,给出找不到项目的错误 - Converted angular to ionic but it won't serve, give error that project is not found
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM