DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated

Update 2021, Feb 25 Html-webpack-plugin v5 is released, just run npm i -D html-webpack-plugin@latest or npm uninstall html-webpack-plugin npm i -D html-webpack-plugin Original answer This is mostly related to html-webpack-plugin, and while its new version 5 (integrated with webpack v5) is still in beta, you should update it manually: npm show html-webpack-plugin version 4.5.1 npm … Read more

Error: Should not import the named export ‘version’ (imported as ‘version’)

Change the following import { version } from ‘../../package.json’; to something like import packageInfo from ‘../../package.json’; And then change your access from something like version, or version: version, to version: packageInfo.version, As noted in the comments, there may be cases where you do not want to expose your entire package.json file in the client code.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)