-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with coffeescript syntax #79
Comments
Hey , It is because of the coffeescript version use older version of coffee compiler v1.12.7 |
Drop coffee script and switch to es7... |
@jimmywarting and how can i do that when install? |
@lapwat u solve that? I face same problem here with node v10 and centos. |
I am affraid I didn't... Try installing an older version of coffeescript like @esinanturan suggested. Version 1.12.7 worked on my Arch. $ sudo npm uninstall -g coffeescript
$ sudo npm install -g coffeescript@1.12.7
$ coffee -v
#CoffeeScript version 1.12.7
$ sudo npm install hangupsjs The above error is dropped but another permission error popped up. Let me know if you figured it out or create an issue. Best, |
this is not only old and deprecated, this is non-transpiled coffee-script code, I didn't get 1.12.7 to work :( |
Having this issue in Manjaro.
|
Hi,
When I
npm install hangupsjs
I getnode_modules/hangupsjs/src/auth.coffee:32:49: error: unexpected -> class AuthError extends Error then constructor: -> super ^^
If I install coffescript via brew or npm, I get the same error.
I think this has something to do with ES6 syntax of coffescript. Does it support it ? Which version should I install ?
Thank you all
The text was updated successfully, but these errors were encountered: