BuilderIO / gpt-crawler

Crawl a site to generate knowledge files to create your own custom GPT from a URL
https://www.builder.io/blog/custom-gpt
ISC License
18.59k stars 1.97k forks source link

Error: Invalid or unsupported zip format. No END header found #96

Closed jiangsiYang closed 9 months ago

jiangsiYang commented 10 months ago

hi, i encountered the following error when running npm start in the Window system, and I haven't found any related Issues.How can i solves this ,thank you.

PS D:\data\git\gpt-crawler> npm start

@builder.io/gpt-crawler@1.1.0 start npm run start:dev

@builder.io/gpt-crawler@1.1.0 start:dev cross-env NODE_ENV=development npm run build && node dist/src/main.js

@builder.io/gpt-crawler@1.1.0 build tsc

D:\data\git\gpt-crawler\node_modules\adm-zip\zipFile.js:101 if (!~endOffset) throw new Error(Utils.Errors.INVALID_FORMAT); ^

Error: Invalid or unsupported zip format. No END header found at readMainHeader (D:\data\git\gpt-crawler\node_modules\adm-zip\zipFile.js:101:32) at new module.exports (D:\data\git\gpt-crawler\node_modules\adm-zip\zipFile.js:19:9) at new module.exports (D:\data\git\gpt-crawler\node_modules\adm-zip\adm-zip.js:62:18) at new BayesianNetwork (D:\data\git\gpt-crawler\node_modules\generative-bayesian-network\bayesian-network.js:24:21) at new FingerprintGenerator (D:\data\git\gpt-crawler\node_modules\fingerprint-generator\fingerprint-generator.js:32:44) at BrowserPool._initializeFingerprinting (D:\data\git\gpt-crawler\node_modules\@crawlee\browser-pool\browser-pool.js:566:37) at new BrowserPool (D:\data\git\gpt-crawler\node_modules\@crawlee\browser-pool\browser-pool.js:254:18) at new BrowserCrawler (D:\data\git\gpt-crawler\node_modules\@crawlee\browser\internals\browser-crawler.js:176:28) at new PlaywrightCrawler (D:\data\git\gpt-crawler\node_modules\@crawlee\playwright\internals\playwright-crawler.js:99:9) at crawl (file:///D:/data/git/gpt-crawler/dist/src/core.js:34:25)

Node.js v18.18.0``