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

Cannot read property 'replace' of undefined #41

Closed
yuqu opened this issue Jun 9, 2021 · 0 comments · Fixed by #42
Closed

Cannot read property 'replace' of undefined #41

yuqu opened this issue Jun 9, 2021 · 0 comments · Fixed by #42

Comments

@yuqu
Copy link
Contributor

yuqu commented Jun 9, 2021

Happens when executing Zeplin CLI outside of npm run context.

Sample log

Adding connected component failed.

    Cannot read property 'replace' of undefined
2021-06-07 14:59:30 - debug - TypeError: Adding connected component failed.

    Cannot read property 'replace' of undefined
    at Object.<anonymous> (/Users/user/workspace/my-coco-react-app/node_modules/@zeplin/cli-connect-storybook-plugin/dist/src/storybook/start-app.js:99:18)
    at Generator.next (<anonymous>)
    at fulfilled (/Users/user/workspace/my-coco-react-app/node_modules/@zeplin/cli-connect-storybook-plugin/dist/src/storybook/start-app.js:6:58)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
2021-06-07 14:59:30 - info - 
Please check /Users/user/.zeplin/cli.log for details.
@yuqu yuqu linked a pull request Jun 9, 2021 that will close this issue
@yuqu yuqu closed this as completed in #42 Jun 9, 2021
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

Successfully merging a pull request may close this issue.

1 participant