Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@Droid-on-Fire why not just give your computer to the users? You can't just expect them to have a machine of their own!
-
Orionss28867yOh well you might finally help me : how can we manage dependencies for react if people don't push node_modules ?
-
@Orionss whenever you add a dependency, use the --save flag to add the dependency to the package.json file. If you do this, you will just have to push the package.json and whoever clones or pulls from the repository will just have to run 'npm install' to install all the listed dependencies.
-
auron1223357yThis basically just happened. My “senior” recommended we just push everything into the repo so we don’t have to worry about running npm install for local dev.....
-
Won't work if u have native modules and u push from a windows machine and the servers are on Linux (which most of them are) 😉
Related Rants
-
l0om44100% Real. And it's not even the worst on the site.
-
Codazed11Being 100% serious, I saw a guy in my Computer Programming I class using MS Word to write code that he would c...
-
dfox8I worked with a good dev at one of my previous jobs, but one of his faults was that he was a bit scattered and...
Push the node_modules folder to github so heroku won't need to run `npm install`.
rant
wk99