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

Parcel 1.9.5 and above doesn't work in Glitch.com #2034

Closed
ghost opened this issue Sep 19, 2018 · 5 comments
Closed

Parcel 1.9.5 and above doesn't work in Glitch.com #2034

ghost opened this issue Sep 19, 2018 · 5 comments
Labels

Comments

@ghost
Copy link

ghost commented Sep 19, 2018

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

package.json

{
  "name": "parcel-app",
  "version": "0.0.1",
  "scripts": {
    "start": "parcel serve index.html --port 3000"
  },
  "devDependencies": {
    "parcel-bundler": "1.9.4",
    "//": "If you update Parcel, it stops working"
  },
  "engines": {
    "node": "8.x"
  }
}

🤔 Expected Behavior

Parcel works.

😯 Current Behavior

Parcel doesn't work from version 1.9.5. If you try to change something it doesn't update.

💻 Code Sample

Video: https://www.useloom.com/share/bb04124d10bf47b3a7c0c977b416546a
Parcel 1.9.4 on Glitch: https://glitch.com/edit/#!/parcel1-9-4
Parcel 1.9.7 on Glitch: https://glitch.com/edit/#!/parcel1-9-7

🌍 Your Environment

Software Version(s)
Parcel 1.9.7
Node 8.12.0
Operating System Glitch
@ghost
Copy link
Author

ghost commented Sep 28, 2018

The issue persists in Parcel 1.10.1

@DeMoorJasper
Copy link
Member

Not sure how to debug this, might be an issue with glitch

Sent with GitHawk

@johnagan
Copy link

It's working for me:

{
  "scripts": {
    "start": "parcel src/index.html --port $PORT"
  },
  "dependencies": {
    "parcel-bundler": "^1.10.3"
  }
}

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs.

@github-actions github-actions bot added the Stale Inactive issues label Jan 17, 2020
@github-actions github-actions bot closed this as completed Feb 2, 2020
@gcp
Copy link

gcp commented Jun 23, 2022

In case someone else wants to use Parcel on glitch:

You need something like

  "engines": {
    "node": "^16.x"
  },

in your package.json because the default 10.x series that's currently on glitch can't compile parcel v2.

This will then cause you to hit this Parcel bug: parcel-bundler/website#1008

The workaround is in that Parcel ticket.

@github-actions github-actions bot removed the Stale Inactive issues label Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants