optimizing build hangs forever
Answered
Indian Spitz posted this in #help-forum
Indian SpitzOP
ive removed package-lock.json, .next folder and node modules, pnpm install then pnpm run build and it still hangs
11 Replies
Keyhole wasp
what is your next.config.js?
Indian SpitzOP
ELIFECYCLE  Command failed with exit code 137.
@Keyhole wasp what is your next.config.js?
Indian SpitzOP
// @ts-check
import createMDX from "fumadocs-mdx/config";
const withMDX = createMDX({
mdxOptions: {
lastModifiedTime: "git",
},
});
/** @type {import('next').NextConfig} */
const config = {
reactStrictMode: true,
};
export default withMDX(config);@Keyhole wasp what is your next.config.js?
Indian SpitzOP
next.config.mjs
@Indian Spitz ELIFECYCLE  Command failed with exit code 137.
Indian SpitzOP
out of memory ðŸ˜
Answer
Keyhole wasp
there you go
are you doing this in a docker container?
Indian SpitzOP
no
on a crap vps
it didnt tell me any errors till now
Keyhole wasp
another job well done ðŸ‘