Tag Archives: Problem record

ERROR Failed to compile with 1 errors

Error description

Vue-cli3 project compilation reported an error error failed to compile with 1 errors , but there is no error message below.

The reason is that I put router.js is placed in the router folder, and a new is created routes.js to store referenced components. At first, I thought it was the wrong configuration of Vue router or the wrong path of component reference.

Later, I found out that it was because I enabled eslint code checking routes.js there is an error in the code within the referenced component. What I want to do here is to move the component path one layer deeper (from views to views/acitve ), but the image path quoted in it is still the original, so it is wrong.

terms of settlement

Just change to the right path.

How to Solve Flash Download failed – “Cortex-M3”

A few days ago, when playing stm32f1, there was such an error when burning the code.

Error:Flash Download failed – “Cortex-M3”

First of all, we must look at the configuration

With different simulators, you need to configure different options. You can see the product description by yourself.

After confirming that there is no problem with the configuration, the same problem still appears. You can go to the configuration box in the following figure:

After clicking “add”, the following programming algorithm will appear:

Find the corresponding model of your chip and click Add to solve the problem.

If it’s really unfortunate that you can’t find the model you need in programming algorithm, you can go directly to the installation keil folder

The MDK keil5/arm/pack/keil/stm32f1xx_ Find the. FLM file corresponding to the chip in DFP/1.1.0/flash

For example: if I can use stm32f1rbt6256k, I will choose stm32f10x_ CL.FLM .

Copy the selected file to MDK keil5/arm/flash. If there is a same file in the path, replace it.

In this way, you can see the chip model you need in programming algorithm.