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:
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)
- 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!