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

Issue: Unable to Build or Install Dependencies for 3rs-of-software-architecture Project #4

Open
LovelyBika opened this issue Jan 22, 2025 · 0 comments

Comments

@LovelyBika
Copy link

LovelyBika commented Jan 22, 2025

Description
I encountered issues while trying to install and build dependencies for the 3rs-of-software-architecture project. Specifically, I am experiencing errors with node-sass and sass compatibility with the current Node.js version (20.18.1). Additionally, there seems to be a problem with the outdated core-js and other dependencies.

Steps to Reproduce
Clone the repository: git clone https://github.com/ryanmcdermott/3rs-of-software-architecture.git
Navigate to the project directory: cd 3rs-of-software-architecture
Run npm install.
Expected Behavior
Dependencies should install successfully without errors.

Actual Behavior
I encountered the following errors:

Core-js Warning:
npm WARN deprecated [email protected]: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues.
Node-sass Build Error:
npm ERR! path /media/kali/Docs/H/Open source/3rs-of-software-architecture/node_modules/node-sass
npm ERR! gyp: Undefined variable standalone_static_library in binding.gyp while trying to load binding.gyp
npm ERR! gyp ERR! System Linux 6.11.2-amd64
npm ERR! gyp ERR! node -v v20.18.1
npm ERR! gyp ERR! node-gyp -v v3.8.0
npm ERR! gyp ERR! not ok
No Matching Version of sass:

npm ERR! code ETARGET
npm ERR! notarget No matching version found for sass@^3.8.0.
System Details
OS: Kali Linux (6.11.2-amd64)
Node.js: 20.18.1
npm: 9.9.0
node-gyp: 3.8.0
Python: 2.7.18
Root Causes
node-sass version is outdated and incompatible with Node.js 20+.
[email protected] is deprecated and should be updated to a supported version.
No valid version of [email protected] exists.
Suggested Solutions
Upgrade the node-sass dependency to the latest version or replace it with sass (dart-sass), as node-sass is deprecated.
Update the core-js dependency to ^3.23.3 or higher.
Replace any references to sass@^3.8.0 with a valid version (sass@^1.x.x is the current standard).
Logs
Attached relevant logs for reference:
2025-01-22T11_16_07_735Z-debug.log
2025-01-22T11_18_08_755Z-debug.log
Request for Help
Could you please provide guidance on:

Updating dependencies to resolve compatibility issues?
Recommended replacements for node-sass to ensure compatibility with modern Node.js versions?
Any other best practices to align this project with the latest ecosystem standards?
Feel free to adjust or add more details if needed.

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

No branches or pull requests

1 participant