镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Is this not compatible with Vite? #550

Open

Description

@TheLonerCoder

I had no issues using this in my vanilla React projects. Tried to use it with vite and nothing works.. clicking a link doesn't scroll. I'm using the exact same code and the exact same version i'm using in vanilla React too. Anyone else got this to work with Vite?

Activity

  1. rupinderDev commented on Apr 12, 2023

    @rupinderDev

    Hi, I am using it with vite without any problem.

  2. ToneeEnguix commented on May 15, 2023

    @ToneeEnguix

    I'm getting the following breaking error in Vite:
    GET http://localhost:5173/node_modules/.vite/deps/react-scroll.js?t=1684163175571&v=7f14b061 net::ERR_ABORTED 504 (Outdated Optimize Dep)

    Here's the repo: https://github.com/ToneeEnguix/el_sorrall
    To install run:

    • npm i
    • npm run dev

    Error should appear. Help appreciated!

  3. ToneeEnguix commented on May 15, 2023

    @ToneeEnguix

    ok I think my issue was very simple:

    I just deleted package-lock.json and node_modules and ran npm i again.

    Worked successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions