macos-catalina - 在 Frappe Framework Bench Start 命令卡在 Rebuilding data_import_tools.min.js on MacOS
问题描述
我是 frappe 框架的新手。我按照 FrappeFramework 网站上的说明安装了所有东西,没有出现任何重大问题。但执行后
bench start
它仍然存在Rebuilding data_import_tools.min.js
我什至让我的 Mac 运行了几个小时,但它仍然不会进一步发展。此外,该过程中没有显示错误。所以我无法弄清楚到底出了什么问题。
所以请指导。谢谢你。
附上我的命令和这个问题的o / p。
user1@MacBook-Pro frappe-bench % bench start
WARN: bench is installed in editable mode!
This is not the recommended mode of installation for production. Instead, install the package from PyPI with: `pip install frappe-bench`
/Users/user1/.pyenv/versions/3.8.5/lib/python3.8/subprocess.py:844: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdout = io.open(c2pread, 'rb', bufsize)
08:17:05 system | redis_cache.1 started (pid=857)
/Users/user1/.pyenv/versions/3.8.5/lib/python3.8/subprocess.py:844: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdout = io.open(c2pread, 'rb', bufsize)
/Users/user1/.pyenv/versions/3.8.5/lib/python3.8/subprocess.py:844: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdout = io.open(c2pread, 'rb', bufsize)
/Users/user1/.pyenv/versions/3.8.5/lib/python3.8/subprocess.py:844: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdout = io.open(c2pread, 'rb', bufsize)
/Users/user1/.pyenv/versions/3.8.5/lib/python3.8/subprocess.py:844: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdout = io.open(c2pread, 'rb', bufsize)
08:17:05 system | redis_socketio.1 started (pid=858)
08:17:05 system | worker_default.1 started (pid=859)
08:17:05 system | socketio.1 started (pid=860)
08:17:05 system | worker_short.1 started (pid=861)
/Users/user1/.pyenv/versions/3.8.5/lib/python3.8/subprocess.py:844: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdout = io.open(c2pread, 'rb', bufsize)
/Users/user1/.pyenv/versions/3.8.5/lib/python3.8/subprocess.py:844: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdout = io.open(c2pread, 'rb', bufsize)
/Users/user1/.pyenv/versions/3.8.5/lib/python3.8/subprocess.py:844: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdout = io.open(c2pread, 'rb', bufsize)
08:17:05 redis_socketio.1 | 858:C 31 Jul 2020 08:17:05.314 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
08:17:05 redis_cache.1 | 857:C 31 Jul 2020 08:17:05.314 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
08:17:05 redis_cache.1 | 857:C 31 Jul 2020 08:17:05.314 # Redis version=6.0.6, bits=64, commit=00000000, modified=0, pid=857, just started
08:17:05 redis_socketio.1 | 858:C 31 Jul 2020 08:17:05.314 # Redis version=6.0.6, bits=64, commit=00000000, modified=0, pid=858, just started
08:17:05 redis_cache.1 | 857:C 31 Jul 2020 08:17:05.314 # Configuration loaded
08:17:05 redis_socketio.1 | 858:C 31 Jul 2020 08:17:05.314 # Configuration loaded
08:17:05 redis_cache.1 | 857:M 31 Jul 2020 08:17:05.315 * Increased maximum number of open files to 10032 (it was originally set to 256).
08:17:05 redis_socketio.1 | 858:M 31 Jul 2020 08:17:05.315 * Increased maximum number of open files to 10032 (it was originally set to 256).
08:17:05 redis_cache.1 | 857:M 31 Jul 2020 08:17:05.319 * Running mode=standalone, port=13000.
08:17:05 redis_socketio.1 | 858:M 31 Jul 2020 08:17:05.319 * Running mode=standalone, port=12000.
08:17:05 redis_cache.1 | 857:M 31 Jul 2020 08:17:05.319 # Server initialized
08:17:05 redis_socketio.1 | 858:M 31 Jul 2020 08:17:05.319 # Server initialized
08:17:05 redis_cache.1 | 857:M 31 Jul 2020 08:17:05.319 * Ready to accept connections
08:17:05 redis_socketio.1 | 858:M 31 Jul 2020 08:17:05.319 * Ready to accept connections
08:17:05 system | web.1 started (pid=865)
08:17:05 system | watch.1 started (pid=866)
/Users/user1/.pyenv/versions/3.8.5/lib/python3.8/subprocess.py:844: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdout = io.open(c2pread, 'rb', bufsize)
08:17:05 system | redis_queue.1 started (pid=864)
08:17:05 redis_queue.1 | 864:C 31 Jul 2020 08:17:05.327 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
08:17:05 redis_queue.1 | 864:C 31 Jul 2020 08:17:05.327 # Redis version=6.0.6, bits=64, commit=00000000, modified=0, pid=864, just started
08:17:05 redis_queue.1 | 864:C 31 Jul 2020 08:17:05.327 # Configuration loaded
08:17:05 redis_queue.1 | 864:M 31 Jul 2020 08:17:05.329 * Increased maximum number of open files to 10032 (it was originally set to 256).
08:17:05 redis_queue.1 | 864:M 31 Jul 2020 08:17:05.330 * Running mode=standalone, port=11000.
08:17:05 redis_queue.1 | 864:M 31 Jul 2020 08:17:05.330 # Server initialized
08:17:05 redis_queue.1 | 864:M 31 Jul 2020 08:17:05.330 * Ready to accept connections
08:17:05 system | schedule.1 started (pid=867)
/Users/user1/.pyenv/versions/3.8.5/lib/python3.8/subprocess.py:844: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdout = io.open(c2pread, 'rb', bufsize)
08:17:05 system | worker_long.1 started (pid=868)
08:17:05 schedule.1 | WARN: bench is installed in editable mode!
08:17:05 schedule.1 |
08:17:05 schedule.1 | This is not the recommended mode of installation for production. Instead, install the package from PyPI with: `pip install frappe-bench`
08:17:05 schedule.1 |
08:17:05 watch.1 | WARN: bench is installed in editable mode!
08:17:05 watch.1 |
08:17:05 watch.1 | This is not the recommended mode of installation for production. Instead, install the package from PyPI with: `pip install frappe-bench`
08:17:05 watch.1 |
08:17:05 web.1 | WARN: bench is installed in editable mode!
08:17:05 web.1 |
08:17:05 web.1 | This is not the recommended mode of installation for production. Instead, install the package from PyPI with: `pip install frappe-bench`
08:17:05 web.1 |
08:17:07 web.1 | * Running on http://0.0.0.0:8000/ (Press CTRL+C to quit)
08:17:07 web.1 | * Restarting with fsevents reloader
08:17:08 web.1 | * Debugger is active!
08:17:08 web.1 | * Debugger PIN: 351-662-683
08:17:09 socketio.1 | listening on *: 9000
08:17:12 watch.1 | yarn run v1.22.4
08:17:12 watch.1 | $ node rollup/watch.js
08:17:13 watch.1 |
08:17:13 watch.1 | Rollup Watcher Started
08:17:13 watch.1 |
08:17:13 watch.1 | Watching...
08:17:14 watch.1 | Rebuilding frappe-web-b4.css
08:17:14 watch.1 | Rebuilding frappe-chat-web.css
08:17:14 watch.1 | Rebuilding chat.js
08:17:15 watch.1 | Rebuilding frappe-recorder.min.js
08:17:17 watch.1 | Rebuilding checkout.min.js
08:17:17 watch.1 | Rebuilding frappe-web.min.js
08:17:18 watch.1 | Rebuilding bootstrap-4-web.min.js
08:17:18 watch.1 | Rebuilding control.min.js
08:17:20 watch.1 | Rebuilding dialog.min.js
08:17:21 watch.1 | Rebuilding desk.min.css
08:17:21 watch.1 | Rebuilding frappe-rtl.css
08:17:22 watch.1 | Rebuilding printview.css
08:17:22 watch.1 | Rebuilding desk.min.js
08:17:25 watch.1 | Rebuilding form.min.css
08:17:25 watch.1 | Rebuilding form.min.js
08:17:26 watch.1 | Rebuilding list.min.css
08:17:26 watch.1 | Rebuilding list.min.js
08:17:27 watch.1 | Rebuilding report.min.css
08:17:27 watch.1 | Rebuilding report.min.js
08:17:28 watch.1 | Rebuilding web_form.min.js
08:17:28 watch.1 | Rebuilding web_form.css
08:17:28 watch.1 | Rebuilding email.css
08:17:28 watch.1 | Rebuilding social.min.js
08:17:29 watch.1 | Rebuilding barcode_scanner.min.js
08:17:30 watch.1 | Rebuilding data_import_tools.min.js
解决方案
您已经开始运行 Frappe 开发服务器。您看到的输出只是 bench 启动的进程的日志。
您发送到服务器的请求将在此处记录,前缀为web
. 观察者动态构建资产,其日志以watch
. 同样,您可以看到调度程序和 redis 进程的输出。
如果您创建了一个新站点并将其添加到主机文件中,则可以从浏览器访问您的站点。根据您共享的日志,您应该可以在端口 8000 访问该站点。如果您的站点名称是,请尝试通过http://site1.local:8000site1.local
访问它。
要了解工作台架构和用法,我建议您查看Frappe 框架文档。
推荐阅读
- reactjs - React native 和 MobX:对装饰器的实验性支持是一个主题 [...]。但是“tsconfig”或“jsconfig”不存在
- python - 为什么我在一个函数中正确加载的图像只在另一个函数中加载为 1 x 4 像素?
- c++ - 如何将 mysqlcppconn.lib 链接到 C++ 项目
- amazon-web-services - AWS CDK 将多个 Lambda 订阅到同一个 SNS 队列
- r - 如何使用R在所有行的某个位置插入一个字符
- google-chrome-extension - CORS 和内容政策违规问题 - Chrome 扩展清单 V3
- javascript - 使用“less.render”后删除了空的更少块
- r - 如何正确解析时间和日期
- aws-sdk-java-2.0 - grails 2.5.6 中适用于 Java 2.x 的 AWS 开发工具包
- regex - 如何将正则表达式放入赛普拉斯的 get 语句中?