ElementUI / element-theme

Theme generator cli tool for Element.
MIT License
493 stars 142 forks source link

et -i , please install `element-theme-chalk` #42

Closed ninuxGithub closed 6 years ago

ninuxGithub commented 6 years ago

根据readme提示,安装了 image

但是在.bin目录:et -i 报错:please install element-theme-chalk 但是在element-theme-chalk/element-theme-chalk是安装成功的 为何?

ninuxGithub commented 6 years ago

fllow the step to install element-theme ,but when use the command "et -i" , it stills tell me that "element-theme-chalk" is no installed , actually element-theme-chalk has installed sucessfully, why?

yinxianwei commented 6 years ago

npm i element-theme -g

ghost commented 6 years ago

After lookuping the code, calculate themePath by process.cwd(). Namely, you run et -i on wrong path. You ought to run et -i on project root directory(not under .bin directory)

ninuxGithub commented 6 years ago

thanks very much , problem fixed