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
/home/havard/.workflow-new/config.js:40
wm: new WorkflowWm(),
^
TypeError: WorkflowWm is not a constructor
at Object.<anonymous> (/home/havard/.workflow-new/config.js:40:9)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/home/havard/.nvm/versions/node/v8.9.0/lib/node_modules/workflow/node_modules/workflow-cmd/dist/index.js:129:30)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/home/havard/.nvm/versions/node/v8.9.0/lib/node_modules/workflow/node_modules/workflow-cmd/index.js:9:3)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
Workaround
Replace the named import WorkflowWm and the constructor invocation with the name of the export from the appropriate wm package.
How to reproduce
Create a new workflow-home
Run the
--help
command in the newly created workflow-homeExpected
The help text of
workflow
Actual
The error message
Workaround
Replace the named import
WorkflowWm
and the constructor invocation with the name of the export from the appropriate wm package.e.g.
The text was updated successfully, but these errors were encountered: