Skip to content

Repair so error on npm -ls becomes a warning#833

Merged
Martii merged 1 commit into
OpenUserJS:masterfrom
Martii:modifyAdminNPMls
Nov 19, 2015
Merged

Repair so error on npm -ls becomes a warning#833
Martii merged 1 commit into
OpenUserJS:masterfrom
Martii:modifyAdminNPMls

Conversation

@Martii
Copy link
Copy Markdown
Member

@Martii Martii commented Nov 19, 2015

  • Added try...catch just in case it's a fatal error

NOTES

problems": [

    "peer dep missing: kerberos@~0.0, required by mongodb-core@1.2.21"

],

... this shows up in the stdout (near the top) as being the "error" along with the full compliment of packages installed ... see #832 and parent #318

(never would have guessed this on nodejitsu... glad we aren't there anymore)

* Added `try...catch` just in case it's a fatal error

**NOTES**

``` sh-session
problems": [

    "peer dep missing: kerberos@~0.0, required by mongodb-core@1.2.21"

],
```

... this shows up in the stdout as being the "error" along with the full compliment of packages installed ... see OpenUserJS#832 and parent OpenUserJS#318

*(never would have guessed this on nodejitsu... glad we aren't there anymore)*
@Martii Martii added bug You've guessed it... this means a bug is reported. CODE Some other Code related issue and it should clearly describe what it is affecting in a comment. labels Nov 19, 2015
Martii added a commit that referenced this pull request Nov 19, 2015
Repair so error on `npm -ls` becomes a warning

Auto-merge
@Martii Martii merged commit 655a7ed into OpenUserJS:master Nov 19, 2015
@Martii Martii deleted the modifyAdminNPMls branch November 19, 2015 06:26
@Martii
Copy link
Copy Markdown
Member Author

Martii commented Nov 19, 2015

Just a note... the "error" could also be thrown (and did locally) if a dependency was removed from ./package.json but not removed from ./node_modules... so this should cover those situations as well... for an indication that one should probably clean ./node_modules out and start fresh. :)

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators May 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug You've guessed it... this means a bug is reported. CODE Some other Code related issue and it should clearly describe what it is affecting in a comment.

Development

Successfully merging this pull request may close these issues.

1 participant