Closed ofirrifo closed 3 years ago
Hey @ofirrifo , could you share the angular plugin version currently installed?
@yuqu
My global packages npm ls -g --depth=0
/Users/ofirf 1/.nvm/versions/node/v14.15.5/lib
βββ @angular/cli@12.0.3
βββ @zeplin/cli@1.1.12
βββ @zeplin/cli-connect-angular-plugin@0.1.7
βββ npm@6.14.11
βββ sass-migrator@1.4.3
@yuqu I downgrade to 0.1.6 and now it back to work
There is a known issue with global installation on v0.1.7. One solution was to go back to 0.1.6 as you mentioned, the other solution, which I would suggest to do, is to install the CLI packages a dev dependency on your project.
npm install --save-dev @zeplin/cli @zeplin/cli-connect-angular-plugin
and then execute the local installation either with npx:
npx zeplin connect
or after adding a script line into your package.json
{
...
"scripts": {
...
"zeplin-connect": "zeplin connect",
...
}
...
}
execute
npm run zeplin-connect
@yuqu First thanks for the fast answer and additional solution :)
is it will be fixed in next version ?
Yes, I cannot give a timeline for the release but we will try to fix it. Let's keep the issue open until then. BTW, changed the issue title for visibility.
Im using the zeplin connect command in order to show in zeplin the component tag. I'm working on angular project and I install both
npm install -g @zeplin/cli
andnpm install -g @zeplin/cli-connect-angular-plugin
On my project I have in the root this folder
.zeplin
and inside I have this filecomponents.json
with this step:I'm executing this command
zeplin connect @zeplin/cli-connect-angular-plugin
and I see the resultuntil now I was able to see the component selector tag
for example
<sing-dialog-footer></sing-dialog-footer>
But for some reason it not show it any more and I see the below