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 crashes looking for SourceMapPackager #642

Closed
dotdash opened this issue Jan 24, 2018 · 3 comments
Closed

parcel crashes looking for SourceMapPackager #642

dotdash opened this issue Jan 24, 2018 · 3 comments
Labels

Comments

@dotdash
Copy link

dotdash commented Jan 24, 2018

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

{
  "name": "test",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "author": "",
  "license": "ISC"
}

🤔 Expected Behavior

After installing parcel with npm install -g parcel-bundler parcel should not crash

😯 Current Behavior

parcel crashes

(node:29744) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Cannot find module './SourceMapPackager'

🌍 Your Environment

Up-to-date Debian Sid installation with a freshly installed parcel.

Software Version(s)
Parcel 1.5.0
Node 6.12.0
npm 4.3.0
Operating System Debian Sid
@vanam
Copy link

vanam commented Jan 24, 2018

The same happened to me when following Getting Started

Software Version
Parcel 1.5.0
Node 6.12.3
npm 5.6.0
OS Ubuntu 16.04.3 LTS

@DeMoorJasper
Copy link
Member

This is because Node 6 is not supported, Parcel currently only works with Node 8+ We are working to support Node 6 and 7 as well

@vanam
Copy link

vanam commented Jan 24, 2018

You are right. After update it works.

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

4 participants