【发布时间】:2018-04-11 11:31:23
【问题描述】:
尝试运行ionic serve 时,启动Webpack 后执行突然中止。有人知道发生了什么吗?
michaels-macbook-pro:ionic-app michael$ ionic serve
Starting app-scripts server: --address 0.0.0.0 --port 8100 --livereload-port 35729 --dev-logger-port 53703 - Ctrl+C to cancel
[13:56:46] watch started ...
[13:56:46] build dev started ...
[13:56:46] clean started ...
[13:56:46] clean finished in 1 ms
[13:56:46] copy started ...
[13:56:46] deeplinks started ...
[13:56:46] deeplinks finished in 67 ms
[13:56:46] transpile started ...
[13:56:51] transpile finished in 5.18 s
[13:56:51] preprocess started ...
[13:56:51] preprocess finished in 1 ms
[13:56:51] webpack started ...
[13:56:51] copy finished in 5.53 s
michaels-macbook-pro:ionic-app michael$
离子信息
cli packages: (/usr/local/lib/node_modules)
@ionic/cli-utils : 1.15.2
ionic (Ionic CLI) : 3.15.2
全局包:
cordova (Cordova CLI) : 7.1.0
本地包:
@ionic/app-scripts : 3.0.1
Cordova Platforms : browser 5.0.1 ios 4.5.2
Ionic Framework : ionic-angular 3.8.0
系统:
ios-deploy : 1.9.2
Node : v8.6.0
npm : 5.3.0
OS : macOS High Sierra
Xcode : Xcode 9.0.1 Build version 9A1004
环境变量:
ANDROID_HOME : not set
杂项:
backend : pro
离子服务-详细
[DEBUG] Reason for not using local CLI: LOCAL_CLI_NOT_FOUND
[DEBUG] CLI flags: { interactive: true, confirm: false }
[DEBUG] { cwd: '/Users/michael/IdeaProjects/dercampus/app', local: false, binPath: '/usr/local/lib/node_modules/ionic/bin/ionic', libPath: '/usr/local/lib/node_modules/ionic/dist/index.js' }
[DEBUG] Daemon found (pid: 777)
【问题讨论】:
-
ionic info....? -
@Sampath 已更新
-
能不能完全关闭VS代码重新启动?
-
@Sampath 这是什么意思?
-
也许您有超过 1 个实时服务器正在运行。所以把他们都杀了,然后重新开始。
标签: angular typescript webpack command-line-interface ionic3