[ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string (Yarn pnp)
asamofal opened this issue · comments
Anton Samofal commented
Hi there! Help me figure out where I'm wrong.
I'm trying to init a new VueJS project, according to VueJS docs I use recommended create-vue
tool with yarn, then install electron
there. But there's an error in yarn pnp mechanism. I'm not sure if is it really related to electron
or to create-vue
, or to yarn
itself.
Any ideas?
Uncaught Exception:
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at new NodeError (node:internal/errors:387:5)
at validateString (node:internal/validators:121:11)
at Object.normalize (node:path:1128:5)
at contains (/Volumes/code/pos/.pnp.cjs:3762:18)
at ppath.contains (/Volumes/code/pos/.pnp.cjs:3776:32)
at isPathIgnored (/Volumes/code/pos/.pnp.cjs:13259:27)
at findPackageLocator (/Volumes/code/pos/.pnp.cjs:13329:9)
at Object.findPackageLocator (/Volumes/code/pos/.pnp.cjs:13710:14)
at findApiPathFor (/Volumes/code/pos/.pnp.cjs:13801:41)
at Object.getApiPathFromParent (/Volumes/code/pos/.pnp.cjs:13852:36)
p.s. if create a project with yarn init
- the test app launches fine =\
Anton Samofal commented
Oh, sorry, I was wrong with the repo.
This is definitely not related to electron-quick-start
.