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

Cannot find module 'http' and 'https #378

Closed
difrankode opened this issue Apr 3, 2020 · 3 comments
Closed

Cannot find module 'http' and 'https #378

difrankode opened this issue Apr 3, 2020 · 3 comments
Assignees
Labels
type: question Request for information or clarification. Not an issue.

Comments

@difrankode
Copy link

difrankode commented Apr 3, 2020

I installed google-maps-services-js and I try use placeQueryAutocomplete method. but when i run my app, show thats error..

i try install http and https modules with npm i, but conitnues the same error.

this is a ionic angular project.

log:

node_modules/@googlemaps/google-maps-services-js/node_modules/agentkeepalive/index.d.ts(2,25): error TS2307: Cannot find module 'http'.
node_modules/@googlemaps/google-maps-services-js/node_modules/agentkeepalive/index.d.ts(3,26): error TS2307: Cannot find module 'https'.
@difrankode difrankode added triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Apr 3, 2020
@jpoehnelt jpoehnelt added type: question Request for information or clarification. Not an issue. and removed triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Apr 3, 2020
@jpoehnelt
Copy link
Contributor

jpoehnelt commented Apr 3, 2020

Typically this would be solved by modifying your tsconfig similar to TypeStrong/ts-node#216 (comment). I'm not sure what the specific course of action should be for ionic applications.

I am going to close this as I do not believe there is an action item here for the library. Let me know what you find!

@jpoehnelt
Copy link
Contributor

jpoehnelt commented Apr 3, 2020

@HamzaKhalidMirza
Copy link

ImFranQ, I got into the same problem. If you find any solution, kindly paste the solution here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question Request for information or clarification. Not an issue.
Projects
None yet
Development

No branches or pull requests

3 participants