Skip to content

Error to call phantomjs in production. #5

@felipesmendes

Description

@felipesmendes

Hi Ryan,

I'm developing my application in Windows but my server production is in Linux and when I call the webshot method is given this error:

Error: spawn /Tracker/bundle/programs/server/npm/node_modules/phantomjs-prebuilt/lib/phantom\bin\phantomjs.exe ENOENT
    at exports._errnoException (util.js:746:11)
    at Process.ChildProcess._handle.onexit (child_process.js:1057:32)
    at child_process.js:1151:20
    at process._tickCallback (node.js:355:11)

I think its because I installed NPM packages in Windows.
Do you know how to solve it?

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