#956  How to deploy NodeJS API to production server
Closed
Quin opened 1 year 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 1 year ago
Name Previous Value Current Value
Type
Bug
Support Request
Robin Shen commented 1 year 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' 1 year ago
Previous Value Current Value
Open
Closed
issue 1 of 1
Type
Question
Priority
Major
Assignee
Issue Votes (0)
Watchers (3)
Reference
onedev/server#956
Please wait...
Page is in error, reload to recover