我正在跟随Zulip的docs在Vagrant上进行设置。安装似乎进展顺利。但是,当我用./tools/run-dev.py
运行它时:
Error: Cannot find module '../static/node_modules/jquery/dist/jquery.js'
at Function.Module._resolveFilename (module.js:547:15)
at Function.resolve (internal/module.js:18:19)
at exports.default (/srv/zulip/tools/webpack.config.ts:45:35)
at handleFunction (/srv/zulip-npm-cache/6fcddf4358d67c4ab177350efd1322d0f3ed02cc/node_modules/webpack-cli/bin/prepareOptions.js:23:13)
at prepareOptions (/srv/zulip-npm-cache/6fcddf4358d67c4ab177350efd1322d0f3ed02cc/node_modules/webpack-cli/bin/prepareOptions.js:9:5)
at requireConfig (/srv/zulip-npm-cache/6fcddf4358d67c4ab177350efd1322d0f3ed02cc/node_modules/webpack-cli/bin/convert-argv.js:136:14)
at /srv/zulip-npm-cache/6fcddf4358d67c4ab177350efd1322d0f3ed02cc/node_modules/webpack-cli/bin/convert-argv.js:142:17
at Array.forEach (<anonymous>)
at module.exports (/srv/zulip-npm-cache/6fcddf4358d67c4ab177350efd1322d0f3ed02cc/node_modules/webpack-cli/bin/convert-argv.js:140:15)
at Object.<anonymous> (/srv/zulip-npm-cache/6fcddf4358d67c4ab177350efd1322d0f3ed02cc/node_modules/webpack-dev-server/bin/webpack-dev-server.js:234:54)
static / node_modules仅包含以下内容:../node_modules/
。 Here是GitHub上的文件。
这是一个node_modules符号链接,对不对?我正在Windows 10上以管理员身份运行Git BASH,并且:
$ git config core.symlinks
true
Error reading /srv/zulip/zproject/../var/webpack-stats-dev.json. Are you sure webpack has generated the file and the path is correct?
我阅读了docs的“常见错误”部分,并在Google上进行了搜索,但未发现任何内容。我对Vagrant和Virtualbox并不熟悉,所以我还不能很好地浏览它们。我该怎么办?