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

Does not support npx #36

Open
istvandesign opened this issue Jul 20, 2020 · 1 comment
Open

Does not support npx #36

istvandesign opened this issue Jul 20, 2020 · 1 comment

Comments

@istvandesign
Copy link

I tried to use intermock with npx and got the following errors:

/Users/istvanfulop/.npm/_npx/63491/bin/intermock: line 1: use strict: command not found
/Users/istvanfulop/.npm/_npx/63491/bin/intermock: line 2: syntax error near unexpected token `exports,'
/Users/istvanfulop/.npm/_npx/63491/bin/intermock: line 2: `Object.defineProperty(exports, "__esModule", { value: true });'
@dmitryrn
Copy link
Contributor

dmitryrn commented Sep 26, 2020

Same. The /bin/intermock file's first line should be #!/usr/bin/env node

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

2 participants