weidian-inc / hera

A framework for running WeChat applet. (小程序 SDK,小程序转 H5,小程序转安卓、iOS 原生应用、小程序渲染引擎)
https://weidian-inc.github.io/hera
Other
1.48k stars 315 forks source link

The initialization running error in Windows7 #12

Closed harrydengchao closed 6 years ago

harrydengchao commented 6 years ago

description:

system


operation history:

image


Thank you.

IOriens commented 6 years ago

There is a blank space in the path to where hera-cli was installed. image

You can try to execute the following command with the path quoted by the single quotation mark. image Like this:

node 'c:\Program FIles\node\......'  simple -b -d heraTmp/web

It would be great if you can tell us whether it works, it seems that we should quote the executable command's path all the time.

harrydengchao commented 6 years ago

updated hera-cli to 1.2.3


Executing. As a failure image


It seems to be a path problem, indicating the "Cannot find module 'C:\ Program'. image

IOriens commented 6 years ago

We've fixed this problem and published it to npm. You can use the following command to upgrade your cli and try it again, thanks for your feedback.

npm i -g hera-cli
harrydengchao commented 6 years ago

fixed. nice