i5ting / imove

INACTIVE: Move your mouse, generate code from flow chart

Home Page:https://www.yuque.com/imove/docs/hvu0md

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

安装完example例子中的start节点无法执行

enlger opened this issue · comments

打开8001页面后未执行报错
Download the React DevTools for a better development experience: https://fb.me/react-devtools
devScripts.js:6523 Warning: Failed prop type: The prop children is marked as required in SplitPane, but its value is undefined.
in SplitPane (created by Layout)
in Layout (created by Core)
in Core (at pages/index.tsx:11)
in div (at pages/index.tsx:10)
in Arrange (created by LoadableComponent)
in LoadableComponent (created by Context.Consumer)
in Route (created by RouterComponent)
in Switch (created by RouterComponent)
in Router (created by RouterComponent)
in RouterComponent
in Unknown
in Unknown
console. @ devScripts.js:6523
mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:97 Warning: componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.

  • Move code with side effects to componentDidMount, and set initial state in the constructor.
  • Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run npx react-codemod rename-unsafe-lifecycles in your project source folder.

Please update the following components: Styled(styled.div), glamorous(div), styled.div
printWarning @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:97
mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:97 Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.

  • Move data fetching code or side effects to componentDidUpdate.
  • If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
  • Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run npx react-codemod rename-unsafe-lifecycles in your project source folder.

Please update the following components: SplitPane, Styled(styled.div), glamorous(div), styled.div
printWarning @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:97
devScripts.js:6523 Warning: Failed prop type: Invalid prop children of type object supplied to SplitPane, expected an array.
in SplitPane (created by Layout)
in Layout (created by Core)
in Core (at pages/index.tsx:11)
in div (at pages/index.tsx:10)
in Arrange (created by LoadableComponent)
in LoadableComponent (created by Context.Consumer)
in Route (created by RouterComponent)
in Switch (created by RouterComponent)
in Router (created by RouterComponent)
in RouterComponent
in Unknown
in Unknown
console. @ devScripts.js:6523
mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:97 Warning: componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.

  • Move code with side effects to componentDidMount, and set initial state in the constructor.

  • Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run npx react-codemod rename-unsafe-lifecycles in your project source folder.

Please update the following components: Styled(styled.div), glamorous(div)
printWarning @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:97
mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:97 Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.

  • Move data fetching code or side effects to componentDidUpdate.
  • If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
  • Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run npx react-codemod rename-unsafe-lifecycles in your project source folder.

Please update the following components: Styled(styled.div), glamorous(div)
printWarning @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:97
DevTools failed to load source map: Could not parse content for http://localhost:8001/react-router.js.map: Unexpected token < in JSON at position 0
DevTools failed to load source map: Could not parse content for http://localhost:8001/index.js.map: Unexpected token < in JSON at position 0
DevTools failed to load source map: Could not parse content for http://localhost:8001/react-router-config.js.map: Unexpected token < in JSON at position 0
DevTools failed to load source map: Could not parse content for http://localhost:8001/index.js.map: Unexpected token < in JSON at position 0
运行 流程下 开始 节点 报以下错误

mf-dep_example_node_modules_moment_locale_sync_recursive_-example_src_umi_cache_mfsu_mf-va__imove_co-e88bb6.2001a941.async.js:411 Uncaught Error: Compile failed, no node is selected
at findStartNode (mf-dep_example_node_modules_moment_locale_sync_recursive_-example_src_umi_cache_mfsu_mf-va__imove_co-e88bb6.2001a941.async.js:411)
at compile$1 (mf-dep_example_node_modules_moment_locale_sync_recursive_-example_src_umi_cache_mfsu_mf-va__imove_co-e88bb6.2001a941.async.js:491)
at mf-dep_example_node_modules_moment_locale_sync_recursive_-example_src_umi_cache_mfsu_mf-va__imove_co-e88bb6.2001a941.async.js:4374
at handleClick (mf-dep_vendors-example_node_modules_antd_es_card_index_js-example_node_modules_antd_es_card_style_in-e1b4a0.7e208380.async.js:2139)
at HTMLUnknownElement.callCallback (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:197)
at Object.invokeGuardedCallbackDev (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:246)
at invokeGuardedCallback (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:301)
at invokeGuardedCallbackAndCatchFirstError (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:315)
at executeDispatch (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:398)
at executeDispatchesInOrder (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:420)
at executeDispatchesAndRelease (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:3287)
at executeDispatchesAndReleaseTopLevel (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:3296)
at forEachAccumulated (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:3268)
at runEventsInBatch (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:3313)
at runExtractedPluginEventsInBatch (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:3523)
at handleTopLevel (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:3567)
at batchedEventUpdates$1 (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:21880)
at batchedEventUpdates (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:804)
at dispatchEventForLegacyPluginEventSystem (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:3577)
at attemptToDispatchEvent (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:4276)
at dispatchEvent (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:4198)
at unstable_runWithPriority (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:26089)
at runWithPriority$1 (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:11048)
at discreteUpdates$1 (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:21896)
at discreteUpdates (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:815)
at dispatchDiscreteEvent (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:4177)
findStartNode @ mf-dep_example_node_modules_moment_locale_sync_recursive_-example_src_umi_cache_mfsu_mf-va__imove_co-e88bb6.2001a941.async.js:411
compile$1 @ mf-dep_example_node_modules_moment_locale_sync_recursive_-example_src_umi_cache_mfsu_mf-va__imove_co-e88bb6.2001a941.async.js:491
(anonymous) @ mf-dep_example_node_modules_moment_locale_sync_recursive_-example_src_umi_cache_mfsu_mf-va__imove_co-e88bb6.2001a941.async.js:4374
handleClick @ mf-dep_vendors-example_node_modules_antd_es_card_index_js-example_node_modules_antd_es_card_style_in-e1b4a0.7e208380.async.js:2139
callCallback @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:197
invokeGuardedCallbackDev @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:246
invokeGuardedCallback @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:301
invokeGuardedCallbackAndCatchFirstError @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:315
executeDispatch @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:398
executeDispatchesInOrder @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:420
executeDispatchesAndRelease @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:3287
executeDispatchesAndReleaseTopLevel @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:3296
forEachAccumulated @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:3268
runEventsInBatch @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:3313
runExtractedPluginEventsInBatch @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:3523
handleTopLevel @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:3567
batchedEventUpdates$1 @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:21880
batchedEventUpdates @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:804
dispatchEventForLegacyPluginEventSystem @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:3577
attemptToDispatchEvent @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:4276
dispatchEvent @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:4198
unstable_runWithPriority @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:26089
runWithPriority$1 @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:11048
discreteUpdates$1 @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:21896
discreteUpdates @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:815
dispatchDiscreteEvent @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:4177
mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:336 Uncaught Error: Compile failed, no node is selected
at findStartNode (mf-dep_example_node_modules_moment_locale_sync_recursive_-example_src_umi_cache_mfsu_mf-va__imove_co-e88bb6.2001a941.async.js:411)
at compile$1 (mf-dep_example_node_modules_moment_locale_sync_recursive_-example_src_umi_cache_mfsu_mf-va__imove_co-e88bb6.2001a941.async.js:491)
at mf-dep_example_node_modules_moment_locale_sync_recursive_-example_src_umi_cache_mfsu_mf-va__imove_co-e88bb6.2001a941.async.js:4374
at handleClick (mf-dep_vendors-example_node_modules_antd_es_card_index_js-example_node_modules_antd_es_card_style_in-e1b4a0.7e208380.async.js:2139)
at HTMLUnknownElement.callCallback (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:197)
at Object.invokeGuardedCallbackDev (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:246)
at invokeGuardedCallback (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:301)
at invokeGuardedCallbackAndCatchFirstError (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:315)
at executeDispatch (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:398)
at executeDispatchesInOrder (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:420)
at executeDispatchesAndRelease (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:3287)
at executeDispatchesAndReleaseTopLevel (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:3296)
at forEachAccumulated (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:3268)
at runEventsInBatch (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:3313)
at runExtractedPluginEventsInBatch (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:3523)
at handleTopLevel (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:3567)
at batchedEventUpdates$1 (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:21880)
at batchedEventUpdates (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:804)
at dispatchEventForLegacyPluginEventSystem (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:3577)
at attemptToDispatchEvent (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:4276)
at dispatchEvent (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:4198)
at unstable_runWithPriority (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:26089)
at runWithPriority$1 (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:11048)
at discreteUpdates$1 (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:21896)
at discreteUpdates (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:815)
at dispatchDiscreteEvent (mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:4177)
findStartNode @ mf-dep_example_node_modules_moment_locale_sync_recursive_-example_src_umi_cache_mfsu_mf-va__imove_co-e88bb6.2001a941.async.js:411
compile$1 @ mf-dep_example_node_modules_moment_locale_sync_recursive_-example_src_umi_cache_mfsu_mf-va__imove_co-e88bb6.2001a941.async.js:491
(anonymous) @ mf-dep_example_node_modules_moment_locale_sync_recursive_-example_src_umi_cache_mfsu_mf-va__imove_co-e88bb6.2001a941.async.js:4374
handleClick @ mf-dep_vendors-example_node_modules_antd_es_card_index_js-example_node_modules_antd_es_card_style_in-e1b4a0.7e208380.async.js:2139
callCallback @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:197
invokeGuardedCallbackDev @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:246
invokeGuardedCallback @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:301
invokeGuardedCallbackAndCatchFirstError @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:315
executeDispatch @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:398
executeDispatchesInOrder @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:420
executeDispatchesAndRelease @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:3287
executeDispatchesAndReleaseTopLevel @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:3296
forEachAccumulated @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:3268
runEventsInBatch @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:3313
runExtractedPluginEventsInBatch @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:3523
handleTopLevel @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:3567
batchedEventUpdates$1 @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:21880
batchedEventUpdates @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:804
dispatchEventForLegacyPluginEventSystem @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:3577
attemptToDispatchEvent @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:4276
dispatchEvent @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:4198
unstable_runWithPriority @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:26089
runWithPriority$1 @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:11048
discreteUpdates$1 @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:21896
discreteUpdates @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:815
dispatchDiscreteEvent @ mf-dep_vendors-node_modules_react-dom_index_js.ff13893a.async.js:4177
运行代码
export default async function(ctx) {
console.log('hha')
return true;
}

npm install安装完
环境ubunt 20.04
node版本 v14.18.1
npm版本 v14.18.1

start节点屏蔽代码添加就OK,不然会造成干扰

c337f4e fixed