Giter VIP home page Giter VIP logo

Comments (6)

leeliu48307 avatar leeliu48307 commented on August 28, 2024 1

Thank you very much !!

from attack-navigator.

clemiller avatar clemiller commented on August 28, 2024

Hi @leeliu48307,

As specified in the README, Navigator requires Node v16. Node v18 should also work. Navigator is currently using Angular v14.

from attack-navigator.

leeliu48307 avatar leeliu48307 commented on August 28, 2024

Question: My current node version :v20.12.2. When ng version, I got angular:14.2.13. Warning: The current version of Node (20.12.2) is not supported by Angular. VM system does not have v16 or v18 (I have to maintain or try Node v20). Then I npm install, I got error message: Resovle could not resolve , while resovling:@angular-builders/[email protected] found @angular/[email protected]. How to fix it? Really appreciate it.

from attack-navigator.

clemiller avatar clemiller commented on August 28, 2024

The first issue you're seeing is a warning due to compatibility issues between the Angular and Node versions. Angular v14 does not support Node.js v20, which may cause issues during the installation process. Angular v14 is compatible with Node.js v14 and v16. If it's possible for you to do so on your VM, I'd recommend using nvm (Node Version Manager) to manage and switch between different node versions. We are in the process of upgrading to Angular v17+, but do not currently have a timeline on when that will be released.

The second issue is a dependency resolution error related to @angular-builders/custom-webpack and @angular/compiler-cli, indicating a mismatch in package versions. This happens when dependencies are not aligned with the Angular version being used. The following steps should help resolve this issue:

  1. Clear your npm cache: npm cache clean --force
  2. Remove existing modules: rm -rf node_modules
  3. Reinstall dependencies: npm i

If the above steps don't resolve your issue, try regenerating the package-lock.json file:

  1. Remove the lock file: rm package-lock.json
  2. Reinstall: npm i

from attack-navigator.

leeliu48307 avatar leeliu48307 commented on August 28, 2024

Thanks for update. I will inform system admin this message, let them to update node v to 16v or 18v.

from attack-navigator.

leeliu48307 avatar leeliu48307 commented on August 28, 2024

Now I install node v16, angular v14 and run npm install, got the following errors. Any suggestion is high appreciated.
20240516_084645
20240516_084527
20240516_084546

from attack-navigator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.