Update specific package

Hi

Another newbie question, I hope you don’t mind.

GitHub is giving me a warning that there is a vulnerability in 2 of my packages. It read my package.lock file to get this information.

When I try to update the packages I get “package is not in the project” message.

I’d be grateful to know how I can resolve this!

Ah those are not meteor packages, but npm packages. You can try to install these packages isong the below command:

meteor npm install packagename@latest

Where packagename should be the name of your package. This will install the lastest version of the package and hopefully fixes the issue :grinning:

Yep, that did it! Thanks :smiley:

1 Like