From 22adad9e4759c2baef1a43e454e588f156773330 Mon Sep 17 00:00:00 2001 From: Lucas Kohorst Date: Mon, 21 Oct 2019 22:00:05 -0400 Subject: [PATCH] Updated path to request-promise-native to /dist folder Working on a react app and I get an error that request-promise-native from corenlp cannot be resolved. This can be fixed by changing the path to the package under 'browser' from /src to /dist --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 34d8750..338dae1 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "child-process-promise": false, "load-json-file": false, "request": false, - "request-promise-native": "./src/polyfills/request-promise-native.js", + "request-promise-native": "./dist/polyfills/request-promise-native.js", "tmp-file": false }, "scripts": {