Search code examples
vuejs3npm-scriptsnpm-run

Package not found - Problems with a project in Vue3


I'm learning Vue3, but I'm with some problems when I try to create the project. I'm using Windows 10 and the more update versions of node and vue. This is my steps.

Initial configs

Create app

Starting server

The error message

I'm try update node and vue, clear the cash files, restart pc and server.


Solution

  • Creating Vue project with webpack is a bit out of date as per now. It mostly come with vite now which gives more faster developing experience.

    npm init vue@latest
    

    This is an interactive command to create a new project with vuejs with the latest features.