V
V
Vlad Den2019-03-01 14:20:05
git
Vlad Den, 2019-03-01 14:20:05

How to upload a library to Heroku?

I'm learning Heroku little by little and I want to put my discord bot on the host, but I can't download the node_modules library. Most likely due to the fact that there are 270+ files. Can anyone suggest how should I proceed?
$ git add .
$ git commit -m "test"
$ git push heroku master

Tried to download with this, but it doesn't work

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kirill Kudryavtsev, 2019-03-18
@Deissh

The node_modules folder does not need to be uploaded to Heroku, it will install all the libraries based on package.json.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question