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

SystemJs #32

Closed
boris1690 opened this issue Feb 28, 2017 · 5 comments
Closed

SystemJs #32

boris1690 opened this issue Feb 28, 2017 · 5 comments
Labels

Comments

@boris1690
Copy link

Hi, i cant config NGX-PPES, cause it show me the next error

http://localhost:3000/node_modules/ngx-pipes/src/app/pipes/array.js 404 (Not Found)
http://localhost:3000/node_modules/ngx-pipes/src/app/pipes/object.js

i have this config in systemjs

'ngx-pipes': {
main: 'src/app/index.js',
defaultExtension: 'js'
}
in package;

@donaldinho
Copy link

donaldinho commented Feb 28, 2017

just ran into the same issue.
The require statements in src/app/pipes.module.js

var array_1 = require('./pipes/array');
var object_1 = require('./pipes/object');
var string_1 = require('./pipes/string');
var math_1 = require('./pipes/math');
var boolean_1 = require('./pipes/boolean');

work when changed to

var array_1 = require('./pipes/array/index');
var object_1 = require('./pipes/object/index');
var string_1 = require('./pipes/string/index');
var math_1 = require('./pipes/math/index');
var boolean_1 = require('./pipes/boolean/index');

Although I don't want to have to edit the js to get this to work

danrevah added a commit that referenced this issue Feb 28, 2017
@danrevah
Copy link
Owner

@donaldinho Thanks for letting me know what could solve it.
I've made the required changes and published to v1.4.5

Let me know if this fixed it.

@donaldinho
Copy link

Brilliant. Works for me now.
Thanks for fixing

@danrevah
Copy link
Owner

@donaldinho glad to hear!
@boris1690 Does that fixes your scenario as well?

@danrevah
Copy link
Owner

danrevah commented Mar 7, 2017

I'm closing it since it has been a week without a reply..
Let me know if this needs to be reopened.

Thanks.

@danrevah danrevah closed this as completed Mar 7, 2017
@danrevah danrevah added the bug label Mar 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants