teledrive icon indicating copy to clipboard operation
teledrive copied to clipboard

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

Open shadowdevfr opened this issue 3 years ago • 12 comments

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 avatar Feb 21 '22 20:02 shadowdevfr

Yes, I can confirm the problem.

ZeroDot1 avatar Feb 22 '22 20:02 ZeroDot1

Hmm weird I'll reproduce it in new machine 🤔

mgilangjanuar avatar Feb 28 '22 01:02 mgilangjanuar

Hi, the same problem here!

AndresFat avatar Feb 28 '22 19:02 AndresFat

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

It should be fixed in https://github.com/mgilangjanuar/teledrive/commit/022b7be9f015fffd984294539e3c4fad83c16522

mgilangjanuar avatar Mar 03 '22 09:03 mgilangjanuar

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?

shadowdevfr avatar Mar 03 '22 19:03 shadowdevfr

That's weird, seems your dependencies not installed properly. But, I just add script to install typescript globally in Dockerfile (https://github.com/mgilangjanuar/teledrive/commit/4787cddd45943af471ecc6f563f4430435642c15), try to pull again in staging and re-build the app.

mgilangjanuar avatar Mar 04 '22 01:03 mgilangjanuar

Hi!

Bad news, the error persists...

image

AndresFat avatar Mar 04 '22 23:03 AndresFat

Even though there are still issues with packages, I made a pull request to remove -g https://github.com/mgilangjanuar/teledrive/pull/281

shadowdevfr avatar Mar 05 '22 13:03 shadowdevfr

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

mgilangjanuar avatar Mar 11 '22 15:03 mgilangjanuar

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

shadowdevfr avatar Mar 22 '22 17:03 shadowdevfr

Hi,

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

image

Thank you!

AndresFat avatar Mar 22 '22 19:03 AndresFat

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

mgilangjanuar avatar Apr 18 '22 05:04 mgilangjanuar