Vue reported an error! Can't solve the urgent need for help!

This dependency was not found:

  • App in ./src/main.js

To install it, you can run: npm install --save App

problem description

the environmental background of the problems and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

Apr.09,2021

take a closer look, the error report means that the App? you quoted cannot be found in main.js.

because the information given by the question is incomplete, I guess that this problem occurs when the main.js file has a sibling App.vue,
result import App from "App" .

try import App from ". / App.vue" ?


App this component does not reference correctly
you are using import App from "App"
this is the
that is used to reference the installed npm package, please add a path such as import App from ". / App.vue"

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b39ddd-34595.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b39ddd-34595.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?