Ionic Router Uncaught TypeError in Version 7 - ionic-react

I have installed ionic router version 7.0.0-beta.1 on ionic project 7 beta.I have an following error
IonRouter.tsx:326 Uncaught TypeError: (0 , react_router_dom__WEBPACK_IMPORTED_MODULE_4__.withRouter) is not a function
Uncaught TypeError: (0 , react_router_dom__WEBPACK_IMPORTED_MODULE_4__.withRouter) is not a function
Following dependencies used
"#ionic/react-router": "^7.0.0-beta.1",
"react-router": "^6.8.1",
"react-router-dom": "^6.8.1",
I have downgrade lowest version

Related

Uncaught Error: Cannot find module, components not found

i have an issue with vue in laravel , when i upload the project on server gettings the below error on local everythings working fine !
Uncaught Error: Cannot find module './components/ProfileSkillComponent.vue'
at webpackMissingModule (app.js:334098:133)
at Module../resources/js/app.js (app.js:334098:246)
at __webpack_require__ (app.js:20:30)
at Object.0 (app.js:348515:1)
at __webpack_require__ (app.js:20:30)
at app.js:84:18
at app.js:87:10
Issue was case sensitive as i have uploaded project on Cento OS and i was working on Win OS seems wired but i changed from Cap to small letters and everything worked proper

Declaration of Illuminate\Container\Container::get(string $id) must be compatible with Psr\Container\ContainerInterface::get($id)

I have a Laravel 9 project
I am trying to deploy the project to Vercel
But every time I deploy it I get the following message
Fatal error: Declaration of Illuminate\Container\Container::get(string $id) must be compatible with Psr\Container\ContainerInterface::get($id) in /var/task/user/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 702
I tried following the solution here
But it didn't work since some dependencies in Laravel 9 needs psr/container >= 1.1.1

Nativescript Vue RadSideDrawer undefined

I try to create start RadSideDrawer example https://play.nativescript.org/?template=play-vue&id=AZnAQ0
It works well with playground, but when I build it with
tns run android --bundle
I get an error
An uncaught Exception occurred on "main" thread.
java.lang.RuntimeException: Unable to start activity ComponentInfo{org.nativescript.application/com.tns.NativeScriptActivity}: com.tns.NativeScriptException:
Calling js method onCreate failed
TypeError: Could not load view for: nativeradsidedrawer. TypeError: Cannot read property 'extend' of undefined
File: "file:///data/data/org.nativescript.application/files/app/vendor.js, line: 59885, column: 6
StackTrace:
Frame: function:'getViewClass', file:'file:///data/data/org.nativescript.application/files/app/vendor.js', line: 63313, column: 11
What did I do wrong?
First we need to build the app using below command
tns build android --bundle
Once build is successful we have to run below command
tns run android --bundle
Need to update tns
tns update next

phpunit fails on laragon on windows 10

I am developing project with laragon on windows 10 , i have installed phpunit 6.2 via composer. when i run phpunit command to run test in laravel project the following error occured
Warning: is_dir() expects parameter 1 to be a valid path, object given in C:\Users\ddw14\AppData\Roaming\Composer\vendor\phpunit\phpunit\src\Runner\BaseTestRunner.php on line 56
Recoverable fatal error: Object of class PHPUnit\Framework\TestSuite could not be converted to string in C:\Users\ddw14\AppData\Roaming\Composer\vendor\phpunit\phpunit\src\Runner\StandardTestSuiteLoader.php on line 32
what could be the problem ?

JQuery is not defined after installing cached-resources in Grails

I use ggts 3.3.3 Kepler, Grails 2.3.3 OSX 10.8.4.
After installing cached-resources I got the following console errors:
Uncaught ReferenceError: jQuery is not defined 2E8CFq9qq9Hd3oC8Vm4eO2E0N1BbHOBaOBasevchm9s.js:1
Uncaught ReferenceError: jQuery is not defined lGOHo6E45gxva6dsPhjXSefA7yz16IHSaQv0fiWoM7W.js:5
Uncaught ReferenceError: $ is not defined
Why can jquery not be found anymore? Nothing else has changed.
my config.groovy:
application {
dependsOn 'jquery'
resource url:'/js/application.js'
}

Resources