Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [jss]

For questions about the Sitecore JavaScriptServices module.

4
votes
1answer
82 views

Update YAML Route Files as same as Connected mode, while working in Disconnected Mode

How can I update my YAML files for local disconnected mode development from Sitecore, as same as Connected mode. As We have a team who is working on Sitecore and another team is working on front-end ...
0
votes
1answer
8 views

Newly created JSS react app does not start and show blank page

The newly created JSS react app does not start. It shows completely blank page and shows error in the console while accessing the public URL i.e. http://jssreactweb/, Using fresh install of Sitecore 9....
0
votes
1answer
16 views

ModuleNotFound error throws when deploying files

ModuleNotFound exception throws when deploying css file. I have started to explore Sitecore-Jss and deployed sample app in the sitecore and it works fine. I just added a new css file (test.css) under ...
0
votes
1answer
15 views

Error on typings using JSS Text with Typescript

I'm getting an error on the fields property when using Typescript from this tutorial class Profile extends React.Component<Props, State> { constructor(props: any){ super(props); } ...
0
votes
1answer
28 views

Sitecore JSS Custom RenderingContentresolver help

We are using JSS for one of our clients. We have a requirement to fetch child items upto n level.So we built a custom rendering content resolver for it. It's working well in connected mode. Now if we ...
0
votes
1answer
54 views

Sitecore JSS CORS issue

In connected mode, when I try preview\browse a page in Sitecore, I'm getting the below CORS error. I've CORS setting as '*' in the API key. Alternatively, I tried removing the CORS entry in API key ...
0
votes
1answer
40 views

Resolving dependencies using Unity for deploying sitecore jss app

We are using Unity for the dependency injection overriding the default behavior for the sitecore project. While deploying the jss app, I am getting below error. The current type, Sitecore....
0
votes
1answer
110 views

Sitecore JSS for existing Sitecore site

The question may be very basic, but for better understanding about JSS i am asking this. The question is, can we use JSS for existing site created with traditional Sitecore MVC? Because I am not ...
2
votes
0answers
65 views

Tracking Page Events and Goals Does`t Work Correctly

I am working on a mobile application (Sitecore 9.1, JSS React Native) with a couple of pages. A page event is assigned to each of the mobile application pages. I have enabled indexing anonymous ...
1
vote
0answers
133 views

Memory leak in disconnected mode

I have a global footer referencing other items (yml files), which is referencing to the same footer, resulting in too big string to parse. This wasn't a problem in TP4, but I noticed that I get a ...
1
vote
0answers
118 views

Sitecore Experience Editor with JSS SDK

We have a requirement of using Angular page along with Sitecore 9 JSS SDK. There are two components on the Angular page where first component gets data from Sitecore and other pulls data from API. ...
1
vote
0answers
234 views

Configuration error in JSS Sitecore Quick start for development

Configuration error while browsing Sitecore basic jss app after performing deployment steps mentioned in below link: https://jss.sitecore.net/#/setup/app-deployment?id=app-deployment
0
votes
0answers
9 views

Unexpected response from import service: Error: getaddrinfo ENOTFOUND http http:80

I am getting following error Unexpected response from import service: Error: getaddrinfo ENOTFOUND http http:80 "while running this command " jss deploy app --includeContent --includeDictionary" ...
0
votes
0answers
45 views

How to create an “articles” section of my site?

I'm building out a site using JSS and Sitecore 9.0. I want a section of my site for articles -- such as /articles/article-slug and I'm not sure the right way to approach it. Articles are also ...
0
votes
0answers
73 views

Sitecore JSS deploy issue: Unexpected response from import status service

While trying to import a JSS app to my sitecore instance, I'm getting the below error: No errors getting logged in Sitecore log file. How to debug further?
0
votes
0answers
96 views

JSS Angular - Placeholder not find in the layout definition

I am working on an app from already existing Sitecore application which is migrated as JSS application in the Disconnected mode, I have created my \data\routes\en.json but when I start the ...
0
votes
0answers
144 views

JSS GraphQL Sample Application Failed to run

Nested Exception Exception: Sitecore.JavaScriptServices.ViewEngine.NodeServices.HostingModels.NodeInvocationException Message: 2 errors were thrown when executing your fetchData functions. ...
-1
votes
0answers
24 views

Instance to Tracker object doesn't exist

Tracker.Current.Contact.IsNew || Tracker.Current.Contact.Identifiers.Count == 0; [NullReferenceException: Object reference not set to an instance of an object.] Reply.Foundation.Accounts....
-2
votes
0answers
18 views

Sitecore JSS federated authentication in CD

We need to implement Federated authentication ( Azure AD) in CD for Sitecore JSS application. The below reference pointer from JSS has all the steps to implement? https://jss.sitecore.com/docs/...