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

Fixes postman module issues #148

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

philsturgeon
Copy link

@philsturgeon philsturgeon commented Dec 6, 2017

Fixes basic postman issues that make it literally not run at all.

ERROR in ./configs/node/api-flow-config.js
Module not found: Error: Can't resolve '../../src/loaders/postman/v2.0/Parser' in '/Users/psturgeon/src/apis/API-Flow/configs/node'
 @ ./configs/node/api-flow-config.js 9:0-67
 @ ./src/environments/environment.js
 @ ./src/api-flow.js
 @ ./configs/node/api-flow.js


import SwaggerV2Parser from '../../src/parsers/swagger/v2.0/Parser'
import RAMLV1Parser from '../../src/parsers/raml/v1.0/Parser'
import PostmanV2Parser from '../../src/loaders/postman/v2.0/Parser'
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty sure this was the main issue, but naming consistency is a thing.

@@ -4,7 +4,7 @@ const config = {
target: 'webworker',
entry: path.resolve(__dirname, './api-flow.js'),
output: {
path: path.resolve(__dirname, '../../../dist/node/'),
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This caused other issues where running webworker and node in make would override 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

Successfully merging this pull request may close these issues.

None yet

1 participant