PDA

View Full Version : Loading errors in Sencha Test 2.3.0



EricPoe
23 Jul 2020, 11:16 AM
Environment: OSX Catalina (10.15.5)

I downloaded and installed Sencha Test 2.3.0 and see the following errors in the log window:

/Applications/Sencha/Test/2_3_0_328/Sencha Studio.app/Contents/Resources/app.asar/node_modules/sencha-tern/plugin/ext/lib/config.js:404
classpath.forEach(function(classpathEntry){
^
TypeError: classpath.forEach is not a function
at populateAdditionalInfo (/Applications/Sencha/Test/2_3_0_328/Sencha Studio.app/Contents/Resources/app.asar/node_modules/sencha-tern/plugin/ext/lib/config.js:404:19)
at findToolkit (/Applications/Sencha/Test/2_3_0_328/Sencha Studio.app/Contents/Resources/app.asar/node_modules/sencha-tern/plugin/ext/lib/config.js:383:27)
at createApp (/Applications/Sencha/Test/2_3_0_328/Sencha Studio.app/Contents/Resources/app.asar/node_modules/sencha-tern/plugin/ext/lib/config.js:328:30)
at findApps (/Applications/Sencha/Test/2_3_0_328/Sencha Studio.app/Contents/Resources/app.asar/node_modules/sencha-tern/plugin/ext/lib/config.js:291:19)
at /Applications/Sencha/Test/2_3_0_328/Sencha Studio.app/Contents/Resources/app.asar/node_modules/sencha-tern/plugin/ext/lib/config.js:310:17
at Array.forEach (native)
at findApps (/Applications/Sencha/Test/2_3_0_328/Sencha Studio.app/Contents/Resources/app.asar/node_modules/sencha-tern/plugin/ext/lib/config.js:309:16)
at /Applications/Sencha/Test/2_3_0_328/Sencha Studio.app/Contents/Resources/app.asar/node_modules/sencha-tern/plugin/ext/lib/config.js:310:17
at Array.forEach (native)
at findApps (/Applications/Sencha/Test/2_3_0_328/Sencha Studio.app/Contents/Resources/app.asar/node_modules/sencha-tern/plugin/ext/lib/config.js:309:16)
Task "Code Completion Service" <br> exited with code : 1


I downloaded and installed Sencha Test 2.3.0.335 (latest nightly) and see the same errors when loading the application:

/Applications/Sencha/Test/2_3_0_335/Sencha Studio.app/Contents/Resources/app.asar/node_modules/sencha-tern/plugin/ext/lib/config.js:404
classpath.forEach(function(classpathEntry){
^
TypeError: classpath.forEach is not a function
at populateAdditionalInfo (/Applications/Sencha/Test/2_3_0_335/Sencha Studio.app/Contents/Resources/app.asar/node_modules/sencha-tern/plugin/ext/lib/config.js:404:19)
at findToolkit (/Applications/Sencha/Test/2_3_0_335/Sencha Studio.app/Contents/Resources/app.asar/node_modules/sencha-tern/plugin/ext/lib/config.js:383:27)
at createApp (/Applications/Sencha/Test/2_3_0_335/Sencha Studio.app/Contents/Resources/app.asar/node_modules/sencha-tern/plugin/ext/lib/config.js:328:30)
at findApps (/Applications/Sencha/Test/2_3_0_335/Sencha Studio.app/Contents/Resources/app.asar/node_modules/sencha-tern/plugin/ext/lib/config.js:291:19)
at /Applications/Sencha/Test/2_3_0_335/Sencha Studio.app/Contents/Resources/app.asar/node_modules/sencha-tern/plugin/ext/lib/config.js:310:17
at Array.forEach (native)
at findApps (/Applications/Sencha/Test/2_3_0_335/Sencha Studio.app/Contents/Resources/app.asar/node_modules/sencha-tern/plugin/ext/lib/config.js:309:16)
at /Applications/Sencha/Test/2_3_0_335/Sencha Studio.app/Contents/Resources/app.asar/node_modules/sencha-tern/plugin/ext/lib/config.js:310:17
at Array.forEach (native)
at findApps (/Applications/Sencha/Test/2_3_0_335/Sencha Studio.app/Contents/Resources/app.asar/node_modules/sencha-tern/plugin/ext/lib/config.js:309:16)
Task "Code Completion Service" <br> exited with code : 1

EricPoe
5 Aug 2020, 6:58 AM
This was fixed by changing the output Manifest in app.json from a string to an object. `"manifest": {"path": "${build.id}.json"},`