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

nw-builder 3.5.7->4.0.11 #1793

Merged
merged 2 commits into from
Jun 26, 2023
Merged

nw-builder 3.5.7->4.0.11 #1793

merged 2 commits into from
Jun 26, 2023

Conversation

erstec
Copy link
Collaborator

@erstec erstec commented Jun 21, 2023

No description provided.

@mmosca
Copy link
Collaborator

mmosca commented Jun 26, 2023

this fixes fresh install/build

@mmosca mmosca merged commit 1962218 into iNavFlight:master Jun 26, 2023
@Scavanger
Copy link
Contributor

This gives me the following error when I want to build the Configurator:

 [13:06:30] Error [ERR_REQUIRE_ESM]: require() of ES Module D:\RC-Dev\inav-configurator\node_modules\nw-builder\src\index.js from D:\RC-Dev\inav-configurator\gulpfile.js not supported.
Instead change the require of index.js in D:\RC-Dev\inav-configurator\gulpfile.js to a dynamic import() which is available in all CommonJS modules.
    at D:\RC-Dev\inav-configurator\gulpfile.js:266:21
    at bound (node:domain:433:15)
    at runBound (node:domain:444:12)
    at asyncRunner (D:\RC-Dev\inav-configurator\node_modules\async-done\index.js:55:18)

nw-build as of version 4 seems to no longer support var NwBuilder = require('nw-builder'), the linked solution doesn't help me either, I'm not very familiar with NW and javascript in general.

See:
nwutils/nw-builder#696

DzikuVx added a commit that referenced this pull request Sep 29, 2023
This reverts commit 1962218, reversing
changes made to 5041ae5.
@DzikuVx DzikuVx mentioned this pull request Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants