Creating an app project with Weex create error in Index.web.js from UGLIFYJS errors!

Source: Internet
Author: User

Creates an app project with Weex Create, installs the dependent post-run report


This is Package.json.

Index.web.js is generated when the build is in the Dist directory.

The above answer does not give you details, sorry to apologize below to add:

    • Unloading
    npm uninstall weex-toolkit -g      // 卸载后一定用weex -v看下卸载了没!!!
    • To your node installed directory under the Nodejs node_modules see Weex-toolkit still not!!! (Windows)
      If you repeat the above command again after the deletion

Delete. Xtoolkit (C:usersadministrator.xtoolkit)
Remove NPM (C:USERSADMINISTRATORAPPDATAROAMINGNPM)

    • Install (Reinstall if there are errors in the installation!!) )

      // cnpm我没有进行测试npm install -g weex-toolkit// 安装weexpack npm install -g weexpack// 通过weex更新weexpackweex update weexpack
    • Please compare your version number with the following

    • Now try to create a project start success without error

* Note: Many of the following friends say there will be an error, is because the use of CNPM or yarn installation of dependence, if you have encountered on the NPM installed dependency!!!

Creating an app project with Weex create error in Index.web.js from UGLIFYJS errors!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.