syncano-node
syncano-node copied to clipboard
Error in deployment after creating a new socket
MBP-Maciej:syncanodisco 🤖 $ s create disco
Running with syncano-global-cli 🌍
? Choose template for your Socket ES6 Socket - (@syncano/template-socket-es6)
✔ Your Socket configuration is stored at /Users/korsanstudio/projekty/2018/syncanodisco/syncano/disco
MBP-Maciej:syncanodisco 🤖 $ ls
node_modules package-lock.json package.json syncano web
MBP-Maciej:syncanodisco 🤖 $ s hot
Running with syncano-global-cli 🌍
🔥 Hot deploy started (Hit Ctrl-C to stop)
project synced: 15:14:24 1 ms
socket sync error: 15:14:25 ${socketName}
Validation error:
- /name - should match pattern "^[?:a-z0-9-_]*$" ({"pattern":"^[?:a-z0-9-_]*$"})
socket synced: 15:14:27 disco 2869 ms
Ok, it is easy to fixed. Copy&Paste error (Socket in example project should not be a template). Workaround is to edit socket.yml and fix the name of the Socket. I’ll fix it today.