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

It warns NPM is not installed when run abp install-libs,but I have installed . #12995

Closed
xiaoyc opened this issue Jun 14, 2022 · 4 comments
Closed

Comments

@xiaoyc
Copy link

xiaoyc commented Jun 14, 2022

Your ABP Framework version: 5.2.2 (Stable)
Your User Interface: MVC
Your database provider(EF Core/MongoDB): EF Core

The start template throw AbpException: Could not find the bundle file '/libs/abp/core/abp.css' for the bundle 'Basic.Global'! error .

when I try to run the abp install-libs, it warns the NPM is not installed ,but I have installed it .

I saw there maybe some defects for the yarn detection . #12970 ,is there any way to workaround ,Thanks .

image

image

@xiaoyc xiaoyc changed the title It warns NPM is not installed when run abp install-libs It warns NPM is not installed when run abp install-libs,but I have installed . Jun 14, 2022
@enisn
Copy link
Member

enisn commented Jun 14, 2022

Can you check Setup Environment Steps?

It seems you missed node & yarn steps.

@maliming
Copy link
Member

image

See npm/cli#4980 (comment)

@enisn
Copy link
Member

enisn commented Jun 14, 2022

You should run abp install-libs after successfull installation in your project folder to restore client-packages before running your project.

@xiaoyc
Copy link
Author

xiaoyc commented Jun 14, 2022

It was solved by running the below commands .

Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
npm install -g npm-windows-upgrade
npm-windows-upgrade

Thanks all .

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

4 participants