rap2 koa-generic-session報錯-TypeError: Cannot set property name of which has only a getter


rap2后端服務無法啟動,多次重啟失敗

0|rap-server-delos | TypeError: Cannot set property name of which has only a getter
0|rap-server-delos | at defaultErrorHanlder (/opt/rap2/rap2-delos/node_modules/koa-generic-session/lib/session.js:558:12)
0|rap-server-delos | at /opt/rap2/rap2-delos/node_modules/koa-generic-session/lib/session.js:193:9
0|rap-server-delos | at Generator.throw (<anonymous>)
0|rap-server-delos | at step (/opt/rap2/rap2-delos/node_modules/koa-generic-session/lib/session.js:3:191)
0|rap-server-delos | at /opt/rap2/rap2-delos/node_modules/koa-generic-session/lib/session.js:3:402
0|rap-server-delos | at process._tickCallback (internal/process/next_tick.js:68:7)

 

解決:重新啟動 redis

ubuntu:

  停止: /etc/init.d/redis-server stop

  啟動: /etc/init.d/redis-server start

centos:

  啟動:systemctl start redis
  停止:systemctl stop redis


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



猜您在找 Vue的報錯:Uncaught TypeError: Cannot assign to read only property 'exports' of object '#' 報錯誤 : ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'name' of undefined VUE使用axios數據請求時報錯 TypeError: Cannot set property 'xxxx' of undefined 的解決辦法 Failed to set the 'value' property on 'HTMLInputElement': This input element accepts a filename, which may only be programmatically set to the empty string 【轉】Uncaught TypeError: Cannot set property ' ' of null 錯誤解決 Uncaught TypeError: Cannot set property 'onclick' of null解決辦法 (轉)Uncaught TypeError: Cannot set property 'innerHTML' of null 解決Uncaught TypeError: Cannot set property 'onclick' of null錯誤的方法 記錄報錯Cannot set property 'innerHTML' of null rap2 環境搭建
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM