deploy_feedback icon indicating copy to clipboard operation
deploy_feedback copied to clipboard

Github actions deployment failed due to local import not found.

Open dionjwa opened this issue 3 years ago • 0 comments

Source repository: https://github.com/metapages/metaframe-generic-js-runtime

Failed github action: https://github.com/metapages/metaframe-generic-js-runtime/runs/7815903455?check_suite_focus=true

Relevant file structure:

client/src/shared/config.ts
server/server.ts

Relevant error logs:

Entrypoint: file:///src/server/server.ts

...
Error: The deployment failed: Module not found "file:///src/client/src/shared/config.ts"

Running the server works locally:

deno run --allow-net server/server.ts

So perhaps the deployment logic doesn't like paths originating from a parent directory relative to the Entrypoint?

Update

It fails even if I move the config.ts import right next to server.ts

dionjwa avatar Aug 13 '22 01:08 dionjwa