-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
CLI abp udate logs an error error #7345
Comments
I'm not able to reproduce the issue. Can you try again and let us know if the problem still exists? |
I just created a brand new project `[08:37:46 INF] ABP CLI (https://abp.io) C:\Dev\BlazorCLITest>` |
It could be related to |
I'm not able to reproduce as well. @sturlath Can you run |
Here the result C:\Dev\BlazorCLITest>npm` show @abp/aspnetcore.mvc.ui.theme.basic versions [ |
@sturlath i see. You have to remove Can you try |
The same message I think. But how do I remove this error btw? C:\Dev\BlazorCLITest>npm show @abp/aspnetcore.mvc.ui.theme.basic versions --loglevel=error [ C:\Dev\BlazorCLITest> |
I don't know. I've made CLI ignore them, this issue will be fixed in v4.2.0. |
Cli: Remove warnings from version list output
I had created a v4.2.0-rc.1 solution and now I want to try to update so I ran
abp update
and get the error belowI can run the code and I can´t see that it affects anything but I thought you should know about it if you dont.
[14:50:26 INF] Updating package "Volo.Abp.Authorization" from v4.2.0-rc.1 to v4.2.0-rc.2. [14:50:26 INF] Volo packages are updated in EventOrganizer solution. [14:50:26 INF] Checking installed npm global packages... [14:50:31 ERR] One or more errors occurred. (Additional text encountered after finished reading JSON content: (. Path '', line 32, position 0.) System.AggregateException: One or more errors occurred. (Additional text encountered after finished reading JSON content: (. Path '', line 32, position 0.) ---> Newtonsoft.Json.JsonReaderException: Additional text encountered after finished reading JSON content: (. Path '', line 32, position 0. at Newtonsoft.Json.JsonTextReader.Read() at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value) at Volo.Abp.Cli.ProjectModification.NpmPackagesUpdater.GetPackageVersionList(JProperty package) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\NpmPackagesUpdater.cs:line 348 at Volo.Abp.Cli.ProjectModification.NpmPackagesUpdater.GetLatestVersion(JProperty package, Boolean includeReleaseCandidates) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\NpmPackagesUpdater.cs:line 285 at Volo.Abp.Cli.ProjectModification.NpmPackagesUpdater.TryUpdatingPackage(String filePath, JProperty package, Boolean includePreviews, Boolean includeReleaseCandidates, Boolean switchToStable, String specifiedVersion) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\NpmPackagesUpdater.cs:line 246 at Volo.Abp.Cli.ProjectModification.NpmPackagesUpdater.UpdatePackagesInFile(String filePath, Boolean includePreviews, Boolean includeReleaseCandidates, Boolean switchToStable, String specifiedVersion) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\NpmPackagesUpdater.cs:line 196 at Volo.Abp.Cli.ProjectModification.NpmPackagesUpdater.<>c__DisplayClass11_0.<<Update>g__UpdateAsync|0>d.MoveNext() in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\NpmPackagesUpdater.cs:line 57 --- End of inner exception stack trace --- at System.Threading.Tasks.Task.WaitAllCore(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at Volo.Abp.Cli.ProjectModification.NpmPackagesUpdater.Update(String rootDirectory, Boolean includePreviews, Boolean includeReleaseCandidates, Boolean switchToStable, String version) at Volo.Abp.Cli.Commands.UpdateCommand.UpdateNpmPackages(String directory, String version) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\UpdateCommand.cs:line 52 at Volo.Abp.Cli.Commands.UpdateCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\UpdateCommand.cs:line 46 at Volo.Abp.Cli.CliService.RunAsync(String[] args) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 59 PM>
The text was updated successfully, but these errors were encountered: