ampproject / ampproject/ampstart

ReferenceError: primordials is not defined

Open
#877 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
415
Forks
147
PR merge metrics
No merged PRs in 30d

Description

Using node 12 and gulp 3. That combination does not work: https://github.com/gulpjs/gulp/issues/2324

```
$ npm run build

> kickstart@ build /Users/admejiar/Code/tmp/ampstart
> gulp build

fs.js:27
const { Math, Object } = primordials;
^

ReferenceError: primordials is not defined
at fs.js:27:26
```

I tried gulp 4 and getting different errors

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failure with Node 12 using the reported `npm run build` command and inspect the gulp build entry point. Compare the result with the reported gulp 4 errors; done means the project build completes successfully on the supported Node and gulp versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.