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

CRUD operation faced with error #238

Open
naderjavid opened this issue Jun 26, 2024 · 3 comments
Open

CRUD operation faced with error #238

naderjavid opened this issue Jun 26, 2024 · 3 comments

Comments

@naderjavid
Copy link

after running below command
abphelper generate crud Todo -d C:\src\temp
i got this error

[12:46:49 DBG] Build started...
[12:46:59 DBG] Build failed. Use dotnet build to see the errors.
[12:46:59 ERR] Error while invoking activity activity-91 of workflow 0975d5a3c21b4d7db18ceeba7b1e63ff
EasyAbp.AbpHelper.Core.Steps.Common.RunningCommandFailedException: Exception of type 'EasyAbp.AbpHelper.Core.Steps.Common.RunningCommandFailedException' was thrown.
at EasyAbp.AbpHelper.Core.Steps.Common.RunCommandStep.OnExecuteAsync(WorkflowExecutionContext context, CancellationToken cancellationToken) in /home/runner/work/AbpHelper.CLI/AbpHelper.CLI/src/AbpHelper.Core/Steps/Common/RunCommandStep.cs:line 26
at Elsa.Services.ActivityInvoker.InvokeAsync(WorkflowExecutionContext workflowContext, IActivity activity, Func2 invokeAction) [12:46:59 ERR] Error activity: { "Command": { "Syntax": "JavaScript", "Expression": "dotnet ef migrations add Added${EntityInfo.Name} -p "${MigrationProjectFile}" -s "${StartupProjectFile}"`",
"Type": "System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
"Name": "AddMigration"
}

@naderjavid
Copy link
Author

error reason is

image

The "ConfigureMainMenuAsync" need async

@naderjavid
Copy link
Author

we have error in test part too

image

based on project sample it should be like

image

naderjavid added a commit to naderjavid/AbpHelper.CLI that referenced this issue Jun 26, 2024
naderjavid added a commit to naderjavid/AbpHelper.CLI that referenced this issue Jun 26, 2024
@naderjavid
Copy link
Author

naderjavid commented Jun 26, 2024

I've fixed the errors encountered during CRUD operations in pull request 239

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