Unable to load PlatformApi from platform. Error: Unhandled “error” event.
(The platform “build” does not appear to be a valid cordova platform. It is missing API.js. build not supported.)
我什么都安装好了。为什么还会报这个错。。 网上没有找到答案= =
Using cordova-fetch for build@0.1.4
Adding build project...
Unable to load PlatformApi from platform. Error: Unhandled "error" event. (Does not appear to implement platform Api.)
(node:14208) [DEP0016] DeprecationWarning: 'GLOBAL' is deprecated, use 'global'
(node:14208) [DEP0025] DeprecationWarning: sys is deprecated. Use util instead.
Unhandled "error" event. (The platform "build" does not appear to be a valid cordova platform. It is missing API.js. build not supported.)
[ERROR] Exception:
D:\workspace-package\bkcapp-package>ionic cordova run build
> cordova platform add build --save
Using cordova-fetch for build@0.1.4
Adding build project...
Unable to load PlatformApi from platform. Error: Unhandled "error" event. (Does not appear to implement platform Api.)
(node:14208) [DEP0016] DeprecationWarning: 'GLOBAL' is deprecated, use 'global'
(node:14208) [DEP0025] DeprecationWarning: sys is deprecated. Use util instead.
Unhandled "error" event. (The platform "build" does not appear to be a valid cordova platform. It is missing API.js. build not supported.)
[ERROR] Exception: