Node.js - Child Processes
Identify the error in this code snippet:
const { fork } = require('child_process');
const child = fork('child.js');
child.on('message', msg => console.log(msg));
child.send();