Without further ado, above…

During the development phase, an error occurs during the running of the code. The error message displayed on the browser console is shown in the figure above.

The number of error lines indicated in the figure above is 144, when the actual number of lines is 137.

Solution: Configure it in the vite. Config. js file

build: {  
  sourcemap: true
}
Copy the code

Can solve the problem of inconsistency ~

Share the record!

Remember, keep flowers. (° °) Blue ✿