Hey everyone first time fullstack noob here, novice python, JS and CSS/HTML dev in the middle of development for a Fullstack Django React Native app, the thing is I made a mess out of my modules and nodes trying to compile with 95 no module found error on the expo CLI, I started with npm and the tried yarn since it was recommended and I ended up with a sorry mess. So since the Django backend API is already running on the messy project I’m going for the new project copy paste old code approach, the front end also has components and screens that may need a few touches but the bulk is already there. I not sure about the proper order and want to make extra sure I have the appropriate folder/project creation order so the compiling and installation is as streamlined as possible as well as the creation of the venv; on the last project I had two that had hardcoded the paths for the django folder and the frontend one since I had some issues with my project finding the appropriate folder, so that’s the right approach? at which time during the creation of the projects should the venv creation happen or more precisely which project should be created first with its corresponding venv, Django or React Native Expo, since as far as I understand there’s an ideal order that will create and setup some specs automatically. Any help is greatly appreciated! Thanks

Edit; To clarify a bit further I had the django server up and running and getting 200s so when deciding for a frontend approach I got sold on the CSS module separation of concerns/files from my .jsx components and screens on react native and at one point I had the npm installation running smoothly with only 5 critical vulnerabilities but the ‘no module found on this folder’ still popped up while trying to compile so long story short I tried almost anything that came on goggling and finally I reduced the number of errors from 98 to 95 with a tutorial but while following some instructions on expo or react native documentation it mentioned that yarn was recommended over npm so I thought what the hell, why not, and now I have a broken mess on the frontend project that seems unsurmountable so I decided to start proper and make extra sure I got the correct order as well as venv paths and such.

  • catfishOP
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    I will def listen and obey the goat, thank you for your response