[ https://issues.apache.org/jira/browse/WEEX-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16247081#comment-16247081 ]
erha19 commented on WEEX-103: ----------------------------- Hi, Edward Zhang This is a sub-installation error (see [issue|https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/132]), after weexpack 0.4.7 version, I have added `npm-shrinkwrap.json` to lock dependences while running `npm install` command. Maybe you should check your node environment, make sure your npm version >= 5.0 and node version >= 6.0, then remove the node_modules of your project and run `npm install` again. Let me know if there any questions. > 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)