Tag Archives: Daily problem solving

[Solved] 530 This server does not allow plain FTP. You have to use FTP over TLS

FileZilla Server You have to use FTP over TLS”, you can check the message when you use “530 This server does not allow plain FTP.
The message is: 530 This server does not allow plain FTP. You have to use FTP over TLS

Solution:
Click EDit –> Settings –> FTP over TLS setting, uncheck **Enable FTP over TLS support(FTPS)** and it will be OK (so that the encryption method does not use explicit FTP over TLS)

Cannot read property ‘this compilation’ of undefined appears in copy webpack plugin

Today, I want to copy the pictures of the company’s projects to build / images,

Direct installation

 npm install copy-webpack-plugin --save-dev

, using the latest official documentation

 new CopyPlugin({
      patterns: [
        { from: 'source', to: 'dest' },
        { from: 'other', to: 'public' },
      ],
    }),

However, it is always reported that cannot read property ‘this compilation’ of undefined

The results show that the webpack is “^ 1.13.2” because the company’s projects are older,

So you can reduce the copy webpack plugin version to below 5.0.0, and then use the old writing method

For example, “copy webpack plugin”: “^ 4.6.0”,