Skip to content

TypeError [ERR_INVALID_ARG_TYPE] because of react-scripts 3.3.0 seems to be broken #21

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

Closed
Andrei-Salanovich-epam opened this issue Mar 4, 2020 · 2 comments
Assignees
Labels

Comments

@Andrei-Salanovich-epam
Copy link

Got error after a clean install of npm and app:

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at validateString (internal/validators.js:112:11)
    at Object.join (path.js:375:7)

Looks like this is related to facebook#8499 and the package jdcrensh/create-react-app needs to be updated..

@jdcrensh jdcrensh self-assigned this Mar 11, 2020
@jdcrensh jdcrensh added the bug label Mar 11, 2020
@Andrei-Salanovich-epam
Copy link
Author

Andrei-Salanovich-epam commented May 25, 2020

I can update that to workaround this temporarily, just change in file node_modules@jdcrensh\react-scripts\package.json the line
"react-dev-utils": "^10.0.0"
to
"react-dev-utils": "10.0.0"
then remove react-dev-utils from node_modules
and run npm install

@jdcrensh
Copy link
Owner

This should be resolved with v3.4.2-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants