I am running into an error while I deploy the JSS application using the command jss deploy app -c -d
- Fresh vanilla
Sitecore 10.2 XM
Sitecore Headless Rendering 20.0.2
on top of it- Node
v18.16.0
- npm version
95.1
- jss --version
21.1.7
- created hello world JSS app using the command
npm init sitecore-jss angular
- jss application ran successfully in disconnected mode
jss start
- made JSS user as admin user in CM, Host entry done, binding done
- Ensured the JSS service is running with https://sc-102-xm-cm.dev.local/sitecore/api/layout/render/jss?item=/&sc_apikey={E0FD962E-5AD3-4DA3-9971-9B54A1AF1F22}
- completed the jss setup
- performed
jss deploy config
and it successfully placed the config files in \include\zzz folder jss deploy app -c -d
command throws the following error.
It created the items in Sitecore but not deployed the files in a folder and it's throwing the attached error. following is the log trace.
ManagedPoolThread #5 19:42:18 INFO Job started: JSSImport-jey-jss-app-demo-angular-7:42:18 PM
ManagedPoolThread #5 19:42:18 INFO [JSS] - Importing jey-jss-app-demo-angular as sitecore\JssImport
ManagedPoolThread #5 19:42:18 INFO Cache created: 'jssImport[filtered items]' (max size: 10MB, running total: 3181MB)
ManagedPoolThread #5 19:42:18 INFO [JSS] - Import database is master
ManagedPoolThread #5 19:42:18 INFO [JSS] - Import data contains:
Templates - 31
Renderings - 28
Placeholders - 6
Route Items - 6
Other Items - 15
Dictionary Items - 4
ManagedPoolThread #5 19:42:18 INFO [JSS] - Import language is en
ManagedPoolThread #5 19:42:18 INFO [JSS] - Reloaded all GraphQL
schemas.
ManagedPoolThread #5 19:42:18 INFO Job ended: JSSImport-jey-jss-app-demo-angular-7:42:18 PM (units processed: )
ManagedPoolThread #5 19:42:20 INFO Job started: Index_Update_IndexName=sitecore_master_index
ManagedPoolThread #5 19:42:21 INFO Job ended: Index_Update_IndexName=sitecore_master_index (units processed: )
Any help would be appreciated to sort out this error and deployment.
Latest log
10676 08:51:22 WARN Accessing disabled functionality: Initialize
10676 08:51:22 INFO Cache created: 'runtimeSettingsCache' (max size: 25MB, running total: 2821MB)
10676 08:51:22 INFO Cache created: 'clientData' (max size: 25MB, running total: 2846MB)
10676 08:51:22 INFO Cache created: 'UserProfileCache' (max size: 5MB, running total: 2851MB)
ManagedPoolThread #0 08:51:22 WARN Failed to create counter 'Sitecore.Security\Access Denied / sec'. Sitecore has no necessary permissions for reading/creating counters.
Message: Access to the registry key 'Global' is denied.
ManagedPoolThread #0 08:51:22 WARN Failed to create counter 'Sitecore.Security\Access Granted / sec'. Sitecore has no necessary permissions for reading/creating counters.
Message: Access to the registry key 'Global' is denied.
ManagedPoolThread #0 08:51:22 WARN Failed to create counter 'Sitecore.Security\Access Resolved / sec'. Sitecore has no necessary permissions for reading/creating counters.
Message: Access to the registry key 'Global' is denied.
ManagedPoolThread #0 08:51:22 WARN Failed to create counter 'Sitecore.Security\Modify Requests / sec'. Sitecore has no necessary permissions for reading/creating counters.
Message: Access to the registry key 'Global' is denied.
ManagedPoolThread #0 08:51:22 WARN Failed to create counter 'Sitecore.Security\Programmatic Disabling / sec'. Sitecore has no necessary permissions for reading/creating counters.
Message: Access to the registry key 'Global' is denied.
ManagedPoolThread #0 08:51:22 WARN Failed to create counter 'Sitecore.Security\Programmatic Enabling / sec'. Sitecore has no necessary permissions for reading/creating counters.
Message: Access to the registry key 'Global' is denied.
ManagedPoolThread #0 08:51:22 WARN Failed to create counter 'Sitecore.Security\Programmatic User Switch / sec'. Sitecore has no necessary permissions for reading/creating counters.
Message: Access to the registry key 'Global' is denied.
ManagedPoolThread #0 08:51:22 WARN Failed to create counter 'Sitecore.Security\Read Requests / sec'. Sitecore has no necessary permissions for reading/creating counters.
Message: Access to the registry key 'Global' is denied.
ManagedPoolThread #0 08:51:22 WARN Failed to create counter 'Sitecore.Security\Virtual Users Built / sec'. Sitecore has no necessary permissions for reading/creating counters.
Message: Access to the registry key 'Global' is denied.
10676 08:51:22 INFO Cache created: 'ItemCloningRelations' (max size: 50MB, running total: 2901MB)
10676 08:51:22 WARN No session Id managers were found to manage the session Id for the current request. Default asp.net session manager will be used.
10676 08:51:22 INFO IAssemblyResolver contains 89 assemblies
ManagedPoolThread #1 08:51:22 INFO Job started: JSSImport-jey-jss-app-demo-angular-8:51:22 AM
ManagedPoolThread #2 08:51:23 WARN Failed to create counter 'Sitecore.Presentation\Context | Site Changed / sec'. Sitecore has no necessary permissions for reading/creating counters.
Message: Access to the registry key 'Global' is denied.
ManagedPoolThread #2 08:51:23 WARN Failed to create counter 'Sitecore.Presentation\Rendering | Controls Rendered / sec'. Sitecore has no necessary permissions for reading/creating counters.
Message: Access to the registry key 'Global' is denied.
ManagedPoolThread #2 08:51:23 WARN Failed to create counter 'Sitecore.Presentation\Rendering | Controls Rendered From Cache / sec'. Sitecore has no necessary permissions for reading/creating counters.
Message: Access to the registry key 'Global' is denied.
ManagedPoolThread #2 08:51:23 WARN Failed to create counter 'Sitecore.Presentation\Rendering | Pages Generated / sec'. Sitecore has no necessary permissions for reading/creating counters.
Message: Access to the registry key 'Global' is denied.
ManagedPoolThread #2 08:51:23 WARN Failed to create counter 'Sitecore.Presentation\Rendering | Renderings Rendered / sec'. Sitecore has no necessary permissions for reading/creating counters.
Message: Access to the registry key 'Global' is denied.
ManagedPoolThread #2 08:51:23 WARN Failed to create counter 'Sitecore.Presentation\Rendering | Sublayouts Rendered / sec'. Sitecore has no necessary permissions for reading/creating counters.
Message: Access to the registry key 'Global' is denied.
ManagedPoolThread #2 08:51:23 WARN Failed to create counter 'Sitecore.Presentation\Rendering | XmlControls Compiled / sec'. Sitecore has no necessary permissions for reading/creating counters.
Message: Access to the registry key 'Global' is denied.
ManagedPoolThread #2 08:51:23 WARN Failed to create counter 'Sitecore.Presentation\Rendering | Xsl Transforms Rendered / sec'. Sitecore has no necessary permissions for reading/creating counters.
Message: Access to the registry key 'Global' is denied.
ManagedPoolThread #2 08:51:23 WARN Failed to create counter 'Sitecore.Presentation\Rendering | Xaml Controls Compiled / sec'. Sitecore has no necessary permissions for reading/creating counters.
Message: Access to the registry key 'Global' is denied.
ManagedPoolThread #1 08:51:34 WARN The "Media.LowercaseUrls" setting contains an invalid value. The default value is used instead. Invalid value: "". Default value: "False"
After adding IIS users to Performance Log and Monitor Users Group
ManagedPoolThread #10 10:34:58 INFO Job started: Sitecore.ContentSearch.SolrProvider.Agents.IndexingStateSwitcher
ManagedPoolThread #10 10:34:58 INFO Job ended: Sitecore.ContentSearch.SolrProvider.Agents.IndexingStateSwitcher (units processed: )
ManagedPoolThread #7 10:35:09 INFO Job started: JSSImport-jey-jss-app-demo-angular-10:35:09 AM
ManagedPoolThread #7 10:35:09 INFO [JSS] - Importing jey-jss-app-demo-angular as sitecore\JssImport
ManagedPoolThread #7 10:35:09 INFO Cache created: 'jssImport[html]' (max size: 0 bytes, running total: 3061MB)
ManagedPoolThread #7 10:35:09 INFO Cache created: 'jssImport[registry]' (max size: 25MB, running total: 3086MB)
ManagedPoolThread #7 10:35:09 INFO Cache created: 'jssImport[viewstate]' (max size: 25MB, running total: 3111MB)
ManagedPoolThread #7 10:35:09 INFO Cache created: 'jssImport[xsl]' (max size: 50MB, running total: 3161MB)
ManagedPoolThread #7 10:35:09 INFO Cache created: 'jssImport[filtered items]' (max size: 10MB, running total: 3171MB)
ManagedPoolThread #7 10:35:09 INFO [JSS] - Import database is master
ManagedPoolThread #7 10:35:09 INFO [JSS] - Import data contains:
Templates - 31
Renderings - 28
Placeholders - 6
Route Items - 6
Other Items - 15
Dictionary Items - 4
ManagedPoolThread #7 10:35:09 INFO [JSS] - Import language is en
ManagedPoolThread #10 10:35:09 INFO Job started: Index_Update_IndexName=sitecore_master_index
ManagedPoolThread #10 10:35:10 INFO Job ended: Index_Update_IndexName=sitecore_master_index (units processed: )
ManagedPoolThread #7 10:35:10 INFO [JSS] - Reloaded all GraphQL schemas.
ManagedPoolThread #7 10:35:10 INFO Job ended: JSSImport-jey-jss-app-demo-angular-10:35:09 AM (units processed: )