Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

[BUG] Master fails to build with gulp errors #153

Open
jjsanderson opened this issue May 23, 2019 · 4 comments
Open

[BUG] Master fails to build with gulp errors #153

jjsanderson opened this issue May 23, 2019 · 4 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@jjsanderson
Copy link

jjsanderson commented May 23, 2019

Describe the bug
While trying to troubleshoot #152 I've tried to build master, which throws gulp errors.

To Reproduce
Steps to reproduce the behaviour:

  1. clone master
  2. per the wiki: yarn install, gulp build --production
  3. See error

Expected behaviour
Successful build.

Developer console output (if applicable):
Error:

const { Math, Object } = primordials;
                         ^

ReferenceError: primordials is not defined

This appears to be a gulp 3 issue with node 12: see this issue). Requiring gulp 4.0.2 in package.json throws a syntax error in gulp/tasks/browsersync.js; attempting to debug that reveals version issues for graceful-fs, and very quickly I'm into stuff that's way beyond my ken.

Platform (please complete the following information):

  • OS X 10.14.2
  • node 12.3.1
  • yarn 1.16.0
  • gulp 3.9.1 / 4.0.2
@jjsanderson jjsanderson added the bug Something isn't working label May 23, 2019
@jjsanderson
Copy link
Author

Update: looks like it is the gulp 3 / node 12 issue. If I nvm install 8.16.0 then run the yarn/gulp tasks, build succeeds as expected.

@jaymcp jaymcp self-assigned this Jun 13, 2019
@jaymcp jaymcp added this to the v1.1.0 milestone Jun 13, 2019
@jaymcp
Copy link
Member

jaymcp commented Jun 13, 2019

@jjsanderson Thanks for the report, it is appreciated.
The v1.2.0 milestone should include an upgraded build system, along with many other improvements and additions, which should hopefully allow for working builds on the latest node versions.

@jaymcp jaymcp modified the milestones: v1.1.0, v1.2.0 Jun 13, 2019
@jjsanderson
Copy link
Author

Cool, thanks @jonmcp. I realise it's early days for the theme. I'll carry on logging issues if and as I come across them, but if that's not helpful do tell me to shut up!

@jaymcp
Copy link
Member

jaymcp commented Jun 17, 2019

@jjsanderson please do keep logging issues if you see them, it's extremely helpful and greatly appreciated! :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants