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

Server is not starting due to general issues #1

Open
adriankremer opened this issue Nov 15, 2018 · 2 comments
Open

Server is not starting due to general issues #1

adriankremer opened this issue Nov 15, 2018 · 2 comments

Comments

@adriankremer
Copy link

adriankremer commented Nov 15, 2018

line 1: syntax error near unexpected token `('
line 1: `const Port = require('get-port')

Node v8.11.2
NPM v5.6.0
OSX v10.13.6

@mnn
Copy link

mnn commented Dec 3, 2018

Probably same issue:

/xxx/node_modules/.bin/openapi-mock-server: 1: /xxx/node_modules/.bin/openapi-mock-server: Syntax error: "(" unexpected

Node 8.9.4
NPM 5.6.0
Kubuntu 16.04
openapi-mock-server 0.1.3 (latest)

@schneekatze
Copy link

Try

node `which openapi-mock-server` --api=<path>

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

3 participants