Comments (5)
用build方式也报错了:
FO Starting development server... 10% building 2/5 modules 3 active ...ream/node_modules/eslint-loader/index.js??ref--14-0!/root/chatgpt-stream/src/main.jsError: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:71:19) at Object.createHash (node:crypto:133:10) at module.exports (/root/chatgpt-stream/node_modules/webpack/lib/util/createHash.js:135:53) at NormalModule._initBuildHash (/root/chatgpt-stream/node_modules/webpack/lib/NormalModule.js:417:16) at handleParseError (/root/chatgpt-stream/node_modules/webpack/lib/NormalModule.js:471:10) at /root/chatgpt-stream/node_modules/webpack/lib/NormalModule.js:503:5 at /root/chatgpt-stream/node_modules/webpack/lib/NormalModule.js:358:12 at /root/chatgpt-stream/node_modules/loader-runner/lib/LoaderRunner.js:373:3 at iterateNormalLoaders (/root/chatgpt-stream/node_modules/loader-runner/lib/LoaderRunner.js:214:10) at iterateNormalLoaders (/root/chatgpt-stream/node_modules/loader-runner/lib/LoaderRunner.js:221:10) at /root/chatgpt-stream/node_modules/loader-runner/lib/LoaderRunner.js:236:3 at runSyncOrAsync (/root/chatgpt-stream/node_modules/loader-runner/lib/LoaderRunner.js:130:11) at iterateNormalLoaders (/root/chatgpt-stream/node_modules/loader-runner/lib/LoaderRunner.js:232:2) at Array. (/root/chatgpt-stream/node_modules/loader-runner/lib/LoaderRunner.js:205:4) at Storage.finished (/root/chatgpt-stream/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16) at /root/chatgpt-stream/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9 node:internal/crypto/hash:71 this[kHandle] = new _Hash(algorithm, xofLen); ^ Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:71:19) at Object.createHash (node:crypto:133:10) at module.exports (/root/chatgpt-stream/node_modules/webpack/lib/util/createHash.js:135:53) at NormalModule._initBuildHash (/root/chatgpt-stream/node_modules/webpack/lib/NormalModule.js:417:16) at handleParseError (/root/chatgpt-stream/node_modules/webpack/lib/NormalModule.js:471:10) at /root/chatgpt-stream/node_modules/webpack/lib/NormalModule.js:503:5 at /root/chatgpt-stream/node_modules/webpack/lib/NormalModule.js:358:12 at /root/chatgpt-stream/node_modules/loader-runner/lib/LoaderRunner.js:373:3 at iterateNormalLoaders (/root/chatgpt-stream/node_modules/loader-runner/lib/LoaderRunner.js:214:10) at Array. (/root/chatgpt-stream/node_modules/loader-runner/lib/LoaderRunner.js:205:4) at Storage.finished (/root/chatgpt-stream/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16) at /root/chatgpt-stream/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9 at /root/chatgpt-stream/node_modules/graceful-fs/graceful-fs.js:123:16 at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3) { opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], library: 'digital envelope routines', reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED' } Node.js v18.14.2
from chatgpt-stream.
对于高版本的npm,出现ERR_OSSL_EVP_UNSUPPORTED
这个错误请调整构建命令为:
export NODE_OPTIONS=--openssl-legacy-provider && npm run build
from chatgpt-stream.
运行chatgpt-stream需要先运行后端服务chatgpt-service
from chatgpt-stream.
@cookeem 感谢,mac下成功运行,不过好像这个不是连续对话,还有就是发送成功后最好把输入框内容清空了。🙏
from chatgpt-stream.
现在支持上下文对话了
from chatgpt-stream.
Related Issues (4)
- docker服务启动命令是不是写错了? HOT 1
- 怎么修改代码,进行页面跳转 HOT 1
- 很棒!感谢作者! HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatgpt-stream.