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

ERROR: ENOENT: no such file or directory, open 'e:\tmp\...' #31

Open
Sunjiawei58 opened this issue Sep 29, 2017 · 1 comment
Open

ERROR: ENOENT: no such file or directory, open 'e:\tmp\...' #31

Sunjiawei58 opened this issue Sep 29, 2017 · 1 comment

Comments

@Sunjiawei58
Copy link

router.get('*', gallery({
staticFiles : 'resources/albums',
urlRoot : 'gallery',
title : 'Images',
render: false
}), function(req, res, next) {
console.log(req.data)
// res.render('image/delete.handlebars',req.html)
res.send(req.html)
})
above is my code to use the gallery. the problem is that when I went into the gallery page. the node crashed with the error info in the title. I have installed the imageMagic (I can run "convert.exe" in the CMD). Any ideas about how to solve this problem?? Thanks very much

@earthengine
Copy link

I have the same issue as well. The workaround is manually create a folder it requires:

mkdir e:\tmp

Then the problem is gone. Must be that the package have hard-coded the location of the system temp folder. This should be fixed in my opinion.

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