Vue Cli Error on starting dev server
Closed this issue · 4 comments
I have applied all steps and then i am getting the error :
ERROR TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type number
Hi @canperk from which exact template where you running it and from which project?
If you could copy the full command and its output that would be great. (I would suggest to double check the npm command was run from the right folder where the frontend lives)
Hi @DaniJG !!
I consider that my project structure is not suitable for the middleware options. Hence i will copy here the file structure for your info. In addtion for your question, i am using adapted one
What command are you trying to run? Is it npm run serve
from within that CevSis.SuKalite.Web
project?
Note that the adapted template assumes:
- A full Vue-CLI application exists inside the client folder
- Both Vue and ASP.NET Core applications exists inside the same project
In that screenshot it seems that CevSis.SuKalite.Web
contains just the Vue-CLI app
I have seperated the projects to resolve the issue. Thanks