Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running parcel in container. #10021

Open
henrytseng opened this issue Nov 25, 2024 · 0 comments
Open

Error running parcel in container. #10021

henrytseng opened this issue Nov 25, 2024 · 0 comments

Comments

@henrytseng
Copy link

🐛 bug report

Having trouble running starting parcel in Docker container. I'm receiving the following error:

# yarn parcel src/index.html
yarn run v1.22.22
warning package.json: No license field
$ /usr/src/.../node_modules/.bin/parcel src/index.html
[Error: Unable to poll: Interrupted system call]
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I've adjusted the Docker resources but it looks like it still doesn't run.

🎛 Configuration (.babelrc, package.json, cli command)

{
  "source": [
    "src/index.html"
  ],
  "browserslist": "> 0.5%, last 2 versions, not dead",
  "scripts": {
    "start": "parcel",
    "build": "parcel build"
  },
  "devDependencies": {
    "autoprefixer": "^10.4.20",
    "parcel": "^2.13.0",
    "postcss": "^8.4.49",
    "postcss-import": "^16.1.0",
    "svgo": "^3",
    "tailwindcss": "^3.4.15"
  },
  "extends": "@parcel/config-default",
  "resolvers": [
    "@parcel/resolver-glob"
  ]
}

🤔 Expected Behavior

Expecting it to run the parcel process similarly outside of the container.

😯 Current Behavior

💁 Possible Solution

🔦 Context

💻 Code Sample

🌍 Your Environment

Running Docker container with Rosetta enabled.

Software Version(s)
Parcel 2.13.0
Node 22.11.0
npm/Yarn
Operating System OSX 15.1.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant