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

[Creevey:21879] ERROR => TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined #192

Open
xArt2150 opened this issue Nov 16, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@xArt2150
Copy link

xArt2150 commented Nov 16, 2021

Hi

Tried to run Creevey (on Linux) and have an exception described in the title.

I follow the instruction from the readme:

  1. add the creevey
  2. add it to the storybook config
  3. run the storybook
  4. and then run the creevey

Stack:

yarn creevey --ui

[Creevey:21879] INFO => Pull docker images
✔ aerokube/selenoid:latest-release: Pull complete
[Creevey:21879] INFO => Pull docker images
✔ selenoid/chrome:latest: Pull complete
[Creevey:21879] ERROR => TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
    at new NodeError (internal/errors.js:322:7)
    at validateString (internal/validators.js:124:11)
    at Object.join (path.js:1148:7)
    at createSelenoidConfig (./.yarn/cache/creevey-npm-0.7.39-fe9bc3e472-71ab9c68a4.zip/node_modules/creevey/lib/cjs/server/selenium/selenoid.js:38:43)
    at Object.startSelenoidContainer (./.yarn/cache/creevey-npm-0.7.39-fe9bc3e472-71ab9c68a4.zip/node_modules/creevey/lib/cjs/server/selenium/selenoid.js:168:69)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async Object._default [as default] (./.yarn/cache/creevey-npm-0.7.39-fe9bc3e472-71ab9c68a4.zip/node_modules/creevey/lib/cjs/server/docker.js:121:18)
    at async _default (./.yarn/cache/creevey-npm-0.7.39-fe9bc3e472-71ab9c68a4.zip/node_modules/creevey/lib/cjs/server/index.js:48:5)

Looks like something wrong here with getCreeveyCache, or maybe anywhere else?

@wKich
Copy link
Collaborator

wKich commented Dec 7, 2021

Hi. I'm sorry for the late response. That is strange because I use the same packages https://www.npmjs.com/package/find-cache-dir that is used in Storybook to resolve .cache directory inside node_modules. Oh, I see, the modules paths look like you use yarn@2 or yarn@3 and I never tested creevey with them

@xArt2150
Copy link
Author

@wKich yeah, we are using yarn 3.1.1

@wKich wKich added the bug Something isn't working label Dec 13, 2021
@d-woegerbauer
Copy link

Hi, is there any update to this issue yet, because I am also experiencing this issue with creevey?
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants