Error Failed to compile with 1 errors: Cannot GET /
Share the solution to the problem I encountered for your reference!
Today, while running the Vue project, the following error occurred on the command line:
Browser access returned the following error: no root route was found
Js, and the actual name of the project has changed. In the configuration file, the name is main.html, and in the root directory of the project, it is index.html
Therefore, change main.html to index.html in the configuration file and the project will start successfully.
Share the solution to the problem I encountered for your reference!
Today, while running the Vue project, the following error occurred on the command line:
Browser access returned the following error: no root route was found
Js, and the actual name of the project has changed. In the configuration file, the name is main.html, and in the root directory of the project, it is index.html
Therefore, change main.html to index.html in the configuration file and the project will start successfully.
Read More:
- Error failed to compile with 1 errors
- [Solved] ERROR Failed to compile with 3 errors These dependencies were not found: * pdfjs-dist/es5/buil
- Error failed to compile with 1 errors after finding NPM run dev
- @Solution of error failed to get response from / Vue cli version marker
- How to Solve Ubuntu18 Compile Kalibr Error (Various Errors)
- About node error NPM update check failed try running with sudo or get access to the local update
- After NPM run dev is running, the browser does not respond and reports an error in. / ~ / Babel loader / lib! / ~ / Vue loader / lib/ selector.js?type=script&in
- Web Crawler: How to get the data in the web page and disguise the header, disguise as a browser to visit many times, avoid a single visit leading to IP blocked
- Using Lombok to compile and report errors
- Solutions to errors in the final running of JDBC programming
- Syntax error in Vue ie10 browser
- Error building player because scripts have compile errors in the editor
- Solutions to errors in virtual machine running in Android studio
- Vue project, browser error: referenceerror: H is not defined
- The browser console reports failed to load resource: net :: ERR_CONNECTION_RESET, which results in unable to log in
- Running Django manager.py report errors Error:111 connecting to 127.0.0.1:6379.connection refused
- IIS 7.5, ASP.NET MVC. HTTP error 500 (internal server error), but debugging does not enter the background, the browser only reports 500 errors
- Failed to load plugin react: cannot find module ‘eslint plugin react’ appears when running Vue project‘
- Solutions to errors reported by running pytest.ini configuration file
- Maven project running servlet jump JSP error: HTTP status 500 – unable to compile class for JSP