Closed n30w closed 6 months ago
Development environment type checking unable to recognize imports, cannot find imports for types such as "next/image".
This error is apparently TS(2307).
Code will not compile, but will still run in development mode locally.
Fix found: add nodeLinker: node-modules to .yarnrc.yml
nodeLinker: node-modules
After adding to .yarnrc.yml, rerun yarn in frontend directory.
yarn
frontend
Development environment type checking unable to recognize imports, cannot find imports for types such as "next/image".
This error is apparently TS(2307).
Code will not compile, but will still run in development mode locally.