Typescript import error

I am getting error in vs code for libraries import statements, this is only happening for typescript files, js files are working fine. Site is also running fine on localhost.

Hello!
Presumably this is because the libraries are not installed on your local system.
They work fine once installed in Docker, so your two options would be to ignore those import errors as long as it’s working fine in Docker, or run yarn install on your machine directly (not in Docker)