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

ERROR Cannot read properties of undefined (reading 'dots') #68

Closed
thielef opened this issue Oct 5, 2021 · 1 comment
Closed

ERROR Cannot read properties of undefined (reading 'dots') #68

thielef opened this issue Oct 5, 2021 · 1 comment

Comments

@thielef
Copy link

thielef commented Oct 5, 2021

Hi,

This error I get when running the following
$ docker run -it --rm node:16.10 bash
and there:
root@8b8667a72d56:/# npm install --global fast-cli

Error then when running fast is the following:

root@8b8667a72d56:/# fast

  ERROR  Cannot read properties of undefined (reading 'dots')

 /usr/local/lib/node_modules/fast-cli/node_modules/ink-spinner/build/index.js:12:43

  9:  */
 10: const Spinner = ({ type = 'dots' }) => {
 11:     const [frame, setFrame] = react_1.useState(0);
 12:     const spinner = cli_spinners_1.default[type];
 13:     react_1.useEffect(() => {
 14:         const timer = setInterval(() => {
 15:             setFrame(previousFrame => {

 - Spinner (/usr/local/lib/node_modules/fast-cli/node_modules/ink-spinner/build/index.js:12:43)
 - renderWithHooks (/usr/local/lib/node_modules/fast-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:6036:18)
 - mountIndeterminateComponent (/usr/local/lib/node_modules/fast-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8570:13)
 - beginWork$1 (/usr/local/lib/node_modules/fast-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:9938:16)
 - Object.invokeGuardedCallbackImpl (/usr/local/lib/node_modules/fast-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:11563:10)
 - invokeGuardedCallback (/usr/local/lib/node_modules/fast-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:11740:31)
 - beginWork$$1 (/usr/local/lib/node_modules/fast-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:15778:7)
 - performUnitOfWork (/usr/local/lib/node_modules/fast-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:14696:12)
 - workLoopSync (/usr/local/lib/node_modules/fast-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:14669:22)
 - performSyncWorkOnRoot (/usr/local/lib/node_modules/fast-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:14265:11)

``

@sindresorhus
Copy link
Owner

vadimdemedes/ink-spinner#12

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

No branches or pull requests

2 participants