Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

The docker container is not starting, throws an error about react-scripts #275

Open
shadowdevfr opened this issue Feb 21, 2022 · 12 comments
Labels
bug Something isn't working

Comments

@shadowdevfr
Copy link
Contributor

Describe the bug
The docker container is not starting, throws an error about react-scripts even though it is installed globally. I have all my ENV variables set.

Expected behavior
The docker container should build and be able to run.

Screenshots
image

Machine (please complete the following information):

  • OS: Ubuntu 20.04

Additional context
Yes, I've installed react-scripts globally using npm i react-scripts -g.

@shadowdevfr shadowdevfr added the bug Something isn't working label Feb 21, 2022
@ZeroDot1
Copy link

Yes, I can confirm the problem.

@mgilangjanuar
Copy link
Owner

Hmm weird I'll reproduce it in new machine 🤔

@AndresFat
Copy link

Hi, the same problem here!

@mgilangjanuar
Copy link
Owner

@AndresFat @ZeroDot1 @shadowdevfr Can you pull the latest in the staging branch?

It should be fixed in 022b7be

@shadowdevfr
Copy link
Contributor Author

Thanks a lot, it now works for the react-scripts part, but ! There is another error:
image
Maybe it's an issue on my side?

@mgilangjanuar
Copy link
Owner

mgilangjanuar commented Mar 4, 2022

That's weird, seems your dependencies not installed properly. But, I just add script to install typescript globally in Dockerfile (4787cdd), try to pull again in staging and re-build the app.

@AndresFat
Copy link

Hi!

Bad news, the error persists...

image

@shadowdevfr
Copy link
Contributor Author

Even though there are still issues with packages, I made a pull request to remove -g
#281

@mgilangjanuar
Copy link
Owner

Done! Try to pull and rebuild everything, I just refactor the whole installation 😆

@shadowdevfr
Copy link
Contributor Author

Welp; I'm using the default installation process, but if someone can try it it could be cool !

@AndresFat
Copy link

Hi,

I pull and re-run, but generate an Unauthorized error on npm repo.

image

Thank you!

@mgilangjanuar
Copy link
Owner

Hi,

I pull and re-run, but generate an Unauthorized error on npm repo.

image

Thank you!

Pull the latest changes from the main branch

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

No branches or pull requests

4 participants