I am trying to make an npm initializer with electronjs. According to the npm documentation, to make an initializer, your script needs to be started with npx.
Electron