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

ABP 6.0.0-rc.3 cannot install-libs in an app-nolayers project using blazor server #13935

Closed
dirraj opened this issue Sep 6, 2022 Discussed in #13934 · 4 comments
Closed

Comments

@dirraj
Copy link

dirraj commented Sep 6, 2022

Discussed in #13934

Try:

abp new Bookshop -t app-nolayers -u blazor-server --preview --no-random-port

abp install-libs

Yarn warnings shown:

@abp/bootstrap@npm:6.0.0-rc.3 doesn't provide @popperjs/core (p8db5f), requested by bootstrap
@abp/jquery-validation@npm:6.0.0-rc.3 doesn't provide jquery (p00499), requested by jquery-validation

But otherwise cannot explain why libs are not downloaded.

Same warnings are shown in following project, but libs are downloaded OK:

abp new Bookshop -t app -u blazor --preview --no-random-port

using Visual Studio 2022 v17.3.3

@realLiangshiwei
Copy link
Member

Please share the full logs, thanks.

@dirraj
Copy link
Author

dirraj commented Sep 7, 2022

C:\Source\Bookshop>abp new Bookshop -t app-nolayers -u blazor-server --preview --no-random-port

[12:18:35 INF] ABP CLI (https://abp.io)
[12:18:36 INF] Version 6.0.0-rc.3 (Prerelease)
[12:18:37 INF] Creating your project...
[12:18:37 INF] Project name: Bookshop
[12:18:37 INF] Template: app-nolayers
[12:18:37 INF] Preview: yes
[12:18:37 INF] UI Framework: BlazorServer
[12:18:37 INF] Output folder: C:\Source\Bookshop
[12:18:39 INF] Using cached template: app-nolayers, version: 6.0.0-rc.3
[12:18:39 INF] Theme: LeptonXLite
[12:18:40 INF] 'Bookshop' has been successfully created to 'C:\Source\Bookshop'
[12:18:40 INF] Creating initial migrations...
[12:19:32 INF] Initial migrations are created.
[12:19:32 INF] Installing client-side packages...
[12:19:35 INF] Found 1 projects.
[12:19:35 INF] C:\Source\Bookshop\Bookshop
[12:19:35 INF] Running Yarn on C:\Source\Bookshop\Bookshop
➤ YN0000: ┌ Resolution step
➤ YN0061: │ chokidar@npm:2.1.8 is deprecated: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
➤ YN0061: │ fsevents@npm:1.2.13 is deprecated: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
➤ YN0032: │ nan@npm:2.16.0: Implicit dependencies on node-gyp are discouraged
➤ YN0061: │ source-map-resolve@npm:0.5.3 is deprecated: See https://github.com/lydell/source-map-resolve#deprecated
➤ YN0061: │ urix@npm:0.1.0 is deprecated: Please see https://github.com/lydell/urix#deprecated
➤ YN0061: │ source-map-url@npm:0.4.1 is deprecated: See https://github.com/lydell/source-map-url#deprecated
➤ YN0061: │ resolve-url@npm:0.2.1 is deprecated: https://github.com/lydell/resolve-url#deprecated
➤ YN0002: │ @abp/bootstrap@npm:6.0.0-rc.3 doesn't provide @popperjs/core (p8db5f), requested by bootstrap
➤ YN0002: │ @abp/jquery-validation@npm:6.0.0-rc.3 doesn't provide jquery (p00499), requested by jquery-validation
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
➤ YN0000: └ Completed in 38s 947ms
➤ YN0000: ┌ Fetch step
➤ YN0013: │ xtend@npm:4.0.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ y18n@npm:3.2.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yallist@npm:4.0.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yargs-parser@npm:5.0.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yargs@npm:7.1.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0000: └ Completed in 4s 384ms
➤ YN0000: ┌ Link step
➤ YN0007: │ @fortawesome/fontawesome-free@npm:5.15.4 must be built because it never has been before or the last one failed
➤ YN0007: │ es5-ext@npm:0.10.62 must be built because it never has been before or the last one failed
➤ YN0000: └ Completed in 6s 104ms
➤ YN0000: Done with warnings in 49s 565ms

Manual triggering of install-libs again:

C:\Source\Bookshop>abp install-libs

[12:21:09 INF] ABP CLI (https://abp.io)
[12:21:10 INF] Version 6.0.0-rc.3 (Prerelease)
[12:21:14 INF] Found 1 projects.
[12:21:14 INF] C:\Source\Bookshop\Bookshop
[12:21:14 INF] Running Yarn on C:\Source\Bookshop\Bookshop
➤ YN0000: ┌ Resolution step
➤ YN0002: │ @abp/bootstrap@npm:6.0.0-rc.3 doesn't provide @popperjs/core (p8db5f), requested by bootstrap
➤ YN0002: │ @abp/jquery-validation@npm:6.0.0-rc.3 doesn't provide jquery (p00499), requested by jquery-validation
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed in 0s 382ms
➤ YN0000: ┌ Link step
➤ YN0000: └ Completed
➤ YN0000: Done with warnings in 0s 823ms

However folder C:\Source\Bookshop\Bookshop\wwwroot\libs still remains empty.

@realLiangshiwei
Copy link
Member

I could not reproduce the problem, I'm thinking it may relate to your yarn version.

This is my yarn version.
image

@dirraj
Copy link
Author

dirraj commented Sep 9, 2022

Yes, switching from Yarn 3.2.2 to classic Yarn 1.22.19 has resolved this issue.

Thanks Liang.

@maliming maliming closed this as completed Sep 9, 2022
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

3 participants