Closed mbodecek closed 2 years ago
I'm getting the following error when running taq compile with @taqueria/plugin-ligo:
taq compile
@taqueria/plugin-ligo
Error response from daemon: OCI runtime create failed: container_linux.go:367: starting container process caused: exec: "/root/ligo": stat /root/ligo: permission denied: unknown
This happens for all ligo contracts including Taqueria scaffolds. The same error has been observed on Windows with WSL
When docker running a ligo container is invoked manually, it works fine:
docker run -v $PWD:/project -w /project --rm -i ligolang/ligo:0.50.0 compile contract contracts/hello-tacos.mligo --output-file artifacts/hello-tacos.tz
mbodecek@mb-mac dp % taq scaffold https://github.com/ecadlabs/taqueria-scaffold-taco-shop taco-shop Scaffolding 🛠 into: /Users/mbodecek/work/dp/taco-shop from: https://github.com/ecadlabs/taqueria-scaffold-taco-shop Cloning into '/Users/mbodecek/work/dp/taco-shop'... Initializing Project... ✓ Remove Git directory ✓ Install plugins ✓ Run scaffold post-init script ✓ Project Taq'ified 🌮 Project created successfully 🌮 mbodecek@mb-mac dp % cd taco-shop mbodecek@mb-mac taco-shop % taq compile hello-tacos.mligo === For hello-tacos.mligo === docker: Error response from daemon: OCI runtime create failed: container_linux.go:367: starting container process caused: exec: "/root/ligo": stat /root/ligo: permission denied: unknown. ┌───────────────────┬──────────────┐ │ Contract │ Artifact │ ├───────────────────┼──────────────┤ │ hello-tacos.mligo │ Not compiled │ └───────────────────┴──────────────┘
🤯 Major disruption
always
MacOS
x64
v0.16
v16.15.1
No response
@mbodecek The fix is on the way. PR to the scaffold should be merged by the end of the day. I will keep you posted.
🆘 What happened?
I'm getting the following error when running
taq compile
with@taqueria/plugin-ligo
:This happens for all ligo contracts including Taqueria scaffolds. The same error has been observed on Windows with WSL
When docker running a ligo container is invoked manually, it works fine:
🪵 Relevant log output
🐘 How impactful is this bug?
🤯 Major disruption
⏱️ Prevalance
always
💻 Operating System
MacOS
🕸️ System Architecture
x64
🌮 Taqueria Version
v0.16
🌿 Node.js Version
v16.15.1
☎️ Contact Details
No response
Code of Conduct