Skip to content

Response code 404 (Not Found) when Vite app is successfully running. #293

@bluebill1049

Description

@bluebill1049

Hi,

I am trying to migrate from CRA to Vite

However, I am encountering an issue with running the app within the cypress GitHub action.

here is a screenshot of the issue

Screen Shot 2021-02-08 at 7 48 53 pm

PR: react-hook-form/react-hook-form#4132

More Context:

  • nothing else is changed at the config level, except switch from CRA to Vite.
  • running it locally is fine.

Screen Shot 2021-02-08 at 8 01 00 pm

  • standard action script
name: E2E Test

on: [pull_request]

jobs:
  cypress-run:
    runs-on: ubuntu-16.04
    steps:
      - uses: actions/checkout@v2
      - name: Cypress run
        uses: cypress-io/github-action@v2
        env:
          DEBUG: 'cypress:*'
        with:
          start: npm run start:app
          wait-on: 'http://localhost:3000/'
          wait-on-timeout: 60

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions