cannot find name 'require' code example Example: cannot find name 'require' npm install @types/node --save-dev