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

[Bug] Cannot start the app after checking it out of GitHub #18

Closed
parik-ceb opened this issue Jul 12, 2020 · 6 comments
Closed

[Bug] Cannot start the app after checking it out of GitHub #18

parik-ceb opened this issue Jul 12, 2020 · 6 comments
Labels
bug Something isn't working

Comments

@parik-ceb
Copy link

parik-ceb commented Jul 12, 2020

Version

[1.1.0] 2020-02-14

Reproduction link

https://github.com/creativetimofficial/argon-design-system-react

Operating System

macOS Catalina 10.15.5 (19F101)

Device

iMac

Browser & Version

Chrome Version 83.0.4103.116 (Official Build) (64-bit)

Steps to reproduce

  1. Git clone the repo
  2. npm i
  3. npm start
  4. open localhost:3000 in chrome

What is expected?

The default landing page should be displayed.

What is actually happening?

The following error is displayed on the page:

TypeError [ERR_INVALID_ARG_TYPE]: The “path” argument must be of type string. Received type undefined raised when starting react app


Solution

I was able to resolve the issue by updating the version of react-scripts.
Updating the version from
"react-scripts": "3.3.1",
to
"react-scripts": "3.4.1",

Solution details are mentioned here -> https://stackoverflow.com/questions/60234640/typeerror-err-invalid-arg-type-the-path-argument-must-be-of-type-string-re

Additional comments

Hope this helps other developers who are planning to use your template. This template has been a big help for me!!!

@einazare einazare added the bug Something isn't working label Jul 13, 2020
@rjhilgefort
Copy link

Yeah, I'm seeing this as well after a fresh clone 🙁

@einazare
Copy link
Contributor

@rjhilgefort , in the above comment, you have a solution stated there. We'll update this product in 4 months and the issue will be solved then. Also, if you wish to have the latest improvements over this product, you can download the dev-master branch: https://github.com/creativetimofficial/argon-design-system-react/tree/dev-master

@rjhilgefort
Copy link

@einazare Yep, I put that solution in place but just thought I'd chime in to let you know that it's not isolated to one user. Cheers!

@jessicakuijer
Copy link

@rjhilgefort , in the above comment, you have a solution stated there. We'll update this product in 4 months and the issue will be solved then. Also, if you wish to have the latest improvements over this product, you can download the dev-master branch: https://github.com/creativetimofficial/argon-design-system-react/tree/dev-master

this totally works!!! thanks for bringing up that branch!!!!

NithinSGowda added a commit to NithinSGowda/argon-design-system-react that referenced this issue Aug 14, 2020
@aXb0t
Copy link

aXb0t commented Feb 28, 2021

Hello - just running this demo design system theme today, and can report the same issue as of today, for any future developers who find this.

The error message reads as above, and the solution also reads as above:

Update package.json to "react-scripts": "3.4.1" and then run npm run install:clean

Thank you, this Issue report was very helpful and the design system looks great!

@sajadevo
Copy link
Contributor

Hi there,

The issue is fixed on the latest version of the product.

Regards,
Sajad

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

6 participants