PhoneGap中文网

 找回密码
 立即注册
查看: 19612|回复: 2

ionic集成crosswalk失败(ionic browser add crosswalk )

[复制链接]

1

主题

1

帖子

7

积分

新手上路

Rank: 1

积分
7
发表于 2016-8-31 14:17:42 | 显示全部楼层 |阅读模式
(node:6624) fs: re-evaluating native module sources is not supported. If you are
using the graceful-fs module, please update it to a more recent version.
  _             _
(_)           (_)
  _  ___  _ __  _  ___
| |/ _ \| '_ \| |/ __|
| | (_) | | | | | (__
|_|\___/|_| |_|_|\___|  CLI v2.0.0

Usage: ionic task args


=======================
browser is not a valid task


Available tasks:
(use --help or -h for more info)


   start  ..........  Starts a new Ionic project in the specified PATH
   serve  ..........  Start a local development server for app dev/testing
   setup  ..........  Configure the project with a build tool (beta)
   generate  .......  Generate pages and components
   platform  .......  Add platform target for building an Ionic app
   run  ............  Run an Ionic project on a connected device
   emulate  ........  Emulate an Ionic project on a simulator or emulator
   build  ..........  Build (prepare + compile) an Ionic project for a given pla
tform.

   plugin  .........  Add a cordova plugin
   resources  ......  Automatically create icon and splash screen resources (bet
a)
                      Put your images in the ./resources directory, named splash
or icon.
                      Accepted file types are .png, .ai, and .psd.
                      Icons should be 192x192 px without rounded corners.
                      Splashscreens should be 2208x2208 px, with the image cente
red in the middle.

   upload  .........  Upload an app to your Ionic account
   share  ..........  Share an app with a client, co-worker, friend, or customer

   lib  ............  Gets Ionic library version or updates the Ionic library
   io  .............  Integrate your app with the ionic.io platform services (al
pha)
   security  .......  Store your app's credentials for the Ionic Platform (alpha
)
   push  ...........  Upload APNS and GCM credentials to Ionic Push (alpha)
   package  ........  Use Ionic Package to build your app (alpha)
   config  .........  Set configuration variables for your ionic app (alpha)
   service  ........  Add an Ionic service package and install any required plug
ins
   add  ............  Add an Ion, bower component, or addon to the project
   remove  .........  Remove an Ion, bower component, or addon from the project
   list  ...........  List Ions, bower components, or addons in the project
   info  ...........  List information about the users runtime environment
   help  ...........  Provides help for a certain command
   link  ...........  Sets your Ionic App ID for your project
   hooks  ..........  Manage your Ionic Cordova hooks
   state  ..........  Saves or restores state of your Ionic Application using th
e package.json file
   docs  ...........  Opens up the documentation for Ionic
回复

使用道具 举报

0

主题

4

帖子

16

积分

新手上路

Rank: 1

积分
16
发表于 2016-9-1 12:18:08 | 显示全部楼层
同上,楼主找到解决方法了吗?

browser is not a valid task
回复 支持 反对

使用道具 举报

0

主题

4

帖子

16

积分

新手上路

Rank: 1

积分
16
发表于 2016-9-1 14:30:05 | 显示全部楼层
成膜的赵工 发表于 2016-9-1 12:18
同上,楼主找到解决方法了吗?

browser is not a valid task

网上查了一些资料,可能是因为版本的原因:

之前使用:ionic browser add crosswalk
如今这种方式已经做了调整  我们可以直接在cordova 中集成crosswalk 了
cordova  plugin add cordova-plugin-crosswalk-webview

原贴:http://bbs.phonegap100.com/forum ... cordova%2Bcrosswalk
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

站长推荐 上一条 /1 下一条

ionic4视频教程

Archiver|手机版|小黑屋| PhoneGap中文网 ( 京ICP备13027796号-1 )  

GMT+8, 2024-3-29 06:37 , Processed in 0.056741 second(s), 33 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表