Hi, I’m struggling to deploy my nextjs app because of this error. I can deploy other nextjs apps just not this current one.
=> ERROR [build 3/6] RUN npm ci --include=dev 0.8s
[build 3/6] RUN npm ci --include=dev:
0.823 npm error code EBADPLATFORM
0.824 npm error notsup Unsupported platform for @next/swc-win32-x64-msvc@14.2.13: wanted {“os”:“win32”,“cpu”:“x64”} (current: {“os”:“linux”,“cpu”:“x64”})
0.824 npm error notsup Valid os: win32
0.824 npm error notsup Actual os: linux
0.824 npm error notsup Valid cpu: x64
0.824 npm error notsup Actual cpu: x64
0.825
0.826 npm error A complete log of this run can be found in: /root/.npm/_logs/2024-11-05T13_56_46_790Z-debug-0.log
Error: failed to fetch an image or build from source: error building: failed to solve: process “/bin/sh -c npm ci --include=dev” did not complete successfully: exit code: 1
To clarify im not on linux. im on windows