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:
- Execute VTEX setup command
- Delete the node_modules folder
- Go to react folder on your console
- Execute yarn add @types/node --save-dev
- Go to tsconfig.json and ADD:
“types”: [“node”] - Go back to parent folder
- Execute VTEX link again
This is how i solve this message.
A hug!