[症状] なぜかnext/Imageが動作しなかった
[原因] node_modules/sharpのバイナリが'win32-x64'になっていた為、'linux-x64'環境では動かなかった。
[解決] 手動でnode_modules/sharpを削除し、再度npm install sharp
を実行
[教訓] デュアルブート環境でReactを使う際には、OS毎にディレクトリを分ける。
More than 3 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme