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

update package-lock.json after using npm 8.11 #7510

Merged
merged 2 commits into from
Jun 10, 2022
Merged

Conversation

licanhua
Copy link
Contributor

@licanhua licanhua commented Jun 10, 2022

Fix pipeline error:

npm ERR! code EUSAGE
npm ERR! 
npm ERR! `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
npm ERR! 
npm ERR! Invalid: lock file's acorn@7.3.1 does not satisfy acorn@8.7.1
npm ERR! Missing: acorn@7.4.1 from lock file

Possible reason:

  1. Some package changed their dependency and force acorn@8.7.1 is used somewhere
  2. Or We are using the default npm from hosted agent which is upgraded to npmjs from 8.5 to 8.11.

If it's the 2nd one, all dev has to run below command in local dev machine

npm i -g npm@8.11.0
lerna clean
lerna bootstrap
npm i
Microsoft Reviewers: Open in CodeFlow

@ghost
Copy link

ghost commented Jun 10, 2022

Hi @licanhua. Thanks for helping make the AdaptiveCards JS renderer + tooling better. As additional verification, once the JS build succeeds, please go to the test site to test out your website/designer changes.

@licanhua licanhua marked this pull request as ready for review June 10, 2022 18:43
@licanhua licanhua enabled auto-merge (squash) June 10, 2022 19:11
@almedina-ms almedina-ms self-requested a review June 10, 2022 20:27
@licanhua licanhua merged commit 725c09e into main Jun 10, 2022
@licanhua licanhua deleted the canhua/usenpm8.11 branch June 10, 2022 20:32
michaelfarnsworth pushed a commit to michaelfarnsworth/AdaptiveCards that referenced this pull request Nov 10, 2022
* update package-lock.json after using npm 8.11

* run npm i
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

Successfully merging this pull request may close these issues.

None yet

2 participants