Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

windows weex init missing devDependencies #1

Closed
theseawolves opened this issue Jul 5, 2016 · 1 comment
Closed

windows weex init missing devDependencies #1

theseawolves opened this issue Jul 5, 2016 · 1 comment

Comments

@theseawolves
Copy link

win7 x64 git-windows node v5.6.0
cnpm install -g weex-toolkit
weex init 
enter
enter
...

cnpm run dev

> weex-zhihu@1.0.0 dev F:\0_front\weex-zhihu
> webpack --watch & serve -p 12580

'webpack' ▒▒▒▒▒ڲ▒▒▒▒ⲿ▒▒▒Ҳ▒▒▒ǿ▒▒▒▒еij▒▒▒
▒▒▒▒▒▒▒▒▒ļ▒▒▒
'serve' ▒▒▒▒▒ڲ▒▒▒▒ⲿ▒▒▒Ҳ▒▒▒ǿ▒▒▒▒еij▒▒▒
▒▒▒▒▒▒▒▒▒ļ▒▒▒

find out in package.json ,missing 'devDependencies' prop

add it from weex-toolkit/project-template

"devDependencies": {     
    "serve": "^1.4.0",     
    "webpack": "^1.13.1",    
    "weex-html5": "0.2.18",    
    "weex-loader": "^0.1.5"     
  }

cnpm install

it works!!

@lvscar
Copy link
Contributor

lvscar commented Jul 5, 2016

thx report , our latest package.json template content these dependencies information

@lvscar lvscar closed this as completed Jul 7, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants