找不到插件“ cordova-plugin-ionic”的plugin.xml。请尝试再次添加

时间:2018-11-12 04:26:14

标签: cordova ionic-framework

无法安装离子插件。

步骤1:

Server is listening on port 8000...
----------------------------
{ page: 1,
  per_page: 3,
  total: 12,
  total_pages: 4,
  data: 
   [ { id: 1,
       first_name: 'George',
       last_name: 'Bluth',
       avatar: 'https://s3.amazonaws.com/uifaces/faces/twitter/calebogden/128.jpg' },
     { id: 2,
       first_name: 'Janet',
       last_name: 'Weaver',
       avatar: 'https://s3.amazonaws.com/uifaces/faces/twitter/josephstein/128.jpg' },
     { id: 3,
       first_name: 'Emma',
       last_name: 'Wong',
       avatar: 'https://s3.amazonaws.com/uifaces/faces/twitter/olegpogodaev/128.jpg' } ] }
----------------------------
TypeError: dispatch is not a function
    at eval (webpack-internal:///./src/js/actions/fetchApiTestAction.js:17:7)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)

第2步:

npm i cordova-plugin-ionic

错误:

  

CordovaError:找不到插件“ cordova-plugin-ionic”的plugin.xml。请尝试再次添加。

0 个答案:

没有答案