google-translate icon indicating copy to clipboard operation
google-translate copied to clipboard

Could not run the application after installing, throwing an error mentioned below

Open Steve-Rynjah opened this issue 2 years ago • 4 comments

Error: Unable to resolve module querystring from /Users/steve/project/personal-project/Demo_Test/node_modules/@iamtraction/google-translate/src/index.js: querystring could not be found within the project or in these directories: node_modules ../../../node_modules

1 | const querystring = require("querystring"); | ^ 2 | const { request } = require("undici"); 3 | 4 | const languages = require("./languages");

Steve-Rynjah avatar Nov 25 '22 11:11 Steve-Rynjah

what's the node version?

iamtraction avatar Nov 27 '22 04:11 iamtraction

@iamtraction this is my node version - v18.7.0

Steve-Rynjah avatar Nov 30 '22 07:11 Steve-Rynjah

are you using this in a node app? or is it react/react native?

iamtraction avatar Nov 30 '22 08:11 iamtraction

I am using in React native and getting the same error

kingingcole avatar Oct 30 '23 10:10 kingingcole