Not able to deploy with coderunner

Hi all,

I downloaded the Project Template on my MAC and configured coderunner as explained in this article

when I run the command
npm run deploy

I have the following errors:

17:59:05.168 [master] Building Model..
17:59:05.324 [master] ServerCode Model built in 156ms
17:59:05.324 [master] Custom Types (1):
17:59:05.324 [master]   SampleModel (models/SampleModel.js)
17:59:05.324 [master] Services (1):
17:59:05.324 [master]   SampleService (services/SampleService.js)
17:59:05.325 [master] Preparing app zip file for deployment..
17:59:05.608 [master] 3 files added into deployment archive
17:59:05.621 [master] Publishing Model to server
17:59:05.643 [master] Error: Error: Unable to publish model. Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'
    at wrapError (/Users/elena/projects/LiciLab_API/node_modules/backendless-coderunner/lib/server-code/services/api-server.js:22:9)
    at ApiServerService.publish (/Users/elena/projects/LiciLab_API/node_modules/backendless-coderunner/lib/server-code/services/api-server.js:101:7)
    at publishModel (/Users/elena/projects/LiciLab_API/node_modules/backendless-coderunner/lib/server-code/publisher.js:57:22)
    at publish (/Users/elena/projects/LiciLab_API/node_modules/backendless-coderunner/lib/server-code/publisher.js:65:10)
    at async startRunner (/Users/elena/projects/LiciLab_API/node_modules/backendless-coderunner/lib/cli/clirunner.js:106:5)

Backendless Version 6.6.4
Client SDK ( JS )
Application ID: 853476F7-1565-CBA3-FF64-81D8A9303300

Reproducible Test Case

download project
setup coderunner
exec npm run deploy

hello @Elena_Aralla

what is your node and npm version?

hi @sergey.kuk ,

node: 18.8.0
npm: 8.18.0


I was able to reproduce the issue, an internal ticket is BKNDLSS-29664.

As a workaround use node version 14.18.2

tank you @sergey.kuk

Hi @sergey.kuk,

it works with 14.18.2 :slight_smile:


p.s.: I look forward for the fix :wink: