You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
Steps To Reproduce
create-divi-extension my-extension
Solution
Include this commit fundamental-studio/grunt-po2mo@ad4ce15 for grunt-po2mo
Update node-sass from v4.14.1 to at least v5.1.0 feat: Add Node 16 CI and drop Node 10 sass/node-sass#3090
Same issues:
#533
#530
Workaround
The text was updated successfully, but these errors were encountered: