Unable to deploy to Netlify
getofmeland opened this issue · comments
Charlie Gough commented
Getting the following error when building and deploying through Netlify:
├─ /images/about-us/index.htmlmunmap_chunk(): invalid pointer
9:38:39 PM: Aborted (core dumped)
9:38:39 PM:
9:38:39 PM: "build.command" failed
9:38:39 PM: ────────────────────────────────────────────────────────────────
9:38:39 PM:
9:38:39 PM: Error message
9:38:39 PM: Command failed with exit code 134: npm run build
9:38:39 PM:
9:38:39 PM: Error location
9:38:39 PM: In Build command from Netlify app:
9:38:39 PM: npm run build
9:38:39 PM:
9:38:39 PM: Resolved config
9:38:39 PM: build:
9:38:39 PM: command: npm run build
9:38:39 PM: commandOrigin: ui
9:38:39 PM: edge_functions: /opt/build/repo/edge-functions
9:38:39 PM: environment:
9:38:39 PM: - BLOG_SLUG
9:38:39 PM: - CURRENCY
9:38:39 PM: - MENU_SLUG
9:38:39 PM: - NODE_VERSION
9:38:39 PM: - PORTFOLIO_SLUG
9:38:39 PM: - SHOP_SLUG
9:38:39 PM: - UNITS
9:38:39 PM: - WEBSITE_LANGUAGE
9:38:39 PM: publish: /opt/build/repo/dist
9:38:39 PM: publishOrigin: config
9:38:39 PM: plugins:
9:38:39 PM: - inputs: {}
9:38:39 PM: origin: ui
9:38:39 PM: package: "@netlify/plugin-lighthouse"
9:38:40 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
9:38:40 PM: Failing build: Failed to build site
9:38:40 PM: Finished processing build request in 51.116s
9:38:40 PM: Failed during stage "building site": Build script returned non-zero exit code: 2
Have tried a brand new build using the button and getting the same issue.
preetamslot commented
Hi @getofmeland
I have updated the repo, can you try again?
Charlie Gough commented
All working now thank you