Skip to content
New issue

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

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

Already on GitHub? # to your account

Err: Path must be a string. Received undefined - node 0.6.x #8

Closed
przemyslawpluta opened this issue Jun 3, 2016 · 1 comment
Closed

Comments

@przemyslawpluta
Copy link

Running osascript.execute(cmd, cb) produces this error

TypeError: Path must be a string. Received undefined
    at assertPath (path.js:7:11)
    at dirname (path.js:1324:5)
    at execute (/Users/dev/build/out/node_modules/node-osascript/lib/index.js:24:52)
    at Object.module.exports.execute (/Users/dev/build/out/node_modules/node-osascript/lib/index.js:64:5)
    at ask (/Users/dev/build/out/utils/osa.js:30:17)
    at Object.getDisplaysDetails (/Users/dev/build/out/utils/osa.js:39:7)
    at scanForDisplays (/Users/dev/build/out/sight.js:444:7)
    at PromptUI.prompt [as completed] (/Users/dev/build/out/sight.js:489:7)
    at PromptUI.onCompletion (/Users/dev/build/out/node_modules/inquirer/lib/ui/prompt.js:69:10)
    at AnonymousObserver.Rx.AnonymousObserver.AnonymousObserver.completed (/Users/dev/build/out/node_modules/rx/dist/rx.js:1793:12)
@FWeinb
Copy link
Owner

FWeinb commented Oct 19, 2016

This should be fixed by #7

@FWeinb FWeinb closed this as completed Oct 19, 2016
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants