You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using yarn add <package> on main:HEAD ends with an error. Also, some ugly warnings are printed (warning Lockfile has incorrect entry for ...).
To Reproduce
yarn add <package> in any cactus package (checked on more than one).
Expected behavior
Package should install, no warnings.
Logs/Stack traces
outsh@outsh-UbuntuCactusVM:/tmp/cactus/packages/cactus-plugin-ledger-connector-quorum$ yarn add run-time-error@1.4.0
yarn add v1.22.17
[1/4] Resolving packages...
warning Lockfile has incorrect entry for "lodash@4.17.21". Ignoring it.
warning Lockfile has incorrect entry for "lodash@^4.17.21". Ignoring it.
warning Lockfile has incorrect entry for "lodash@4.17.19". Ignoring it.
warning Lockfile has incorrect entry for "underscore@1.12.1". Ignoring it.
warning Lockfile has incorrect entry for "glob-parent@^6.0.0". Ignoring it.
warning Lockfile has incorrect entry for "ansi-html@0.0.7". Ignoring it.
warning Lockfile has incorrect entry for "underscore@1.9.1". Ignoring it.
warning Lockfile has incorrect entry for "glob-parent@^3.1.0". Ignoring it.
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning "workspace-aggregator-260e8a8b-ef5d-47c3-b190-826e5364a0d5 > @hyperledger/cactus-example-carbon-accounting-frontend > @ionic-native/core@5.35.0" has incorrect peer dependency "rxjs@^5.5.0 || ^6.5.0".
warning "workspace-aggregator-260e8a8b-ef5d-47c3-b190-826e5364a0d5 > @hyperledger/cactus-example-carbon-accounting-frontend > @ionic-native/splash-screen@5.35.0" has incorrect peer dependency "rxjs@^5.5.0 || ^6.5.0".
warning "workspace-aggregator-260e8a8b-ef5d-47c3-b190-826e5364a0d5 > @hyperledger/cactus-example-carbon-accounting-frontend > @ionic-native/status-bar@5.35.0" has incorrect peer dependency "rxjs@^5.5.0 || ^6.5.0".
warning "workspace-aggregator-260e8a8b-ef5d-47c3-b190-826e5364a0d5 > @hyperledger/cactus-example-carbon-accounting-frontend > @ionic/angular-toolkit@4.0.0" has unmet peer dependency "@angular-devkit/architect@^0.1200.0".
warning "workspace-aggregator-260e8a8b-ef5d-47c3-b190-826e5364a0d5 > @hyperledger/cactus-example-carbon-accounting-frontend > @ionic/angular-toolkit@4.0.0" has unmet peer dependency "@angular-devkit/schematics@^12.0.0".
error An unexpected error occurred: "expected workspace package to exist for \"webpack-cli\"".
info If you think this is a bug, please open a bug report with the information provided in "/tmp/cactus/packages/cactus-plugin-ledger-connector-quorum/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
@petermetz Any insights regarding this one? I think it started to occur just after releasing of V1 (864449f) - possibly caused by several version bumps that happened before it. Do you have any idea what may cause this problem? (it still occurs on other colleagues machines as well)
@petermetz Any insights regarding this one? I think it started to occur just after releasing of V1 (864449f) - possibly caused by several version bumps that happened before it. Do you have any idea what may cause this problem? (it still occurs on other colleagues machines as well)
@outSH I'm not sure either unfortunately what the root cause is (apart from yarn v1 being buggy and EOL). The long term solution is being worked on in the form of a Yarn v3 migration that is in progress as we speak. The short term one is to add the packages to the package.json file of your package manually and then running yarn install.
@outSH Now I'm sure that it was the buggy EoL Yarn v1 causing the issue because the upgrade to v3 fixed it (I can no longer reproduce it on the main branch).
Describe the bug
Using
yarn add <package>
on main:HEAD ends with an error. Also, some ugly warnings are printed (warning Lockfile has incorrect entry for ...
).To Reproduce
yarn add <package>
in any cactus package (checked on more than one).Expected behavior
Package should install, no warnings.
Logs/Stack traces
Operating system name, version, build:
The text was updated successfully, but these errors were encountered: