Parcel: 馃悰 about SyntaxError: Unexpected token function

Created on 13 Dec 2017  路  2Comments  路  Source: parcel-bundler/parcel

When I first install parcel and run parcel index.html, I meet the following problem:

image

env:

npm: 5.6.0
node: v6.11.2
Bug Confirmed Bug Legacy Node Bug

Most helpful comment

We need to compile the bin folder with babel to support node 6.

All 2 comments

Run node 8.x+ Async functions are not supported in node 6

We need to compile the bin folder with babel to support node 6.

Was this page helpful?
0 / 5 - 0 ratings