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

TypeError: Cannot read property 'length' of undefined #14

Open
HafizABR opened this issue Jul 21, 2022 · 0 comments
Open

TypeError: Cannot read property 'length' of undefined #14

HafizABR opened this issue Jul 21, 2022 · 0 comments

Comments

@HafizABR
Copy link

When i run the command
apib2postman my_file.apib -o collection.json -e environment.json

Then it give me error.

Processing API Blueprint...
Converting to Postman Collection...
TypeError: Cannot read property 'length' of undefined
    at Function.parse (/usr/local/lib/node_modules/@apib/2postman/node_modules/uritemplate/bin/uritemplate.js:570:49)
    at /usr/local/lib/node_modules/@apib/2postman/src/index.js:105:39
    at Array.map (<anonymous>)
    at parseActions (/usr/local/lib/node_modules/@apib/2postman/src/index.js:98:18)
    at /usr/local/lib/node_modules/@apib/2postman/src/index.js:54:27
    at Array.forEach (<anonymous>)
    at /usr/local/lib/node_modules/@apib/2postman/src/index.js:41:10
    at Array.forEach (<anonymous>)
    at apib2postman (/usr/local/lib/node_modules/@apib/2postman/src/index.js:30:6)
    at /usr/local/lib/node_modules/@apib/2postman/src/index.js:324:27

I'm not able to use your service. Any help will be appreciated.

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