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

express partials Error: ENAMETOOLONG: name too long, open ' #51

Open
cmarrero01 opened this issue Apr 10, 2017 · 1 comment
Open

express partials Error: ENAMETOOLONG: name too long, open ' #51

cmarrero01 opened this issue Apr 10, 2017 · 1 comment

Comments

@cmarrero01
Copy link

Hi,

I have this error on my nodeJS app.

Error: ENAMETOOLONG: name too long, open '/Users/username/Documents/project/front/web/

My code is:

var response = { partials: { navbar: 'templates/directives/navbar' }, note: { title: 'Home' }, data: { home: doc } }; res.render('index.html',response);

This is with node 6.10.. I dont' know where is the problem, I google this and I get nothing .

@slaskis
Copy link
Member

slaskis commented Apr 11, 2017

Hmm..I have not seen this nor have any idea why it happens.

Does it behave differently with other node versions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants