Skip to content

Internal server error: Failed to resolve import "@formkit/auto-animate/vue" from "resources\js\app.js". Does the file exist? #133

@ghost

Description

Good day, guys :)

I spent ~ about 2hours trying to make it work so I decided to post it here.

I exactly did the following:

  1. npm install @formkit/auto-animate
  2. import { autoAnimatePlugin } from '@formkit/auto-animate/vue'
  3. app.use(autoAnimatePlugin);

but I kept getting this error!

Screenshot

I use:

  • Laravel 10.3
  • Laragon with SSL enabled
  • Vue 3.2
  • Vite 4

please note that the environment/setup/application is already there fully running and functioning well but if I add this import the system crashes, meaning if I commented on this line: import { autoAnimatePlugin } from '@formkit/auto-animate/vue' things will go back to normal.

I just desired to add this amazing animation to add life to my application.

kindly advice 🙏🌹

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions