Skip to content
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

Doesn't build correctly against node v 0.10.1 #223

Closed
quii opened this issue Jun 5, 2013 · 6 comments
Closed

Doesn't build correctly against node v 0.10.1 #223

quii opened this issue Jun 5, 2013 · 6 comments

Comments

@quii
Copy link

quii commented Jun 5, 2013

I am running the latest version of node installed from brew.

npm install and the build step seem to work but I think it's generating JS which doesnt work as SwaggerUI throws an error in the js console:

Uncaught TypeError: Object # has no method 'merge'

@nizhu
Copy link

nizhu commented Jun 6, 2013

Since you mentioned you're mentioned latest, I assume you don't have any reason to not be running the latest version. The latest version on brew is 0.10.10 and it seems to be working fine for me.

brew update
brew upgrade node

@lenzenc
Copy link

lenzenc commented Jun 6, 2013

I'm having the same issue, did anyone find a solution?

I updated to node version 0.10.10 and still have the same issue.

@ventayol
Copy link

ventayol commented Jun 7, 2013

Same here.
Anyone have fixed the problem?

@ventayol
Copy link

ventayol commented Jun 7, 2013

I've found the solution to this problem.

What's broken is handlebar 1.0.12, some other projects have the same issue.
If you are having this problem you can fix it changing package.json. Change:
"handlebars": "~1.0.10"
to
"handlebars": "1.0.10"

More info:
handlebars-lang/handlebars.js#547

@lenzenc
Copy link

lenzenc commented Jun 10, 2013

Thanks ventayol, that did the trick.

@fehguy
Copy link
Contributor

fehguy commented Aug 2, 2014

please reopen if still an issue

@fehguy fehguy closed this as completed Aug 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants