igorklopov / enclose

Compile your Node.js project into an executable
http://enclosejs.com
Other
936 stars 43 forks source link

Error: yield can't run at enclose-v0.12.7 #68

Closed Srar closed 7 years ago

Srar commented 9 years ago

Code: 6f996143-2019-49d3-b2b3-62bc1a61a930

Error message: f0bcd74c-5f56-4e8f-ad3b-c31afaf1e606

AleCaste commented 8 years ago

I am having the same problem with node version 0.12.10

  error  evalmachine.<anonymous>:61
  co(function*(){
             ^
Unexpected token *

Those node versions require the --harmony-generators flag in order to work with generators. But how can we specify this in Enclose?

igorklopov commented 7 years ago

Dear users of EncloseJS! I highly encourage you to switch to https://github.com/zeit/pkg It is rewritten successor of EncloseJS. It is open source, and all improvements will go there. Please check if pkg has your issue unresolved, and if it is true, reopen your issue there: https://github.com/zeit/pkg/issues