Skip to content

node deploy doesn't run npm install #308

Answered by abulka
abulka asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, I have a package.json - its the same node sample project I deploy to dokku, for testing.

$ piku run ls package.json
package.json

Re-deploying didn't work. So I rebuilt it.

piku destroy
git push piku master

which seems to have kicked off the npm install! I think the troubles started because I didn't have node installed on the server. Even after I installed node manually, and re-deploying, npm install didn't run. So the destroy seems to have fixed things.

web.1 | machine: x86_64
web.1 | clock source: unix
web.1 | pcre jit disabled
web.1 | detected number of CPU cores: 2
web.1 | current working directory: /home/piku/.piku/uwsgi-enabled
web.1 | detected binary path: /usr/bin/uwsgi-core…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by rcarmo
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #307 on May 15, 2023 21:43.