That solution worked. Thank you!
Answer: <ins>In the debugger window of your browser</ins>, select 'Console'.
Entering 'abp.swagger.login()' causes an error: "Uncaught ReferenceError: abp is not defined at <anonymous>:1:1"
Better. However, if the selected area touches the right-side of the image, an Exception occurs.
Download the PhoneBookDemo project. Open Acme.PhoneBookDemo.Mobile.sln in Visual Studio 2017. Manage NuGet Packages for solution. Select 'Updates (50)'. Select and check only 'Xamarin.Forms'. Click 'Update'.
Package Manager log: Resolving dependency information took 0 ms Resolving actions install multiple packages
Attempting to gather dependency information for multiple packages with respect to project 'src\Acme.PhoneBookDemo.Mobile.Droid', targeting 'MonoAndroid,Version=v8.0' Gathering dependency information took 11.34 sec Attempting to resolve dependencies for multiple packages. Resolving dependency information took 0 ms Resolving actions install multiple packages Retrieving package 'Xamarin.Forms 2.5.0.280555' from 'nuget.org'. Removed package 'Xamarin.Forms 2.5.0.91635' from 'packages.config' Successfully uninstalled 'Xamarin.Forms 2.5.0.91635' from Acme.PhoneBookDemo.Mobile.iOS Adding package 'Xamarin.Forms.2.5.0.280555' to folder 'C:\PhoneBookDemo\PhoneBookDemo\aspnet-core\packages' Added package 'Xamarin.Forms.2.5.0.280555' to folder 'C:\PhoneBookDemo\PhoneBookDemo\aspnet-core\packages' Added package 'Xamarin.Forms.2.5.0.280555' to 'packages.config' Successfully installed 'Xamarin.Forms 2.5.0.280555' to Acme.PhoneBookDemo.Mobile.iOS Executing nuget actions took 8.4 sec Found package 'Xamarin.Forms 2.5.0.280555' in 'C:\PhoneBookDemo\PhoneBookDemo\aspnet-core\packages'. Removed package 'Xamarin.Forms 2.5.0.91635' from 'packages.config' Successfully uninstalled 'Xamarin.Forms 2.5.0.91635' from Acme.PhoneBookDemo.Mobile.Droid Package 'Xamarin.Forms.2.5.0.280555' already exists in folder 'C:\PhoneBookDemo\PhoneBookDemo\aspnet-core\packages' Install failed. Rolling back... Package 'Xamarin.Forms 2.5.0.280555' does not exist in project 'Acme.PhoneBookDemo.Mobile.Droid' Package 'Xamarin.Forms 2.5.0.91635' already exists in folder 'C:\PhoneBookDemo\PhoneBookDemo\aspnet-core\packages' Added package 'Xamarin.Forms 2.5.0.91635' to 'packages.config' Executing nuget actions took 2 min This collection is read-only. Time Elapsed: 00:02:23.2623017 ========== Finished ==========
That is the solution. Thank you.
Where is "the console"?
"The obvious solution is to login."
I read the references to other posts that says to use "the console". Where is "the console"?
How does one login via Swagger, or is a manner that Swagger will recognize that you logged in?
I don't have access to <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues">https://github.com/aspnetzero/aspnet-zero-core/issues</a>
How do I get access to see what the issue is?
INFO 2018-03-14 01:03:30,404 [3 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful. INFO 2018-03-14 01:03:30,405 [3 ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token. INFO 2018-03-14 01:03:30,405 [3 ] uthentication.JwtBearer.JwtBearerHandler - AuthenticationScheme: Bearer was successfully authenticated. INFO 2018-03-14 01:03:30,420 [3 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful. INFO 2018-03-14 01:03:30,442 [3 ] ore.Mvc.Internal.ControllerActionInvoker - Executing action method ngTTM.Authorization.Users.Profile.ProfileAppService.UpdateProfilePicture (ngTTM.Application) with arguments (ngTTM.Authorization.Users.Profile.Dto.UpdateProfilePictureInput) - ModelState is Valid ERROR 2018-03-14 01:03:30,950 [27 ] Mvc.ExceptionHandling.AbpExceptionFilter - Out of memory. System.OutOfMemoryException: Out of memory. at System.Drawing.Bitmap.Clone(Rectangle rect, PixelFormat format) at ngTTM.Authorization.Users.Profile.ProfileAppService.<UpdateProfilePicture>d__15.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeActionMethodAsync>d__12.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeNextActionFilterAsync>d__10.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeInnerFilterAsync>d__14.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeNextExceptionFilterAsync>d__23.MoveNext() INFO 2018-03-14 01:03:30,958 [27 ] etCore.Mvc.Internal.ObjectResultExecutor - Executing ObjectResult, writing value Microsoft.AspNetCore.Mvc.ControllerContext. INFO 2018-03-14 01:03:30,959 [27 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action ngTTM.Authorization.Users.Profile.ProfileAppService.UpdateProfilePicture (ngTTM.Application) in 539.3324ms
Tried running the update package again. This is the result:
C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host>npm install abp-ng2-module --save npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\strip-json-comments-6c5be904\package.json' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\strip-json-comments-6c5be904\index.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\strip-json-comments-6c5be904\license' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tar-a1154dde\lib\buffer-entry.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\sax-9b466ea3\examples\example.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\strip-json-comments-6c5be904\readme.md' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\sweetalert-fa40080a\dist\sweetalert.min.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tar-a1154dde\lib\entry-writer.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\waypoints-63fd7885\src\context.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\sax-9b466ea3\examples\get-products.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tar-a1154dde\lib\entry.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\waypoints-63fd7885\src\debug.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\sax-9b466ea3\examples\hello-world.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tar-a1154dde\lib\extended-header-writer.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\waypoints-63fd7885\src\group.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\sax-9b466ea3\examples\pretty-print.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tar-a1154dde\lib\extended-header.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\sax-9b466ea3\examples\big-not-pretty.xml' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\source-map-5ffdf377\test\source-map\test-api.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tar-a1154dde\lib\extract.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\source-map-5ffdf377\test\source-map\test-base64-vlq.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging@types\lodash-a805e548\cloneDeepWith\index.d.ts' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tar-a1154dde\lib\global-header-writer.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tslint-96c52bc5\lib\language\formatter\abstractFormatter.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\source-map-5ffdf377\test\source-map\test-base64.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tar-a1154dde\lib\header.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tslint-96c52bc5\lib\language\formatter\formatter.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\source-map-5ffdf377\test\source-map\test-binary-search.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tar-a1154dde\lib\pack.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tslint-96c52bc5\lib\language\formatter\abstractFormatter.d.ts' npm WARN tar ENOENT: no such file or directory, lstat 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\topojson-4e7e2eba\lib\topojson\topology' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\source-map-5ffdf377\test\source-map\test-array-set.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tar-a1154dde\lib\parse.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tslint-96c52bc5\lib\language\formatter\formatter.d.ts' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\source-map-5ffdf377\test\source-map\test-source-map-consumer.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tar-a1154dde.travis.yml' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\source-map-5ffdf377\test\source-map\test-source-map-generator.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\source-map-5ffdf377\test\source-map\test-source-node.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\source-map-5ffdf377\test\source-map\test-util.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\source-map-5ffdf377\test\source-map\util.js' npm WARN tar ENOENT: no such file or directory, lstat 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\ts-helpers-829c08f2\typings\main\ambient\mocha' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\source-map-5ffdf377\test\source-map\test-dog-fooding.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\source-map-5ffdf377.travis.yml' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\ts-helpers-829c08f2\typings\main.d.ts' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\ts-helpers-829c08f2\ts-helpers.d.ts' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\ts-helpers-829c08f2\tsconfig.json' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\ts-helpers-829c08f2\typings.json' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging@types\lodash-a805e548\fb\index.d.ts' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging@types\lodash-a805e548\findLastKey\index.d.ts' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging@angular\core-2864658a\src\profile\profile.d.ts' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging@angular\core-2864658a\src\profile\wtf_impl.d.ts' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tether-68bf8e46\src\js\abutment.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tether-68bf8e46\src\js\constraint.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tether-68bf8e46\src\js\markAttachment.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tether-68bf8e46\src\js\shift.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tether-68bf8e46\src\js\tether.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tether-68bf8e46\src\js\utils.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging@types\lodash-a805e548\flow\index.d.ts' npm WARN tar ENOENT: no such file or directory, lstat 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\selenium-webdriver-be4baaa4\lib\test\data\js\skins' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging@types\lodash-a805e548\fromPairs\index.d.ts' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\selenium-webdriver-be4baaa4\lib\test\data\js\skins\lightgray\skin.min.css' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging@types\lodash-a805e548\intersectionWith\index.d.ts' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging@types\lodash-a805e548\isEqualWith\index.d.ts' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging@types\lodash-a805e548\pad\index.d.ts' npm WARN [email protected] No description npm WARN [email protected] No repository field. npm WARN The package codelyzer is included as both a dev and production dependency. npm WARN The package jasmine-spec-reporter is included as both a dev and production dependency. npm WARN The package karma is included as both a dev and production dependency. npm WARN The package ts-node is included as both a dev and production dependency. npm WARN The package typescript is included as both a dev and production dependency.
npm ERR! code EINTEGRITY npm ERR! sha1-0sMepJKyK2qNiHrqFZiaI4/AhK4= integrity checksum failed when using sha1: wanted sha1-0sMepJKyK2qNiHrqFZiaI4/AhK4= but got sha1-s+4q3E2tVI1K6ZiZT1rIAtx1O4Y=. (16980 bytes)
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Tim\AppData\Roaming\npm-cache_logs\2018-03-14T07_03_00_895Z-debug.log
And if the install did succeed the instructions on npm (<a class="postlink" href="https://www.npmjs.com/package/abp-ng2-module">https://www.npmjs.com/package/abp-ng2-module</a>) are a bit sketchy. i.e. "In order to use AbpHttpInterceptor in your module, first import it into your module like below;" What/where is the module?
And this: "then, add it to your module providers like below;" What modules? Where? What files?
These instructions are clearly written for high priests, not for nubes. I'm a nube. I've been trying to get this app running for 2 weeks now and still experiencing problems with just getting it to come up. Very frustrating when support says "just do this and it will work" and it doesn't.