juliensobrier / browshot-nodejs

Node.js library for Browshot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error with apiVersion function

shayzalman opened this issue · comments

There is an error with apiVersion function:

ERROR in ./node_modules/browshot/index.js 190:8-42
Module not found: Error: Can't resolve './package' in '.../node_modules/browshot'

Browshot.prototype.apiVersion = function() {
	return require('./package').version.split('.', 2).join('.');
}

Need to be changed to package.json