-
-
Notifications
You must be signed in to change notification settings - Fork 94
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
Latest version incompatible with Angular CLI #35
Comments
what version of CLI you are using ? I tested it on angular cli 1.0.0. It works without issue. |
More info:
In package.json:
And when I try to do:
It says:
But if I install |
could you try cli 1.0 instead of RC 1? |
Which version of typescript is included in your project? |
Ah......Why ? What's wrong with 1.0 ? Anyway, I think the problem is Typescript version. You can go to your node_module\ngx-clipboard and add I think this is only different between 4.0 and 5.0.3 |
FYI, Angular 2.x only supports typescript ~2.0.0 so he should he would have to upgrade to the latest typescript 2.0.x, not 2.1.x or 2.2.x |
@JSMike Oh ! I didn't know that. Sorry @Ismaestro you might wanna try manually modify the package.json to see if it works. If it does, I will push another release. |
I think 5.0.8 should take care your issue. |
@maxisam That's it. now it works! thanks! :) |
Cool. It is still kinda weird why it didn't work. I don't fully understand why removing typings & adding module make this work. |
I think watching the changes that the problem was the path. In 4.0.0 it was like this: So when I tried to import the module typescript didn't find it... Whatever, now it works, thanks! |
I've installed latest version like this:
npm install ngx-clipboard --save
I'm using Angular CLI and there is a problem with v5.0.3 of this module.
I have to use 4.0.0 in my package.json.
Please update de documentation and the module in order to use Webpack and AngularCLI. SystemJS is in decline
The text was updated successfully, but these errors were encountered: