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