Trying to import ECx, I have import ECx from 'electron-chrome-extension'; at the top of my main.js and I get a SyntaxError: Cannot use import statement outside a module. I think I'm not doing something correctly but unfortunately I can't figure out what I'm doing wrong.
Trying to import ECx, I have
import ECx from 'electron-chrome-extension';
at the top of my main.js and I get aSyntaxError: Cannot use import statement outside a module
. I think I'm not doing something correctly but unfortunately I can't figure out what I'm doing wrong.Thank you!