-
Notifications
You must be signed in to change notification settings - Fork 44
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
The "options.cwd" property must be of type string. Received type function #69
Comments
Take the content of the file here : And put the content in your /project/node_modules/parallelshell/index.js It will works in waiting the next release of the module |
You mean that I need to replace the content or just paste it in the file before mencionated? |
You take the content of this : (100% copy) And put in your /project/node_modules/parallelshell/index.js It will works |
Hi, thanks for the answer. thanks a lot for the answer. |
thanks men, works 100% |
Thank you very much :) |
@edrcq it worked, thanks |
Thanks a lot buddy!!! : ) |
Thanks!! |
Thank you! this worked perfectly. |
If anyone else stumbles on this and wants a workaround that doesn't involve locally modifying the node_modules dir, you can do:
until a new version is released which includes this fix. (EDITED to fix typo in the npm command above; thanks @ManuelOviedo) |
its "npm i ..." (without the dash) |
Is this going to be fixed/released anytime soon? It's been for almost a yea already and I came across the bug on very first approach to this package. |
- Swap `http-server` for `serve` to fix an issue http-party/http-server#525 (could downgrade instead alternatively) - Swap `parallelshell` for `npm-run-all` to fix an issue darkguy2008/parallelshell#69 (could downgrade instead alternatively) - Switch from firefox (slimerjs) to the default (phantomjs) because my version of firefox is too new now - This gets tests running, sorta, but not working.
@FelixMH This issue should be reopened. It is not fixed. @darkguy2008 Is this going to be released? |
@nathan815 don't try to translate in English, just copy whatever it is and paste it at the told location. It will work 100%. |
Thank you man! |
its not working for me, its showing the same error! Can there be any other alternative? |
Can confirm the error still exists. The solution posted here still works: #69 (comment) Please get this resolved! |
Fixed. Thanks @edrcq |
it works 100%. Thanks a lot |
Thanks buddy :) |
Yup, I can confirm #69 (comment) this solution works as well... Its very strange but it seems nobody is actually fixing it |
This problem still exists and the above solution still works. Thank you. |
@FelixMH why is this issue closed? I don't think it's fixed in package, just ugly workaround. |
@edrcq It works! Thank you! |
@saurav1423 A workaround isn't a fix. It should be implemented in the package itself and a new version released. |
@edrcq this is still broken. are you around? |
for those of you that want this fix to be "permanent".. check out patch-package |
2021 Still not fixed. Thankfully #69 works.... |
thank you |
Thanks. It solves for me too. |
Thanks man! |
|
I have node 11.0.0 and I have this issue when I use yarn start because a internal command by parallelshell isn't work. I've been use npm-run-all and I've been use the last version of parallelshell and the issue is continue.
the complete error is :
**
child_process.js:417
throw new ERR_INVALID_ARG_TYPE('options.cwd', 'string', options.cwd);
^
TypeError [ERR_INVALID_ARG_TYPE]: The "options.cwd" property must be of type string. Received type function
at normalizeSpawnArguments (child_process.js:417:11)
at spawn (child_process.js:532:38)
**
can anybody help me please ?
The text was updated successfully, but these errors were encountered: