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

Unable to build Bower mode project using the supported Node version #5892

Closed
Artur- opened this issue Jun 12, 2019 · 2 comments · Fixed by #5891
Closed

Unable to build Bower mode project using the supported Node version #5892

Artur- opened this issue Jun 12, 2019 · 2 comments · Fixed by #5891

Comments

@Artur-
Copy link
Member

Artur- commented Jun 12, 2019

Trying to build a Bower/Vaadin 13 compatibility mode project the latest Node LTS (10.16.0) the build fails with

[Step 4/6] [INFO] Running 'gulp build_es6' in /opt/agent/work/a69251da2b2bb9e9/flow-tests/test-frontend-production-custom-context/target
[15:24:36][Step 4/6] [ERROR] internal/util/inspect.js:31
[15:24:36][Step 4/6] [ERROR] const types = internalBinding('types');
[15:24:36][Step 4/6] [ERROR]               ^
[15:24:36][Step 4/6] [ERROR] 
[15:24:36][Step 4/6] [ERROR] ReferenceError: internalBinding is not defined
[15:24:36][Step 4/6] [ERROR]     at internal/util/inspect.js:31:15
[15:24:36][Step 4/6] [ERROR]     at req_ (/opt/agent/work/a69251da2b2bb9e9/flow-tests/test-frontend-production-custom-context/target/node_modules/natives/index.js:137:5)
[15:24:36][Step 4/6] [ERROR]     at require (/opt/agent/work/a69251da2b2bb9e9/flow-tests/test-frontend-production-custom-context/target/node_modules/natives/index.js:110:12)
[15:24:36][Step 4/6] [ERROR]     at util.js:25:21```

Somehow related to Gulp versions and internal API used by Gulp: https://github.com/nodejs/node/issues/24985
@web-padawan
Copy link
Member

Possible fix to make gulp 3.9.1 work with latest node versions: gulpjs/gulp#2246 (comment)

Personally, I would recommend upgrading from 3.9.1 to 4.0.0 or greater.

@Artur-
Copy link
Member Author

Artur- commented Jun 13, 2019

Should be resolved by #5892 which just updates the lock file and use a newer version of natives

@ujoni ujoni moved this from Needs triage to WIP in OLD Vaadin Flow bugs & maintenance (Vaadin 10+) Jun 13, 2019
OLD Vaadin Flow bugs & maintenance (Vaadin 10+) automation moved this from WIP to Closed - pending release Jun 14, 2019
caalador pushed a commit that referenced this issue Jun 14, 2019
@denis-anisimov denis-anisimov added this to the 2.0.0 milestone Jun 18, 2019
@mehdi-vaadin mehdi-vaadin moved this from Closed - pending release to Closed - released in OLD Vaadin Flow bugs & maintenance (Vaadin 10+) Sep 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants