You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@weex.apache.org by erha19 <gi...@git.apache.org> on 2017/10/25 06:56:27 UTC

[GitHub] incubator-weex-site pull request #3: Update guide and weex-toolkit document.

GitHub user erha19 opened a pull request:

    https://github.com/apache/incubator-weex-site/pull/3

    Update guide and weex-toolkit document.

    Update guide and weex-toolkit document.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/erha19/incubator-weex-site master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-weex-site/pull/3.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3
    
----
commit 187bb76c12822efa736a2f724ccc5915c984744a
Author: erha19 <75...@qq.com>
Date:   2017-10-25T06:55:23Z

    Update weex-guide document.

commit 968e93ab3454958f446804154094c628f521aa82
Author: erha19 <75...@qq.com>
Date:   2017-10-25T06:55:31Z

    Update weex-toolkit document.

----


---

[GitHub] incubator-weex-site pull request #3: [WEEX-86][doc] Update weex-toolkit docu...

Posted by erha19 <gi...@git.apache.org>.
GitHub user erha19 reopened a pull request:

    https://github.com/apache/incubator-weex-site/pull/3

    [WEEX-86][doc] Update weex-toolkit document.

    Update weex-toolkit document.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/erha19/incubator-weex-site master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-weex-site/pull/3.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3
    
----
commit 6a65895b22e624c78be35828f6c2bad452301999
Author: erha19 <fa...@gmail.com>
Date:   2017-11-27T13:33:19Z

    Update weex-toolkit document (list commands of weex-toolkit)

----


---

[GitHub] incubator-weex-site issue #3: [WEEX-86][doc] Update weex-toolkit document.

Posted by erha19 <gi...@git.apache.org>.
Github user erha19 commented on the issue:

    https://github.com/apache/incubator-weex-site/pull/3
  
    @Hanks10100 Please to have a review, thanks!


---

[GitHub] incubator-weex-site pull request #3: [WEEX-86][doc] Update weex-toolkit docu...

Posted by cxfeng1 <gi...@git.apache.org>.
Github user cxfeng1 commented on a diff in the pull request:

    https://github.com/apache/incubator-weex-site/pull/3#discussion_r147129588
  
    --- Diff: source/guide/index.md ---
    @@ -74,31 +74,40 @@ After doing that, you'll get a standard **Weex + Vue.js** project under the `awe
     ```bash
     cd awesome-app
     npm install
    -npm run start
    +npm start
     ```
     
    -It will start a web server on the `8080` port. You can open `http://localhost:8080/index.html` to see the result rendered on the web. Besides, You can also open the `http://localhost:8080/preview.html` to preview the web render result in iframe and with a QR code generated on the right, which you can use the [Weex plaground app]() to scan it to see the render result on the mobile.
    -
    -![Preview]()
    +It will start a web server on the `8080` port. You can open `http://localhost:8080` to see the result rendered on the web. Besides, You can also run `weex src/index.vue` to preview the web render result in iframe and with a QR code generated on the right, which you can use the [Weex plaground app](http://weex.apache.org/cn/playground.html) to scan it to see the render result on the mobile.
     
     ### Build and Run
     
    +By the below command, `weex-toolkit` will create `ios/android` project in your new project, you should 
    +make sure your project is created by the `weex-toolkit`.
    +
     ```bash
     weex platform add ios
     weex platform add android
     ```
     
    +You need to install [Xcode](https://developer.apple.com/xcode/) for you to provide ios running environment and `Android SDK` (as you can install [Android Studio](https://developer.android.com/studio/index.html) to manage your android environment) for you to provide android running environment.
    +
    --- End diff --
    
    Please provide more information here,  for example, how to install the iOS/Android simulators, I have installed Android Studio,  but when I run 'weex run android' ,  it doesn't work,  error message: `No android devices found.`


---

[GitHub] incubator-weex-site issue #3: [WEEX-86][doc] Update guide and weex-toolkit d...

Posted by erha19 <gi...@git.apache.org>.
Github user erha19 commented on the issue:

    https://github.com/apache/incubator-weex-site/pull/3
  
    That's because the update logic of the tool has been modified, you should
    update to latest version of weex-toolkit using below command:
    
    npm i weex-toolkit@latest -g
    
    If you have some other error while install weex-toolkit, you can see
    https://github.com/weexteam/weex-toolkit#faq for more solutions.



---

[GitHub] incubator-weex-site pull request #3: [WEEX-86][doc] Update weex-toolkit docu...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/incubator-weex-site/pull/3


---

[GitHub] incubator-weex-site issue #3: [WEEX-86][doc] Update guide and weex-toolkit d...

Posted by cxfeng1 <gi...@git.apache.org>.
Github user cxfeng1 commented on the issue:

    https://github.com/apache/incubator-weex-site/pull/3
  
    Something wrong happened when I ran `weex create awesome-app`:
    ```
    
    ➜  Test weex create awesome-app
    ? new version [0.4.7-beta2] of weexpack is detected. update now? Yes
    npm ERR! Darwin 17.0.0
    npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "weexpack" "--loglevel=error" "--registry=http://registry.npm.taobao.org"
    npm ERR! node v6.2.2
    npm ERR! npm  v3.9.5
    npm ERR! code EREADFILE
    
    npm ERR! Error extracting /Users/admin/.npm/weexpack-create/0.1.9/package.tgz archive: ENOENT: no such file or directory, open '/Users/admin/.npm/weexpack-create/0.1.9/package.tgz'
    npm ERR! 
    npm ERR! If you need help, you may report this error at:
    npm ERR!     <https://github.com/npm/npm/issues>
    
    npm ERR! Please include the following file with any support request:
    npm ERR!     /Users/admin/.xtoolkit/npm-debug.log
    Error: fatal error!
        at installer.(anonymous function).then (/usr/local/lib/node_modules/.weex-toolkit_npminstall/xtoolkit/0.2.8/xtoolkit/src/Command.js:49:31)
    ```


---

[GitHub] incubator-weex-site pull request #3: [WEEX-86][doc] Update weex-toolkit docu...

Posted by erha19 <gi...@git.apache.org>.
Github user erha19 closed the pull request at:

    https://github.com/apache/incubator-weex-site/pull/3


---