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 package code out of date #3

Open
azyth opened this issue Feb 1, 2018 · 0 comments
Open

NPM package code out of date #3

azyth opened this issue Feb 1, 2018 · 0 comments

Comments

@azyth
Copy link

azyth commented Feb 1, 2018

The .js file within your npm package does not match the .ts file here in the repository, I discovered this since I am experiencing the same issue as: Bogdan1975/ng2-slider-component#28 the code that highlights the difference is here https://github.com/Bogdan1975/ng2-styled-directive/blob/master/ng2-styled.directive.ts#L36
var component = this._view.injector.view.context;
!=
var component = this._view._element.component;

with further inspection the node modules in "ng2-slider-component" is the one that matters that it is out of date. swapping out the line above allows it to compile and display a slider on the page.

when I download this from NPM i get a version 1.0.6 and the version in ng2-slider-component is listed as 1.0.5, but both have code which does not match what is here in the repo. Perhaps you just have version issue?

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