LAPOZ-AI
About

Welcome to our Website
LAPOZ-AI

Start a conversation with AI with GPT!

Netlify Deployment , Module not found: Error: Can't resolve 'react-icons/Di'が直らない

2023年04月30日

local環境では問題なく実行できるのに、netlifyにデプロイ時にエラーが出る。

Can't resolve 'react-icons/Di' in '/opt/build/repo/src/components' If you're trying to use a package make sure that 'react-icons/Di' is installed. If you're trying to use a local file make sure that the path is correct.
'react-icons/Di'を'react-icons/di'

上記に修正したら正常デプロイできる。