My npm run build command fails with these two errors even though it builds just fine using Render.com’s Shell feature. What gives?
Jun 2 03:34:02 PM warn - Found lockfile missing swc dependencies, run next locally to automatically patch
Jun 2 03:34:06 PM Failed to compile.
Jun 2 03:34:06 PM
Jun 2 03:34:06 PM components/layout.tsx
Jun 2 03:34:06 PM An error occured in next/font
.
Jun 2 03:34:06 PM
Jun 2 03:34:06 PM Error: Cannot find module ‘tailwindcss’
Jun 2 03:34:06 PM Require stack:
Jun 2 03:34:06 PM - /opt/render/project/src/node_modules/next/dist/build/webpack/config/blocks/css/plugins.js
Jun 2 03:34:06 PM ./styles/Home.module.css
Jun 2 03:34:06 PM Error: Cannot find module ‘tailwindcss’
Jun 2 03:34:06 PM Require stack:
Jun 2 03:34:06 PM - /opt/render/project/src/node_modules/next/dist/build/webpack/config/blocks/css/plugins.js