-
Notifications
You must be signed in to change notification settings - Fork 4
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
Dependicies and #4
Comments
Hi, thanks for bringing this to my attention. Issue 1: I have updated some of the mismatched dependencies and will release an updated today so that those errors no longer appear. You may still see the following:
Related to this issue: ajv-validator/ajv#708 But this has no effect on functionality, so can be safely ignored in this case. Issue 2: How are you importing
The error you're getting suggests you're importing something else called |
Hello, Issue 1 is solved ;)
My import for Issue 2 is: That's why i am a bit puzzled. Following your LogProvider constructor, it looks correct: But Webstorm shows already an error in the app.module.ts file!
Strange indeed // edit: |
Interesting. I haven't been able to repro this even after playing with my dependency versions, but after some searching found these, which look like the same issue: microsoft/TypeScript#8346 What version of typescript are you using? |
local typescript is version 2.6.2 |
That's the same version as I'm using in my projects which use this package. I'm a little stumped then. Apart from a clean npm install, I'm not sure what to recommend to you... |
Can you try something like this answer? |
Hello, I removed the node_modules folder and tried a "npm install". I added the lines from your link to my tsconfig.json.
I'try it on my mac later. |
@nowrap, I've managed to repro something similar using a fresh ionic starter. Did you end up getting this resolved or have a solution before I investigate further? |
@nowrap: I managed to resolve the issue by adding the following to my tsconfig.json:
I think the ultimate solution is to make this package a module, but see if this gets you up and running for now |
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. |
Hello,
today i've added your package to my ionic 3 app.
With npm i am getting dependencie errors:
npm WARN @angular/platform-browser@5.0.3 requires a peer of @angular/core@5.0.3 bu t none is installed. You must install peer dependencies yourself. npm WARN @angular/platform-browser@5.0.3 requires a peer of @angular/common@5.0.3 but none is installed. You must install peer dependencies yourself. npm WARN @angular/platform-browser-dynamic@5.0.3 requires a peer of @angular/core@ 5.0.3 but none is installed. You must install peer dependencies yourself. npm WARN @angular/platform-browser-dynamic@5.0.3 requires a peer of @angular/commo n@5.0.3 but none is installed. You must install peer dependencies yourself. npm WARN @angular/platform-browser-dynamic@5.0.3 requires a peer of @angular/compi ler@5.0.3 but none is installed. You must install peer dependencies yourself.
Within app.module.ts i am getting a build error
`Argument of type 'Platform' is not assignable to parameter of type 'Platform'. Types have separate declarations of a private property '_win'.
ig({/your config here/}));
`
Do you have any advices?
Regards
.nowrap
The text was updated successfully, but these errors were encountered: