Using this line of code PopupNavigation.PushAsync(new myPopupPage()); gives me the following warning:
Warning CS0618 'PopupNavigation.PushAsync(PopupPage, bool)' is
obsolete: 'You should use IPopupNavigation instance from
PopupNavigation.Instance. See more info:
https://github.com/rotorgames/Rg.Plugins.Popup/wiki/Migration-from-v1.0.x-to-v1.1.x'
and using this line of code await PopupNavigation.PopAsync(true); gives a similar one:
Warning CS0618 'PopupNavigation.PopAsync(bool)' is obsolete: 'You
should use IPopupNavigation instance from PopupNavigation.Instance.
See more info:
https://github.com/rotorgames/Rg.Plugins.Popup/wiki/Migration-from-v1.0.x-to-v1.1.x'
What would be the new equivalents?
Do exactly what the docs say
await PopupNavigation.Instance.PushAsync(…);
Related
I can't install gin-gonic for my golang project. I tried reinstalling go, resetting the bash files, delete and recreate the project folder, and searched the error as keyword on google, but found nothing
Here are my terminal messages:
$ go get -u github.com/gin-gonic/gin
# github.com/gin-gonic/gin
..\..\..\..\go\pkg\mod\github.com\gin-gonic\gin#v1.7.5\context.go:735:13: c.engine.AppEngine undefined (type *Engine has no field or method AppEngine)
..\..\..\..\go\pkg\mod\github.com\gin-gonic\gin#v1.7.5\gin.go:154:3: unknown field 'UseRawPath' in struct literal of type Engine
..\..\..\..\go\pkg\mod\github.com\gin-gonic\gin#v1.7.5\gin.go:156:3: unknown field 'UnescapePathValues' in struct literal of type Engine
..\..\..\..\go\pkg\mod\github.com\gin-gonic\gin#v1.7.5\gin.go:508:11: engine.UseRawPath undefined (type *Engine has no field or method UseRawPath)
..\..\..\..\go\pkg\mod\github.com\gin-gonic\gin#v1.7.5\gin.go:510:20: engine.UnescapePathValues undefined (type *Engine has no field or method UnescapePathValues)
I downgraded to v1.7.2 and everything worked well. Take a look at https://github.com/gin-gonic/gin/issues/2948
I have the same problem when using gin#v1.7.5, so I downgrade to gin#v1.7.4, and it works well
I had the same problem. but I resolve it with root on ubuntu. Similarly, It'd be good to execute with "run as administrator"
When issuing serverless deploy --region eu-central-1, I get the error
Type Error ---------------------------------------------
Cannot read property 'Properties' of undefined
For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable.
This error only started after including
plugins:
- serverless-iam-roles-per-function
and can be reverted by commenting the plugin out. But I would like to use it for giving my lambda access to a DynamoDB.
The internet is pretty void about this error besides this typo. The error is not solved by a recent update (yet) and the notice of serverless doesn't help much. set SLS_DEBUG=*" before deployment yields:
Type Error ----------------------------------------------
TypeError: Cannot read property 'Properties' of undefined
at ServerlessIamPerFunctionPlugin.createRoleForFunction (C:\Users\XXXXX\MyProject\node_modules\serverless-iam-roles-per-function\dist\lib\index.js:273:25)
at ServerlessIamPerFunctionPlugin.createRolesPerFunction (C:\Users\XXXXX\MyProject\node_modules\serverless-iam-roles-per-function\dist\lib\index.js:383:18)
at PluginManager.invoke (C:\snapshot\serverless\lib\classes\PluginManager.js:579:20)
at async PluginManager.spawn (C:\snapshot\serverless\lib\classes\PluginManager.js:601:5)
at async Object.before:deploy:deploy [as hook] (C:\snapshot\serverless\lib\plugins\deploy.js:60:11)
at async PluginManager.invoke (C:\snapshot\serverless\lib\classes\PluginManager.js:579:9)
at async PluginManager.run (C:\snapshot\serverless\lib\classes\PluginManager.js:639:7)
at async Serverless.run (C:\snapshot\serverless\lib\Serverless.js:452:5)
at async C:\snapshot\serverless\scripts\serverless.js:751:9
For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable.
Should I iunclude my serverless.yml in this post? It's quite large.
Using some different key words I retrieved a second (!) online search result, quoting:
The plugin doesn't support working with the role property. You have the following in your provider sections: role: arn-for-deployment-role'. Try removing this.
More info here
This basically solves the issue and serverless-iam-roles-per-function worked after commenting out this:
provider:
name: aws
runtime: python3.7
#iam:
# role: CallsTableQueryRole
The reason for this could be, that previos versions (serverless < v2.24.0) used a different syntax than current ones. Compare:
provider:
#previously:
iam:
role:
statements:
#≥ v2.24.0
iamRoleStatements:
If you're using Bref framework make sure to update bref in composer and serverless globally to the latest version
I've just included RxJS 5.4.0 and RxJS-DOM 7.0.3 on a page and got this error in the console:
TypeError: Cannot read property 'AbstractObserver' of undefined
How can I resolve this error?
Rx-DOM is not fully compatible will RxJS 5.
See open tickets on github:
https://github.com/ReactiveX/rxjs/issues/1223
https://github.com/Reactive-Extensions/RxJS-DOM/issues/105
To avoid this error you need to use RxJS 4.
Encountered a problem trying to run gcutil listinstances --filter="name eq foo" (for example...)
I get the following error:
RuntimeError: CommandError: Unknown argument: "eq", "foo"
This follows the examples found in the official usage tips.
Seems as if 'eq' and 'foo' get parsed as independent arguments for gcutil...
Does this result from a bug in gcutil or the way I use it?
Thanks.
Looks like an installation issue. Did you try reinstalling Google Cloud SDK?
When I create new module using Roksproket, I get:
Fatal error: Call to undefined method ModulesHelper::getActions() in C:\xampp\htdocs\pgocaribbeantv\administrator\components\com_roksprocket\views\module\view.html.php on line 139
What might the problem be?
This is a known issue with Joomla 3.2.2, the getActions function was meant to be depreciated and then removed.
https://github.com/joomla/joomla-cms/pull/3061
For now you can try upgrading RockSprocket as they added a release to work around the bug (see their changelog):
http://www.rockettheme.com/joomla/extensions/roksprocket