How to deploy NodeJS API to production server (OD-956)
Quin opened 3 years ago

Hi

I want to deploy a NodeJS API to a production server. I went to create a buildspec, and the system recommended one to me (saw that it was Node). However, I do not understand what this is, nor how to get it to work with the production server.

After I created the buildspec (and quick save so I didn't lose it), it tried to index and stayed like that for a long while. Upon refresh, I get this error: Shell executor does not support absolute cache path: /root/.npm

Any help would be appreciated.

  • Quin changed fields 3 years ago
    Name Previous Value Current Value
    Type
    Bug
    Support Request
  • Robin Shen commented 3 years ago

    If you select to run the job with shell executor, please remove the cache configuration in more settings of the job.

  • Robin Shen changed state to 'Closed' 3 years ago
    Previous Value Current Value
    Open
    Closed
issue 1/1
Type
Question
Priority
Major
Assignee
Issue Votes (0)
Watchers (3)
Reference
OD-956
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover