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

Object #<Object> has no method 'forEach' #134

Closed
fengmk2 opened this Issue Jan 8, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@fengmk2
Member

fengmk2 commented Jan 8, 2014

TypeError: /home/www/git/cnpmjs.org/view/web/package.html:176
    174|         <th>Contributors</th>
    175|         <td>
 >> 176|         <% package.contributors.forEach(function (m) { %>
    177|           <span class="user">
    178|             <a class="username" href="/~<%= m.name %>">
    179|               <% if (m.gravatar) { %>

Object #<Object> has no method 'forEach'
    at eval (eval at <anonymous> (/home/www/git/cnpmjs.org/node_modules/connect-render/node_modules/ejs/lib/ejs.js:237:14), <anonymous>:80:280)
    at eval (eval at <anonymous> (/home/www/git/cnpmjs.org/node_modules/connect-render/node_modules/ejs/lib/ejs.js:237:14), <anonymous>:80:1340)
    at /home/www/git/cnpmjs.org/node_modules/connect-render/node_modules/ejs/lib/ejs.js:250:15
    at _render_tpl (/home/www/git/cnpmjs.org/node_modules/connect-render/lib/render.js:34:62)
    at /home/www/git/cnpmjs.org/node_modules/connect-render/lib/render.js:97:5
    at fs.js:266:14
    at Object.oncomplete (fs.js:107:15)

@ghost ghost assigned fengmk2 Jan 8, 2014

@fengmk2 fengmk2 closed this in 2482c06 Jan 8, 2014

dead-horse added a commit that referenced this issue Jan 8, 2014

Merge pull request #135 from fengmk2/hotfix
Object #<Object> has no method 'forEach' fixed #134
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment