Open Closed

All of sudden abp package can not installed to angular #10583


User avatar
0
DominaTang created

yarn install v1.22.22 info No lockfile found. [1/4] Resolving packages... error Couldn't find package "@abp/ng.components" on the "npm" registry.

package version is ~9.1.1

I did run abp login command first.

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

1 Answer(s)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent
    • abp login is only for ABP CLI (downloading commercial libs, templates, etc.). It does not affect where Yarn/NPM searches for Angular packages.
    • @abp/ng.components is a public NPM package. If Yarn says it can’t find it, you are almost certainly not hitting the public registry (or you have an .npmrc/.yarnrc that overrides the registry).

    Do the following in your Angular folder:

    1. Ensure you are using the public NPM registry
    yarn config set registry https://registry.npmjs.org
    npm config set registry https://registry.npmjs.org
    
    1. Remove possible local artifacts and retry
    rm -rf node_modules yarn.lock package-lock.json
    yarn cache clean
    yarn install
    
    1. Check for registry overrides (fix/remove if they point to a private feed)
    • Look for these files and check registry=... or scope registries like @abp:registry=...:
      • ./.npmrc
      • ~/.npmrc
      • ./.yarnrc / ~/.yarnrc

    After fixing the registry override, yarn install should resolve @abp/ng.components@~9.1.1 normally.

    Links:

    • https://abp.io/docs/latest/get-started/pre-requirements
    • https://abp.io/support/questions/2932

    This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.