Below is the error I’m getting. Not sure what is causing it. The build works on Netlify just fine. Wanted to port to render.com but have run into this issue.
Feb 4 11:01:56 PM node:internal/validators:158
Feb 4 11:01:56 PM throw new ERR_INVALID_ARG_TYPE(name, 'Object', value);
Feb 4 11:01:56 PM ^
Feb 4 11:01:56 PM
Feb 4 11:01:56 PM TypeError [ERR_INVALID_ARG_TYPE] [ERR_INVALID_ARG_TYPE]: The "options" argument must be of type object. Received an instance of Array
Feb 4 11:01:56 PM at ChildProcess.target.send (node:internal/child_process:716:7)
Feb 4 11:01:56 PM at Array.forEach (<anonymous>:null:null)
Feb 4 11:01:56 PM at dispatchQueuedRequests (/opt/render/project/src/node_modules/workerpool/lib/WorkerHandler.js:174:21)
Feb 4 11:01:56 PM at ChildProcess.<anonymous> (/opt/render/project/src/node_modules/workerpool/lib/WorkerHandler.js:129:7)
Feb 4 11:01:56 PM at ChildProcess.emit (node:events:378:20)
Feb 4 11:01:56 PM at ChildProcess.EventEmitter.emit (node:domain:470:12)
Feb 4 11:01:56 PM at emit (node:internal/child_process:920:12)
Feb 4 11:01:56 PM at processTicksAndRejections (node:internal/process/task_queues:82:21)
Feb 4 11:01:56 PM {
Feb 4 11:01:56 PM code: 'ERR_INVALID_ARG_TYPE'
Feb 4 11:01:56 PM }
Feb 4 11:01:56 PM ==> Build failed 😞
package.json file:
{
"name": "app",
"version": "1.1.0",
"private": true,
"description": "",
"repository": "",
"license": "UNLICENSED",
"author": "",
"directories": {
"doc": "doc",
"test": "tests"
},
"scripts": {
"build": "ember build --environment=production",
"lint:hbs": "ember-template-lint .",
"lint:js": "eslint .",
"start": "ember serve",
"test": "ember test"
},
"devDependencies": {
"@ember/optional-features": "^1.3.0",
"@glimmer/component": "^1.0.1",
"@glimmer/tracking": "^1.0.1",
"babel-eslint": "^10.1.0",
"broccoli-asset-rev": "^3.0.0",
"drag-mock": "^1.4.0",
"ember-auto-import": "^1.6.0",
"ember-buffered-proxy": "^1.0.0",
"ember-changeset": "^3.9.0",
"ember-changeset-validations": "^3.9.0",
"ember-circleci": "^2.1.0",
"ember-cli": "~3.16.2",
"ember-cli-app-version": "^3.2.0",
"ember-cli-babel": "^7.22.1",
"ember-cli-dependency-checker": "^3.2.0",
"ember-cli-deploy": "1.0.0",
"ember-cli-emblem": "^0.12",
"ember-cli-eslint": "^5.1.0",
"ember-cli-flash": "^1.9.0",
"ember-cli-htmlbars": "^4.4.0",
"ember-cli-inject-live-reload": "^2.0.2",
"ember-cli-mirage": "0.4.15",
"ember-cli-moment-shim": "^3.8.0",
"ember-cli-netlify": "^0.0.1",
"ember-cli-release": "^0.2.9",
"ember-cli-sentry": "^3.0.0",
"ember-cli-sri": "^2.1.1",
"ember-cli-stylus": "^1.0.7",
"ember-cli-template-lint": "^1.0.0",
"ember-cli-test-loader": "^2.2.0",
"ember-cli-uglify": "^3.0.0",
"ember-click-outside": "^1.3.0",
"ember-component-css": "^0.7.4",
"ember-composable-helpers": "^3.2.0",
"ember-cookies": "^0.5.2",
"ember-cp-validations": "^4.0.0-beta.1",
"ember-data": "^3.16.9",
"ember-data-url-templates": "^0.4.5",
"ember-export-application-global": "^2.0.1",
"ember-fetch": "^7.0.0",
"ember-file-upload": "^3.0.5",
"ember-full-story": "^0.2.0",
"ember-gestures": "^1.1.5",
"ember-hammertime": "^1.5.0",
"ember-infinity": "^2.1.2",
"ember-inline-svg": "^0.1.11",
"ember-intercom-io": "^0.3.0",
"ember-load-initializers": "^2.1.1",
"ember-local-storage": "^1.7.2",
"ember-maybe-import-regenerator": "^0.1.6",
"ember-md5": "1.2.0",
"ember-moment": "^8.0.0",
"ember-one-way-controls": "^3.1.0",
"ember-phoenix": "^1.0.3",
"ember-pikaday": "^2.2.3",
"ember-power-calendar": "^0.14.5",
"ember-power-calendar-moment": "^0.1.7",
"ember-qunit": "^4.6.0",
"ember-qunit-nice-errors": "^1.2.0",
"ember-resolver": "^7.0.0",
"ember-route-action-helper": "^2.0.8",
"ember-service-worker": "^0.8.4",
"ember-service-worker-asset-cache": "^0.6.4",
"ember-service-worker-index": "^0.7.0",
"ember-simple-auth": "^2.1.1",
"ember-sortable": "^2.2.0",
"ember-source": "^3.16.10",
"ember-text-highlight": "^1.2.3",
"ember-uploader": "^2.0.0",
"ember-welcome-page": "^4.0.0",
"ember-wormhole": "^0.5.5",
"eslint-plugin-ember": "^7.13.0",
"eslint-plugin-node": "^11.0.0",
"hammer-time": "2.0.1",
"hammerjs": "2.0.6",
"loader.js": "^4.7.0",
"qunit-dom": "^1.4.0",
"rupture": "0.6.1",
"sass": "^1.26.10"
},
"engines": {
"node": "10.* || >= 12"
},
"ember": {
"edition": "octane"
},
"dependencies": {
"jquery": "^3.5.1"
}
}