Skip to content

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

@Sunjiawei58

Description

@Sunjiawei58

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions