Child_process (ignored) / TypeError: t(...).execFile is not a function

Hi

From the project TypeScript-React trying to run the Linux command.

. . . .
function linuxCommandExec() {
  const { exec } = require('child_process');
  exec('mkdir /1234', (error, stdout, stderr) => {
    if (error) {
      console.error(`exec error: ${error}`);
      return;
    }
    console.log(`stdout: ${stdout}`);
    console.error(`stderr ${stderr}`);
  });
}
linuxCommandExec();
. . . . 

yarn does not give errors when compiling, but there is a string where he writes:
[4] child_process (ignored) 15 bytes {0} [built]
(see the screenshot)

There is an error in the browser console while the plugin is running:
"TypeError: t(...).execFile is not a function"

Can someone tell me what the problem might be?

Environment:
OS: Debian
Grafana: v7.0.1
node: v12.17.0
npm: 6.14.8
yarn: 1.22.4
Template of plugin: simple-react-panel ( https://github.com/grafana/simple-react-panel )