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
{{ message }}
Repository navigation
@angular/bazel always generates WORKSPACE with yarn_install even if ng used npm #30164
Workaround is to create projects with yarn ng config -g cli.packageManager yarn
or manually change the WORKSPACE file produced by the @angular/bazel schematic to use npm_install in place of yarn_install
The fix is for the schematic to be written with an npm_install rule if npm was used, yes
Activity
m-henderson commentedon Apr 27, 2019
so basically we should check to see if npm was used and if it was we need to look for a package-lock.json instead of yarn.lock?
alexeagle commentedon Apr 29, 2019
Workaround is to create projects with yarn
ng config -g cli.packageManager yarnor manually change the
WORKSPACEfile produced by the@angular/bazelschematic to usenpm_installin place ofyarn_installThe fix is for the schematic to be written with an
npm_installrule if npm was used, yesfix(bazel): Use existing npm/yarn lock files (#30438)
fix(bazel): Use existing npm/yarn lock files (angular#30438)
angular-automatic-lock-bot commentedon Sep 15, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
fix(bazel): Use existing npm/yarn lock files (angular#30438)