You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@weex.apache.org by "Edward Zhang (JIRA)" <ji...@apache.org> on 2017/11/10 06:54:00 UTC
[jira] [Closed] (WEEX-103) I can not launch project from weex init
project.
[ https://issues.apache.org/jira/browse/WEEX-103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Edward Zhang closed WEEX-103.
-----------------------------
Resolution: Fixed
node modules install interrupt. Maybe it caused error. thank you everyone.
> I can not launch project from weex init project.
> ------------------------------------------------
>
> Key: WEEX-103
> URL: https://issues.apache.org/jira/browse/WEEX-103
> Project: Weex
> Issue Type: Bug
> Components: Web Renderer
> Reporter: Edward Zhang
> Assignee: Danz He
>
> *When I use "weex init xxx". I created a project. And I use "npm install", "npm run build", "npm run serve". my browser locate to "localhost:8080". I got errors. such as below:*
> ERROR in index.web.js from UglifyJs
> Unexpected token: name (urlParts) [index.web.js:331,4]
> Child html-webpack-plugin for "index.html":
> chunk {0} index.html 963 bytes [entry]
> + 1 hidden modules
> webpack: Failed to compile.
> webpack: Compiling...
> Hash: bae393e30d4529710578 Version: webpack 2.7.0
> Time: 135ms
> Asset Size Chunks Chunk Names
> index.web.js 338 kB 0 [emitted] [big] index
> index.web.js.map 405 kB 0 [emitted] index
> chunk {0} index.web.js, index.web.js.map (index) 333 kB [entry]
> [2] ./temp?entry=true 87 bytes {0} [built]
> [32] ./~/webpack/hot nonrecursive ^\.\/log$ 160 bytes {0} [built]
> + 32 hidden modules
> ERROR in index.web.js from UglifyJs
> Unexpected token: name (urlParts) [index.web.js:331,4]
> Child html-webpack-plugin for "index.html":
> chunk {0} index.html 963 bytes [entry]
> + 1 hidden modules
> webpack: Failed to compile.
> *Is my environment problems? my weex version is:*
> $ weex -version
> v1.1.0-beta.6
> - weexpack : v0.4.7-beta.11
> - weex-builder : v0.2.13-beta.4
> - weex-devtool : v0.3.2-beta.8
> - weex-previewer : v1.3.13-beta.9
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)