Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

vuejs module #551

Closed
ahmadihussain opened this issue Mar 3, 2020 · 4 comments
Closed

vuejs module #551

ahmadihussain opened this issue Mar 3, 2020 · 4 comments
Assignees
Labels
api: dialogflow Issues related to the googleapis/nodejs-dialogflow API. type: question Request for information or clarification. Not an issue. web

Comments

@ahmadihussain
Copy link

Thanks for stopping by to let us know something could be better!

PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.

Please run down the following list and make sure you've tried the usual "quick fixes":

If you are still having issues, please be sure to include as much information as possible:

Environment details

  • OS:
  • Node.js version:
  • npm version:
  • @google-cloud/dialogflow version:

Steps to reproduce

  1. ?
  2. ?

Making sure to follow these steps will guarantee the quickest resolution possible.

Thanks!

@product-auto-label product-auto-label bot added the api: dialogflow Issues related to the googleapis/nodejs-dialogflow API. label Mar 3, 2020
@ahmadihussain
Copy link
Author

how to solve this error

./node_modules/@grpc/grpc-js/build/src/resolver-dns.js
Module not found: Error: Can't resolve 'dns' in 'C:\Users\HUSSAIN\Desktop\haji-admin\node_modules@grpc\grpc-js\build\src'

@ahmadihussain
Copy link
Author

how i can this sovle error in vuejs

./node_modules/@grpc/grpc-js/build/src/resolver-dns.js
Module not found: Error: Can't resolve 'dns' in 'C:\Users\HUSSAIN\Desktop\haji-admin\node_modules@grpc\grpc-js\build\src'

@ahmadihussain
Copy link
Author

how I can this solve the error in Vuejs

./node_modules/@grpc/grpc-js/build/src/resolver-dns.js
Module not found: Error: Can't resolve 'dns' in 'C:\Users\HUSSAIN\Desktop\haji-admin\node_modules@grpc\grpc-js\build\src'

@ahmadihussain ahmadihussain reopened this Mar 3, 2020
@bcoe bcoe added the type: question Request for information or clarification. Not an issue. label Mar 3, 2020
@bcoe
Copy link
Contributor

bcoe commented Mar 3, 2020

👋 hey @ahmadihussain, the @grpc/grpc-js dependency does not work in the browser (and in turn Vuejs). It should be possible to webpack this library however, following instructions outlined here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api: dialogflow Issues related to the googleapis/nodejs-dialogflow API. type: question Request for information or clarification. Not an issue. web
Projects
None yet
Development

No branches or pull requests

3 participants