Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gradle builde 编译时找不到build.js #16

Open
shyding opened this issue May 25, 2019 · 1 comment
Open

gradle builde 编译时找不到build.js #16

shyding opened this issue May 25, 2019 · 1 comment

Comments

@shyding
Copy link

shyding commented May 25, 2019

Error: Cannot find module 'C:\Users\root\git\porter\porter-ui\builder\build.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)
at Function.Module._load (internal/modules/cjs/loader.js:508:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:754:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)

@zhangkewei
Copy link
Collaborator

zhangkewei commented May 26, 2019

报错源于manager-boot gradle.build文件
image

porter-ui作为submodule被引入porter项目

编译前需要执行submodule的更新
``
git submodule init

git submodule update
``

如果仍然没有下载到porter-ui的代码,可直接将https://github.com/sxfad/porter-ui
的代码复制到相应目录,复制时注意版本号。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants