-
Notifications
You must be signed in to change notification settings - Fork 281
Install Dredd without having Coffee globally installed #629
Comments
@alikh31 Hi, Dredd should not require global CoffeeScript to be installed. At the time of I see you have npm v2.15.1, not sure whether it makes any difference. I just tried it out with npm 3.8.6 and it works. |
@honzajavorek well that's my thought as well, but I am not quite sure why this issue is popping up. In my machine or my test docker container I can't reproduce it, but somehow it happens in that machine which might be due to the tricky things in nvm. the dummy way that fixes it is having |
@alikh31 I'm completely okay with rewriting scripts/print-installation-guidelines.coffee to ES5 JavaScript if it makes portability better. Would you be willing to contribute it? The multiline string could be probably easily implemented as [
'line',
'line',
'line',
...
].join('\n') and the rest would be basically just adding semicolons 😄 |
@honzajavorek right there isn't much effort, have you guys considered writing the whole thing in ES6 maybe? the difference is not that much after all. |
@alikh31 Dredd's older than ES6/ES2015 :) It isn't that similar either and porting the whole codebase to ES2015 would mean a lot of time and effort while not a single new feature or bugfix would be there for Dredd users. That's something we can't afford with current resources. See coffeescript6/discuss#32 (comment) for details. Thanks for the PR, btw! |
sure, that's understandable. no problem. |
Hey guys,
Is there anyway you can modify the package to run without having coffee-script globally installed, coffee-script turned to a hidden dependencies for the package.
when I try to install the package as I get the error:
postinstall
doesn't seems to do much stuff, maybe usingrequire('coffee-script/register')
would solve the issue if you insist using coffee-script in all stand alone scripts.The text was updated successfully, but these errors were encountered: