当我运行ionic serve时,我的web浏览器中没有显示任何内容
ionic serve
这是我收到的:
Monas-MacBook-Pro:myDemoApp mona$ ionic serve
The port 35729 was taken on the host localhost - using port 35730 instead
Running live reload server: http://localhost:35730
Watching : [ 'www/**/*', '!www/lib/**/*' ]
Running dev ser
我刚刚开始使用ionic框架,我已经安装了运行ionic应用程序所需的所有东西。我已经设置了简单的离子应用程序使用
ionic start todo blank
当我从项目的根目录运行此应用程序时,它抛出错误:
Error occured [ReferenceError: IonicProject is not defined]
ReferenceError: Utils is not defined
at Object.IonicTask.run (/usr/local/lib/node_modules/ionic/lib/ionic/serve.js:36:12)
----
每当我试图启动我的项目时,我都会发现以下错误:
$ ng serve
您的全局角CLI版本(1.7.3)大于本地版本(1.6.8)。使用本地角度CLI版本。
若要禁用此警告,请使用"ng set --全局warnings.versionMismatch=false“。
无法读取null的属性“config”
(D:\Projekte\Advanced-ban\webinterface\node_modules\@angular\cli\tasks\serve.js:51:63) at (D:\Projekte\Advanced-an\webinterface\node_modules
我无法构建我的ionic 2应用程序。Serving在更改文件后工作。
在ionic serve上,我得到以下错误消息:
[07:36:10] ionic-app-scripts 1.0.0
[07:36:10] watch started ...
[07:36:10] build dev started ...
[07:36:10] clean started ...
[07:36:10] clean finished in 1 ms
[07:36:10] copy started ...
[07:36:10] transpile started ...
[07:
我是个新手。我在爱奥尼亚大学有个项目。我想运行它,但是当我键入ionic serve时,它给了我一个错误。 TypeError: Cannot read property 'pipe' of undefined
at Promise (/usr/local/lib/node_modules/ionic/lib/serve.js:445:26)
at new Promise (<anonymous>)
at IonicAngularServeCLI.<anonymous> (/usr/local/lib/node_modules/ionic/lib/se