Cannot find module 'next/image'. Did you mean to set the 'moduleResolution'
在启动nextjs项目之后,编辑器中报错提示:
Cannot find module 'next/image'. Did you mean to set the 'moduleResolution'
解决方案是tsconfig.json中配置moduleResolution
"moduleResolution": "Node",
在启动nextjs项目之后,编辑器中报错提示:
Cannot find module 'next/image'. Did you mean to set the 'moduleResolution'
解决方案是tsconfig.json中配置moduleResolution
"moduleResolution": "Node",