Closed saivenkatesh48 closed 4 years ago
how and where can i share you the config info privately,i am unable to see only this shop category selection page , but i want my details and one more thing is when click on any category like Men or etc, then error is comming as Authorization Token has expired undefined
@saivenkatesh48 you can shoot me an email ( jbegleiter AT salesforce DOT com ), and the authorization token issue was fixed in latest master of sample app (released Thursday last week).
can i send the api.js file which contain my details,i am just mention all the items in this js file. i have downloaded the sample app yesterday only, but still getting the same issue,
@saivenkatesh48 if you have the most recent sample app I think this is likely a configuration issue, as well. Feel free to send over the api.js file.
sure, thanks.
i have shared the email, please go through it and help me to solve the issue,i am just configuring product detail url, or can i need to call login url before shopper product api?
The process what i did is: 1.download the sample app with recent release. 2.yarn install all node modules in the app. 3.yarn install node module in @sffc-bff,@Sfcc-core,Storefront-lwc 4.copy api.example .js file and renameit to app.js 5.In app.js i have given my credentail details 6.after that run the command in terminal like yarn build, yarn start:dev these are the steps i did, did i miss any let me know.
one more important question for me is can i run this sample as Mobile app, i have read in the code,it follows PWA(Progress web app) for iOS, can i run the same app in android also or can i only able to run in Ios?
The sample app is responsive but it is a web app. You could run it in a webview and that should work, but I haven't tried it, and the JS engine may not fully support the features (no guarantees).
I have found some issues in your configuration and am investigating the correct values for you.
thanks,can you please investigate and let me know.
one more question, what is the way, if i want to develop mobile app using the Commerce SDK, my requirement is , i need mobile app which uses this SDK.
@saivenkatesh48 to implement this for mobile we recommend introducing an "experience layer" that utilizes the SDK (in the case of the sample app it uses a BFF), as opposed to using the SDK directly in the client.
HI, even after using newly generateed shortcode i am getting this issue, i have sent mail to you regarding this.
storefront-lwc: Authorization Token has expired Response { storefront-lwc: size: 0, storefront-lwc: timeout: 0, storefront-lwc: [Symbol(Body internals)]: { storefront-lwc: body: Minipass { storefront-lwc: _events: [Object: null prototype], storefront-lwc: _eventsCount: 5, storefront-lwc: _maxListeners: undefined, storefront-lwc: pipes: [Yallist], storefront-lwc: buffer: [Yallist], storefront-lwc: writable: true, storefront-lwc: readable: true, storefront-lwc: [Symbol(kCapture)]: false, storefront-lwc: [Symbol(flowing)]: false, storefront-lwc: [Symbol(paused)]: false, storefront-lwc: [Symbol(objectMode)]: false, storefront-lwc: [Symbol(encoding)]: null, storefront-lwc: [Symbol(decoder)]: null, storefront-lwc: [Symbol(EOF)]: false, storefront-lwc: [Symbol(emittedEnd)]: false, storefront-lwc: [Symbol(emittingEnd)]: false, storefront-lwc: [Symbol(closed)]: false, storefront-lwc: [Symbol(bufferLength)]: 956, storefront-lwc: [Symbol(destroyed)]: false storefront-lwc: }, storefront-lwc: disturbed: false, storefront-lwc: error: null storefront-lwc: }, storefront-lwc: [Symbol(Response internals)]: {
storefront-lwc: status: 530,
storefront-lwc: statusText: undefined,
storefront-lwc: headers: Headers { [Symbol(map)]: [Object: null prototype] },
storefront-lwc: counter: 0,
storefront-lwc: trailer: Promise {
storefront-lwc: at Object.
storefront-lwc: status: 530, storefront-lwc: statusText: undefined, storefront-lwc: headers: [Headers], storefront-lwc: counter: 0, storefront-lwc: trailer: [Promise] storefront-lwc: } storefront-lwc: }
Hi Jose,Even i run yarn start:dev command also, i am getting the above mentioned issue.
Taking this to an offline thread.
Hey @saivenkatesh48 ,
This sounds like a sample app configuration issue. Can you privately send me the configuration information you are using (as it contains potentially sensitive information), as well as a place to review the running application?
Cheers, Josh