question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deploying with a Github Action to Deno Deploy is not working with Fresh 1.1.0

See original GitHub issue

When my project is deployed with my Github Action, I get error like this about h Screenshot 2022-09-08 at 12 59 47 PM

Here’s a deployment gone wrong fresh-strapi-q1s1v7x99dt0.deno.dev

But if I cut the action out and deploy directly, it all works fine. “Automatic” mode:

https://fresh-strapi-c8qdcmwm5rt0.deno.dev/

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:3
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

6reactions
lucacasonatocommented, Sep 8, 2022

GitHub Action deployment mode does not support reading deno.json yet, which is necessary for automatic JSX, because of the compilerOptions in the config file.

5reactions
mariusschulzcommented, Sep 8, 2022

If you specify the import-map key in the Action configuration, that is being respected. If you only configure the import map via deno.json though, it won’t be picked up.

Similarly, a custom JSX factory already works today if you explicitly specify the @jsx React.createElement pragma in all of your component modules.

However, I think there’s a case to be made that deno.json should be picked up automatically and “just work”, which is what this issue should be about.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deno Deploy error · Issue #953 · denoland/fresh - GitHub
I have a website built in Fresh. I didn't touch it for few months, now I just went and changed some CSS, pushed...
Read more >
deployctl/README.md at main - GitHub
The Deno Deploy GitHub Action allows for easy deployment to Deno Deploy from a GitHub Actions workflow. This allows a simple way to...
Read more >
denoland/fresh: The next-gen web framework. - GitHub
Link the Deno Deploy project to the main.ts file in the root of the created repository. The project will be deployed to a...
Read more >
Actions · denoland/fresh - GitHub
The next-gen web framework. Contribute to denoland/fresh development by creating an account on GitHub.
Read more >
Issues · denoland/deploy_feedback - GitHub
For reporting issues with Deno Deploy. Contribute to denoland/deploy_feedback development by creating an account on GitHub.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found