To execute the script against the model sdk run the following commands npm install mendixmodelsdk mendixplatformsdk when @types/when --save tsc --init tsc script.ts node script.js