Throw error if .npm is used incorrectly