Cannot find module --resolveJsonModule to import .json code example
Example: Cannot find module './data.json'. Consider using '--resolveJsonModule' to import module with '.json' extension
add to tsconfig.json
{
...
"resolveJsonModule": true
}
}