JQuery is not defined after installing cached-resources in Grails - spring

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'
}

Related

Ionic Router Uncaught TypeError in Version 7

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

'expect(...).withContext is not a function' error using Protractor

I use Protractor 7.0 and Jasemine 3.6.1, but when i use .withContext(), I get Failed: expect(...).toEqual(...).withContext is not a function error message.
I have searched the issue and the people suggest to update the Jasmine and Protractor, but it doesn't help.

Ember broccoli plugin symlink exists error

I am getting an error when running ember s in Windows, same project works on Linux.
The Broccoli Plugin: [object Object] failed with:
Error: EEXIST: file already exists, symlink 'C:\ClientUI\public\assets\chart' ->
'C:\ClientUI\tmp\static_compiler-tmp_dest_dir-2LrrCtpg.tmp'
at Object.fs.symlinkSync (fs.js:962:18)
at FSMonitor._measure (C:\ClientUI\node_modules\heimdalljs-fs-monitor\index.
js:66:21)
at Object.symlinkSync (C:\ClientUI\node_modules\heimdalljs-fs-monitor\index.
js:82:30)
at symlinkWindows (C:\ClientUI\node_modules\symlink-or-copy\index.js:120:16)
at symlinkOrCopySync (C:\ClientUI\node_modules\symlink-or-copy\index.js:63:5
)
at StaticCompiler._copy (C:\ClientUI\node_modules\broccoli-static-compiler\i
ndex.js:59:3)
at C:\ClientUI\node_modules\broccoli-static-compiler\index.js:25:12
at tryCatch (C:\ClientUI\node_modules\rsvp\dist\rsvp.js:538:12)
at invokeCallback (C:\ClientUI\node_modules\rsvp\dist\rsvp.js:553:13)
at publish (C:\ClientUI\node_modules\rsvp\dist\rsvp.js:521:7)
The broccoli plugin was instantiated at:
undefined
How can I solve this problem? Thanks

debugging bundled aurelia errors?

I'm getting a blank page and this error when testing my aurelia app. It worked until I made a bunch of changes and I don't know which one broke it. vendor-bundle.js:13551 is inside core code. I've got debug messages showing as you can see.Is there a way to find what causes an error like this other than undoing each change one at a time?
... snipped ...
DEBUG [aurelia] Configured plugin aurelia-templating-router.
DEBUG [aurelia] Loading plugin resources/index.
Uncaught SyntaxError: Unexpected token export
vendor-bundle.js:13551 Uncaught TypeError: Cannot read property '__useDefault' of undefined
at ensureOriginOnExports (vendor-bundle.js:13551)
at vendor-bundle.js:13659
at Object.execCb (vendor-bundle.js:5432)
at Module.check (vendor-bundle.js:4620)
at Module.<anonymous> (vendor-bundle.js:4875)
at vendor-bundle.js:3873
at vendor-bundle.js:4925
at each (vendor-bundle.js:3798)
at Module.emit (vendor-bundle.js:4924)
at Module.check (vendor-bundle.js:4675)
at Module.enable (vendor-bundle.js:4912)
at Module.init (vendor-bundle.js:4525)
at callGetModule (vendor-bundle.js:4939)
at Object.completeLoad (vendor-bundle.js:5347)
at HTMLScriptElement.onScriptLoad (vendor-bundle.js:5453)

Mocha error in Karma: Uncaught TypeError: Cannot read property 'replace' of undefined

My karma tests were working fine and now I'm getting this weird error:
Uncaught TypeError: Cannot read property 'replace' of undefined
Any ideas?
Restarting all karma sessions fixed this.

Resources