11

Spent 4 hours trying to figure out why my expressjs application wasn't working in my environment but DevOps loads it just fine. Turns out there's a difference between ^ and ~ on dependency version requirements. I was loading latest versions of nunjucks and NodeJs instead of stable.

What is life.

Comments
  • 1
    I was unaware of this myself so thank you for updating me.
  • 0
    Ooh! You should look into "npm shrinkwrap". It's a feature that you should be using that ensures that all environments get the same exact versions of your dependencies. It handles updates well, too.
Add Comment