deepl-node icon indicating copy to clipboard operation
deepl-node copied to clipboard

Unable to resolve module fs | React native deepl-node integration

Open yusuphaceesay opened this issue 3 years ago • 0 comments

Hi, i am trying to integrate deepl-node with my react native app but i keep getting this error after following the installation steps error message: iOS Bundling failed 232ms Unable to resolve module fs from C:\Users\oem\Desktop\Reway\Reway-App-Dev\node_modules\deepl-node\dist\index.js: fs could not be found within the project or in these directories: node_modules 39 | const parsing_1 = require("./parsing"); 40 | const utils_1 = require("./utils");

41 | const fs = __importStar(require("fs")); | ^ 42 | const http_1 = require("http"); 43 | const path_1 = __importDefault(require("path")); 44 | const url_1 = require("url");

yusuphaceesay avatar Aug 05 '22 11:08 yusuphaceesay