Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rekit-studio@next Add async action fails with 'allowAutoEffect is not defined' #4

Open
ulyssesrr opened this issue Sep 30, 2019 · 0 comments

Comments

@ulyssesrr
Copy link

Version: [email protected]

Adding action:  home/test
ReferenceError: allowAutoEffect is not defined
    at eval (lodash.templateSources[1]:32:10)
    at Object.generate (/home/ulysses/.config/yarn/global/node_modules/rekit-core/core/template.js:98:18)
    at addAsync (/home/ulysses/.config/yarn/global/node_modules/rekit-core/plugins/rekit-react/action.js:96:12)
    at Object.add (/home/ulysses/.config/yarn/global/node_modules/rekit-core/plugins/rekit-react/action.js:11:26)
    at Object.add (/home/ulysses/.config/yarn/global/node_modules/rekit-core/core/element.js:28:28)
    at Object.module.exports [as handleCommand] (/home/ulysses/.config/yarn/global/node_modules/rekit-core/core/handleCommand.js:7:32)
    at /home/ulysses/.config/yarn/global/node_modules/rekit-studio/src/features/plugin-default/core/studio/coreCommand.js:5:16
    at Layer.handle [as handle_request] (/home/ulysses/.config/yarn/global/node_modules/rekit-studio/node_modules/express/lib/router/layer.js:95:5)
    at next (/home/ulysses/.config/yarn/global/node_modules/rekit-studio/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/home/ulysses/.config/yarn/global/node_modules/rekit-studio/node_modules/express/lib/router/route.js:112:3)
[2019-09-30 12:30:58.911] [error] Failed to handle core commandallowAutoEffect is not defined ReferenceError: allowAutoEffect is not defined
    at eval (lodash.templateSources[1]:32:10)
    at Object.generate (/home/ulysses/.config/yarn/global/node_modules/rekit-core/core/template.js:98:18)
    at addAsync (/home/ulysses/.config/yarn/global/node_modules/rekit-core/plugins/rekit-react/action.js:96:12)
    at Object.add (/home/ulysses/.config/yarn/global/node_modules/rekit-core/plugins/rekit-react/action.js:11:26)
    at Object.add (/home/ulysses/.config/yarn/global/node_modules/rekit-core/core/element.js:28:28)
    at Object.module.exports [as handleCommand] (/home/ulysses/.config/yarn/global/node_modules/rekit-core/core/handleCommand.js:7:32)
    at /home/ulysses/.config/yarn/global/node_modules/rekit-studio/src/features/plugin-default/core/studio/coreCommand.js:5:16
    at Layer.handle [as handle_request] (/home/ulysses/.config/yarn/global/node_modules/rekit-studio/node_modules/express/lib/router/layer.js:95:5)
    at next (/home/ulysses/.config/yarn/global/node_modules/rekit-studio/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/home/ulysses/.config/yarn/global/node_modules/rekit-studio/node_modules/express/lib/router/route.js:112:3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant