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

[enhancement] support for node >14 #541

Open
nanu-c opened this issue Feb 10, 2022 · 1 comment · May be fixed by elegantthemes/grunt-po2mo#2
Open

[enhancement] support for node >14 #541

nanu-c opened this issue Feb 10, 2022 · 1 comment · May be fixed by elegantthemes/grunt-po2mo#2

Comments

@nanu-c
Copy link

nanu-c commented Feb 10, 2022

Problem Description

i want to build a divi extension on node 16, but there are various incompabilities.

grunt-po2mo

this package depends on elegantthemes/grunt-po2mo#master which only supports node 12 or 14. Current LTS is 16.

error [email protected]: The engine "node" is incompatible with this module. Expected version "12.x || 14.x". Got "16.13.1"
I open this issue here, because https://github.com/elegantthemes/grunt-po2mo has no issues.

Node-sass

npx yarn build
yarn run v1.22.17
$ divi-scripts build
Creating an optimized production build...
Failed to compile.

./includes/fields/Input/style.css
Module build failed: Error: Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtime (93)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.14.1


error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Steps To Reproduce

  1. update node
  2. run create-divi-extension my-extension

Solution

Same issues:

#533
#530

Workaround

nvm install lts/fermium
nvm use lts/fermium
npx create-divi-extension  my-extension

@ekesto
Copy link

ekesto commented Nov 26, 2022

@nanu-c, can you by chance tell me how to do step 1 in your "Solution" section? How can I include this commit?

I opened an @issue a couple of days ago, and it might be linked to yours?

Would be amazing to hear from you.. thanks in advance! 🙏✨

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 a pull request may close this issue.

2 participants