Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

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.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant