Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@hono throwing in Github Pages #1071

Closed
1 task done
charlieforward9 opened this issue Jul 4, 2024 · 2 comments
Closed
1 task done

@hono throwing in Github Pages #1071

charlieforward9 opened this issue Jul 4, 2024 · 2 comments

Comments

@charlieforward9
Copy link

What version of million are you using?

1.0.0-rc.76

Are you using an SSR adapter? If so, which one?

None

What package manager are you using?

npm

What operating system are you using?

Mac (Locally), Linux (Github Pages)

What browser are you using?

Chrome, but NA

Describe the Bug

The project works fine in local development, but when I go to deploy it on Github pages, this error is thrown.

I noticed that @HONO is a dependency of Million, so I will have to uninstall it until this is addressed.

failed to load config from /home/runner/work/NEW_HEAT/NEW_HEAT/vite.config.ts
error during build:
TypeError: Class extends value undefined is not a constructor or null
    at file:///home/runner/work/NEW_HEAT/NEW_HEAT/node_modules/@hono/node-server/dist/index.mjs:20:15
    at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:530:24)
    at async loadConfigFromBundledFile (file:///home/runner/work/NEW_HEAT/NEW_HEAT/node_modules/vite/dist/node/chunks/dep-CzJTQ5q7.js:66984:[15](https://github.com/charlieforward9/NEW_HEAT/actions/runs/9788038243/job/27025467467#step:5:16))
    at async loadConfigFromFile (file:///home/runner/work/NEW_HEAT/NEW_HEAT/node_modules/vite/dist/node/chunks/dep-CzJTQ5q7.js:66825:24)
    at async resolveConfig (file:///home/runner/work/NEW_HEAT/NEW_HEAT/node_modules/vite/dist/node/chunks/dep-CzJTQ5q7.js:66435:24)
    at async build (file:///home/runner/work/NEW_HEAT/NEW_HEAT/node_modules/vite/dist/node/chunks/dep-CzJTQ5q7.js:65530:[18](https://github.com/charlieforward9/NEW_HEAT/actions/runs/9788038243/job/27025467467#step:5:19))
    at async CAC.<anonymous> (file:///home/runner/work/NEW_HEAT/NEW_HEAT/node_modules/vite/dist/node/cli.js:828:5)
Error: Process completed with exit code 1.

What's the expected result?

No errors, working as expected like in development

Link to Minimal Reproducible Example

NA

Participation

  • I am willing to submit a pull request for this issue.
Copy link

github-actions bot commented Jul 4, 2024

Thanks for opening this issue! A maintainer will review it soon.

@charlieforward9 charlieforward9 changed the title Issue with hono dependency @hono throwing in Github Pages Jul 4, 2024
@aidenybai
Copy link
Owner

No repro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants