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

NPM module not building correctly. #17

Open
paulterinho opened this issue Jan 11, 2020 · 1 comment
Open

NPM module not building correctly. #17

paulterinho opened this issue Jan 11, 2020 · 1 comment

Comments

@paulterinho
Copy link

Hi Bug Hunters,

I'm using oas3-tools indirectly as a npm module when I'm generating a nodejs server with the Swagger UI, and it seems that the middleware folder isn't getting copied and compiled over to the dist folder.

Steps to recreate:

  1. Open https://editor.swagger.io/
  2. Use the command Edit > Convert to YAML
  3. Use the command Edit > Convert to Open API 2
  4. Use the command Generate Server > nodejs-server
  5. Unzip the file it gave you with the previous command
  6. Run npm start which will build and try to run the server which will bonk on this particular error mentioned.

Here's the Stackoverflow question for more context:

@HugoMario
Copy link
Collaborator

thanks for filing this @paulito-bandito, going to address it this week.

skalinkin added a commit to skalinkin/oas3-tools that referenced this issue Jan 31, 2020
HugoMario added a commit that referenced this issue Feb 7, 2020
Fixing issue #17 NPM module not building correctly
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