What Could Be the Cause of the 'import' and 'export' Error in a Workflow?

This topic was automatically generated from Slack. You can find the original thread here.

Hi all!
Getting this error within a workflow >> ‘import’ and ‘export’ may appear only with ‘sourceType: module’ (2:0)
Any idea what my problem could be? :sweat_smile:

Hello , I think this might be because you have a require statement in your code step, for example const axios = require('axios'. Would you mind checking your code step?