Articles tagged in: Development



How to Fix NPM Package Does Not Satisfy Its Siblings' peerDependencies Requirements

This error is strange, because it appears when you're trying to install a new package globally with NPM, npm install -g <package-name>. The output of this command is something like this: npm ERR! peerinvalid The package grunt does not satisfy its siblings' peerDependencies requirements! npm ERR! peerinvalid Peer …

Continue Reading

ExpressJS & Jade: How to Use Server-Side Variables in Included JavaScript Files

Recently, I was refactoring some Jade views of an ExpressJS application which shared significant JavaScript code. The JavaScript part required some variables from the server. Generally, this can be done like this: script(type='text/javascript'). var user = !{JSON.stringify(userObject)}; Previously, the project had the following structure for many …

Continue Reading

Explore the Library

Find interesting tutorials and solutions for your problems.