You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no collision - both export are a default ones and you can do a default import and when doing that you can name them w/e.
import exec from 'k6/execution'andimport something from 'k6/execution'will just bind the same thing toexecorsomething`. In both cases the module has no way of knowing or caring how the default export it provided is imported.
So in your case you can do import execer from 'k6/x/exec' or if you want you can also do import { default as execer } from 'k6/x/exec'.
If you only need the command import { command } from 'k6/x/exec' and then use it directly as command instead of execer.command.
I will be closing this issue, but if you have more question you might try the community forum
The name of this module collides with exec from k6/execution.
Attempted workaround (does not work)
Results in
The text was updated successfully, but these errors were encountered: