vinzdeveloper / json-rule-editor

Json rule editor
GNU General Public License v3.0
361 stars 104 forks source link

Unable to install in Mxlinux #26

Closed byteshiva closed 3 years ago

byteshiva commented 3 years ago

Unable to install in Mxlinux, Does it requires any additional components or libraries.

vinzdeveloper commented 3 years ago

Hi @byteshiva Can you share any error logs or screenshot to understand better. Also are you able to install other packages in your Mxlinux?

byteshiva commented 3 years ago

You can find the log here: https://gist.github.com/byteshiva/7b493e41a2e66265ba0569f1fc782926

vinzdeveloper commented 3 years ago

Thanks for sharing the log. i could see you are using node 16 in your machine and looks node sass is not compatible with it.

Please refer the below issue, https://github.com/sass/node-sass/issues/3077

You can either change the node sass version to latest in package json and re install or downgrade the node version and try npm install.

byteshiva commented 3 years ago

Still failing log details. https://gist.github.com/byteshiva/7b493e41a2e66265ba0569f1fc782926#gistcomment-3801394

I've upgraded package.json

    "node-sass": "6.0.1",
vinzdeveloper commented 3 years ago

Looks like sass-loader (webpack plugin) is not compatible with the latest node-sass 🙃. you have to upgrade sass-loader package as well!

Similar thread i just found out in node-sass page:

https://github.com/sass/node-sass/issues/3103

byteshiva commented 3 years ago

Still throwing error: Details available at https://gist.github.com/byteshiva/7b493e41a2e66265ba0569f1fc782926#gistcomment-3801466

vinzdeveloper commented 3 years ago

I just got another thread related to new error you got. As many packages are linked together, we are facing new issues after solving one. its really annoying to upgrade each packages individually. We have to read the documentation to understand the prerequisites. I just have to analyse all the versions including node before upgrading the version in package.json.

https://github.com/webpack-contrib/sass-loader/issues/924

if you need to use it for time being, its in below url, so you can use it simply https://json-rule-editor.com/

If not, you have to downgrade node js to 10 version to install from scratch.

byteshiva commented 3 years ago

Thanks, I've downgraded nodejs to v12.0.0, and it works without any errors

Details https://gist.github.com/byteshiva/7b493e41a2e66265ba0569f1fc782926

vinzdeveloper commented 3 years ago

Node-sass and node version compatibility issue. we have to upgrade all the inter dependent modules inline with the latest version. closing the issue at the moment.