开源看板wekanwindows环境下离线部署
1. 如果已经按照过wekan,建议先备份,
2. 下载node.js 安装包(后缀.msi的)并安装(官⽅说安装时要勾选“Install additional tools”,我安装时并⽆勾选,安装完后发现已经存在 Install additional tools for Node.js 所
以此项基本可以忽略)
nodejs下载地址: 可能需要FQ
重要:我在安装时下载node.js版本为14.15.5 始终⽆法启动,当切换到12.20.2时则可以顺利启动wekan,所以官⽅“Install newest Node.js LTS v12.x for Windows”这句话的意思应该是下载12⼤版本号的最新的版本
nodejs版本过⾼(v14.15.5)时启动wekan如此报错
E:\wekan environment\wekan-4.96\bundle>start-wekan.bat
## There is an issue with `node-fibers` ##
`E:\wekan environment\wekan-4.96\bundle\programs\server\node_modules\fibers\bin\de` is missing.
Try running this to fix the issue: E:\Program Files\ E:\wekan\ environment\wekan-4.96\bundle\programs\server\node_modules\fibers/build
Error: Cannot find module 'E:\wekan environment\wekan-4.96\bundle\programs\server\node_modules\fibers\bin\win32-x64-83\fibers'
Require stack:
- E:\wekan environment\wekan-4.96\bundle\programs\server\node_modules\fibers\fibers.js
- E:\wekan environment\wekan-4.96\bundle\programs\server\boot.js
- E:\wekan environment\wekan-4.96\bundle\main.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
quire (internal/modules/cjs/loader.js:952:19)
nodejs工作流引擎开源at require (internal/modules/cjs/helpers.js:88:18)
at Object.<anonymous> (E:\wekan environment\wekan-4.96\bundle\programs\server\node_modules\fibers\fibers.js:14:39)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Module.Mp._compile (E:\wekan environment\wekan-4.96\bundle\programs\server\runtime.js:50:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Module.Mp.load (E:\wekan environment\wekan-4.96\bundle\programs\server\runtime.js:15:31)
E:\wekan environment\wekan-4.96\bundle\programs\server\node_modules\fibers\fibers.js:23
throw new Error('Missing binary. See message above.');
^
Error: Missing binary. See message above.
at Object.<anonymous> (E:\wekan environment\wekan-4.96\bundle\programs\server\node_modules\fibers\fibers.js:23:9)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Module.Mp._compile (E:\wekan environment\wekan-4.96\bundle\programs\server\runtime.js:50:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Module.Mp.load (E:\wekan environment\wekan-4.96\bundle\programs\server\runtime.js:15:31)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
quire (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.<anonymous> (E:\wekan environment\wekan-4.96\bundle\programs\server\boot.js:2:15)
3.
4.
5. 解压ip 得到bundle⽂件夹
6.
7. windows 下安装的nodejs 和 mongodb 我的实践结果是:安装完成后⾃动启动,且开机⾃动启动,所以官⽅wiki的后续启动⽅法,可以作为参考,本⽂不使⽤
8. 启动wekan,⽤管理员⾝份启动,
cd bundle
start-wekan.bat
部署成功显⽰
E:\wekan environment\wekan-4.96\bundle>start-wekan.bat
Note: you are using a pure-JavaScript implementation of bcrypt.
While this implementation will work correctly, it is known to be
approximately three times slower than the native implementation.
In order to use the native implementation instead, run
meteor npm install --save bcrypt
in the root directory of your application.
Presence started serverId=i25QswKht75ewDZHe
{"line":"87","file":"packages\\percolate_synced-cron.js","message":"SyncedCron: Scheduled \"notification_cleanup\" next run @Fri Feb 19 2021 10:17:25 GMT+0800 (GMT+08:00)","time":{"$date":1613701045574},"level":"info"} (node:8284) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
参考
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论