parcel crashes looking for SourceMapPackager

Created on 24 Jan 2018  路  3Comments  路  Source: parcel-bundler/parcel

馃帥 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 |

Bug

Most helpful comment

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

All 3 comments

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 |

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

You are right. After update it works.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

davidnagli picture davidnagli  路  3Comments

urbanhop picture urbanhop  路  3Comments

algebraic-brain picture algebraic-brain  路  3Comments

Niggler picture Niggler  路  3Comments

chunzj picture chunzj  路  3Comments