Webpack for react@3.x builder finished in 464ms with errors: [at-loader] TS2688: Cannot find type definition file for 'node'

If you receive this error on link command:

Webpack for react@3.x builder finished in 464ms with errors:
[at-loader] TS2688: Cannot find type definition file for 'node’

To solve is just:

  1. Execute VTEX setup command
  2. Delete the node_modules folder
  3. Go to react folder on your console
  4. Execute yarn add @types/node --save-dev
  5. Go to tsconfig.json and ADD:
    “types”: [“node”]
  6. Go back to parent folder
  7. Execute VTEX link again

This is how i solve this message.

A hug!