Fixed missed require definition.
Merge branch 'npm-resolve' into peerlibrary