Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node version does not work as expected #9

Open
alex-popov-tech opened this issue Mar 29, 2018 · 0 comments
Open

Node version does not work as expected #9

alex-popov-tech opened this issue Mar 29, 2018 · 0 comments

Comments

@alex-popov-tech
Copy link

Hi guys, trying to execute code sample from README for node, and see following error

Users/alexanderpopov/github/sample/node_modules/glance-dom/javascript/lib/glance-dom.js:44
		if (!_this.execute) throw Error('Please provide an execute function using setExecute');
		                    ^

Error: Please provide an execute function using setExecute
    at CreateGlanceDOM.ensureGlanceDOMLoadedAndExecute (/Users/alexanderpopov/reps/github/protractor-extensions/node_modules/glance-dom/javascript/lib/glance-dom.js:44:29)
    at CreateGlanceDOM.selector (/Users/alexanderpopov/reps/github/protractor-extensions/node_modules/glance-dom/javascript/lib/glance-dom.js:78:16)
    at Object.<anonymous> (/Users/alexanderpopov/reps/github/protractor-extensions/test.js:2:15)
    at Module._compile (module.js:624:30)
    at Object.Module._extensions..js (module.js:635:10)
    at Module.load (module.js:545:32)
    at tryModuleLoad (module.js:508:12)
    at Function.Module._load (module.js:500:3)
    at Function.Module.runMain (module.js:665:10)
    at startup (bootstrap_node.js:187:16)

Am I doing something wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant