Cannot read property 'replace' of undefined
yuqu opened this issue · 0 comments
yuqu commented
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.