so they do have it in the methods you want to use,...
# suitescript
j
so they do have it in the methods you want to use, just not in the module. So the documentation for file.create() has Supported Script Types: Server-side scripts - I suggested to them that they also include that on the main module, otherwise it will give you that error. Or maybe make the error more specific saying looks like you're making a client script and N/file is not available /shrug