Closed FatemeKhodayari closed 10 months ago
Very good point. Yes, we should update the README such that repo URLs include a ".git" suffix. Would you like to open a PR?
Very good point. Yes, we should update the README such that repo URLs include a ".git" suffix. Would you like to open a PR?
Done. Also while doing the PR, I found this PR and this forum topic. Wish I'd seen them sooner :))
Thanks for figuring this out, I was banging my head against the wall for the past couple of hours. @regisb, would it be possible to add this to the Release Notes here on GitHub? I was going through them and didn't find anything relevant.
@waza-ari sure thing https://github.com/overhangio/tutor-mfe/releases/tag/v17.0.0
Hi. I recently upgraded from palm (tutor v16.1.7) to quince(tutor 17.0.0). As I have some custom MFEs, added as tutor plugins, I tried building the MFE image but I faced the following error:
As I have both package.json and package-lock.json in my repository, I took a look at the MFE Dockerfile, where this line (the git clone stage) caught my eye:
The line above is what originally exists in the dockerfile of v17.0.0 but as you add custom MFEs, this line gets changed to something like this:
The difference is that, as the readme says as well, people have used their repository URL in the plugin, so no
.git
exists at the end of therepository
key of the MFE plugin, making this line to fail and the mentioned error to occur.The script looked like this before this change:
So shall we change the readme and ask for URLs with
.git
or shall we fix the script?