AkashKarnatak / chatgpt-anywhere

ChatGPT Anywhere is a browser extension skeleton for seamless ChatGPT integration, interacting directly with the ChatGPT's browser API and offering developers a cost-efficient solution by eliminating the need for OpenAI's paid API calls.
GNU Affero General Public License v3.0
23 stars 5 forks source link

npm run build #2

Closed qdesp closed 5 months ago

qdesp commented 5 months ago

C:\chatgpt-anywhere>npm run build

chatgpt-anywhere@1.0.0 build npm run bundle && npm run postBundle

chatgpt-anywhere@1.0.0 bundle browserify ./src/background.js --standalone bundle -o ./extension/background.js

Error: Can't walk dependency graph: Cannot find module '@microsoft/fetch-event-source' from 'C:\chatgpt-anywhere\src\background.js' required by C:\chatgpt-anywhere\src\background.js at C:\chatgpt-anywhere\node_modules\resolve\lib\async.js:146:35 at processDirs (C:\chatgpt-anywhere\node_modules\resolve\lib\async.js:299:39) at isdir (C:\chatgpt-anywhere\node_modules\resolve\lib\async.js:306:32) at C:\chatgpt-anywhere\node_modules\resolve\lib\async.js:34:69 at FSReqCallback.oncomplete (node:fs:201:21)

AkashKarnatak commented 5 months ago

I have updated my fork of @microsoft/fetch-event-source to include lib files in the git repo, as I directly install from github. This issue has now been fixed.