-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Error while building: Cannot find type definition file for 'paho-mqtt'. #629
Comments
Hey @ildar-icoosoft could you run |
@richardzcode Why does aws-amplify has not paho-mqtt dependency in package.json? I don't want to know about all your dependencies. This is a bug and you should not close this issue. Also I see nothing about |
Followed the documentation and looked at nothing else, had the same issue on building an Angular application from scratch. Thankfully someone had a similar issue. |
@mg131 how did you solve this problem ? |
@ildar-icoosoft thanks for the feedback, agreed, this should be added we will add this into the next release. |
@Jasminou I created a new app through Angular CLI (CLI version 1.7.4 and Node at version 9.11.1 if that matters).
After that, the only package I installed was aws-amplify.
Now, if you start using amplify (I only used Auth as a test) and building your application using
To fix the missing type definition files: The remaining errors are due to missing typings on the aws-sdk package. You can view a fix for that here: https://github.com/aws/aws-sdk-js/issues/1271 Based on the discussion on that link: I don't know if there are other errors though as I only used the Auth module as a test. |
@mg131 yes thx this is what i did after few research thx :) |
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs. Looking for a help forum? We recommend joining the Amplify Community Discord server |
Do you want to request a feature or report a bug? bug
What is the current behavior?
When I build my project I get this error in console:
Which versions of Amplify, and which browser / OS are affected by this issue? Did this work in previous versions?
aws-amplify 0.2.14
The text was updated successfully, but these errors were encountered: