parcel-bundler / parcel

The zero configuration build tool for the web. πŸ“¦πŸš€

Home Page:https://parceljs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parcel build fails consistently with 10:SIGBUS and SIGSEGV

mahdix opened this issue Β· comments

πŸ› bug report

Using latest version, when I run yarn parcel build it consistently fails. Initially it was with "Process finished with exit code 138 (interrupted by signal 10:SIGBUS)" and now it fails with "Process finished with exit code 139 (interrupted by signal 11:SIGSEGV)".

The only change I did before this was deleting .parcel_cache folder as the UI was not updated even after making changes and doing a hard refresh.

πŸŽ› Configuration (.babelrc, package.json, cli command)

package.json
        "@headlessui/react": "^1.7.4",
        "@heroicons/react": "^2.0.13",
        "@tailwindcss/forms": "^0.5.3",
        "@types/node": "^17.0.18",
        "parcel": "^2.12.0",
        "react": "18.2.0",
        "react-dom": "18.2.0",

dev dependencies:
        "@parcel/reporter-bundle-analyzer": "2.11.0",
        "@parcel/source-map": "2.1.1",
        "@parcel/transformer-svg-react": "2.11.0",

πŸ€” Expected Behavior

It should run.

😯 Current Behavior

Fails with 11:SIGSEGV

πŸ’» Code Sample

My scripts:

"start": "parcel serve src/html/*.html",
        "build": "parcel build --no-cache --no-source-maps",

🌍 Your Environment

Software Version(s)
Parcel 2.12
Node 16.20.0
npm/Yarn Yarn 1.22.22
Operating System MacOs