AI-Planning / AI-Planning/cloud-solver

Cannot run locally

未关闭
#9 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
26
派生
8
PR 合并指标
30 天内没有已合并 PR

描述

Hi, I tried as the README that deploys on Heroku, which successes in response to the URL, however when I tried to run locally with command

`node web.js`

The same URL will always show errors about the phrase of the JSON file.

`SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at _processStopped (/Users/harbour/Desktop/graph_planner/cloud-solver/web.js:190:23)
at ChildProcess.exithandler (child_process.js:397:5)
at ChildProcess.emit (events.js:400:28)
at maybeClose (internal/child_process.js:1055:16)
at Socket. (internal/child_process.js:441:11)
at Socket.emit (events.js:400:28)
at Pipe. (net.js:675:12)
`

The URL is
`http://127.0.0.1:5001/solve?domain=http://www.haz.ca/planning-domains/classical/blocks/domain.pddl&problem=http://www.haz.ca/planning-domains/classical/blocks/probBLOCKS-4-1.pddl`
and
`https://safe-dusk-54737.herokuapp.com/solve?domain=http://www.haz.ca/planning-domains/classical/blocks/domain.pddl&problem=http://www.haz.ca/planning-domains/classical/blocks/probBLOCKS-4-1.pddl`

Any help?

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。