Skip to main content

Notifications

Announcements

No record found.

Supply chain | Supply Chain Management, Commerce
Suggested answer

Unable to setup development environment fo e-Commerce

(1) ShareShare
ReportReport
Posted on by 21
Hi all,
 
I am trying to setup a development environment for D365 e-Commerce.
 
I have also configured the .env file following the documentation Configure a development environment (.env) file - Commerce | Dynamics 365 | Microsoft Learn.
 
After executing the yarn and yarn start commands, the Node app is running and I am able to load the front end of the cloud hosted website in my local browser.
But I am not able to click any button or perform any operations in the UI. Upon checking he Console log of the browser, I see the errors visible in the screenshot.
 
 
I would highly appreciate if you guys and guide.
Thanks
  • jodyfleischh Profile Picture
    jodyfleischh 2 on at
    Unable to setup development environment fo e-Commerce
    I understand the frustration when setting up a development environment, but kudos to you for following the documentation diligently. It's promising that the Node app is running and you can view the frontend, although encountering UI issues can be perplexing.

    Since you've checked the Console log and identified errors, it might be beneficial to delve deeper into debugging or seek assistance from a .net development company. Their expertise in troubleshooting and resolving technical challenges could provide valuable insights into resolving the UI functionality issues you're facing.
  • S Gopi Krishna Profile Picture
    S Gopi Krishna 358 on at
    Unable to setup development environment fo e-Commerce
    Try checking the network log for more information on the error caused.
  • Hana Xue Profile Picture
    Hana Xue Microsoft Employee on at
    Unable to setup development environment fo e-Commerce
    Hi,
    The error message indicates that your website's CSP does not allow connections to the specified. CSP is a security mechanism that limits what can be executed in the browser when a page is loaded. Make sure your CSP configuration allows connections to. You can try looking for the CSP configuration in your server configuration or HTML headers and add to the allowed list of directives.
    The ActionExecutor service is unavailable while executing a specific action. This may be because the service did not start correctly, or there is a problem connecting to the service. Make sure the ActionExecutor service is running and check that the connection to it is working properly. The message also mentions that your front-end code uses Node.js-specific code, which is not supported in the browser environment. Please check your front-end code to make sure it does not contain Node.js-specific code that is not recognized in the browser environment. If none of them work, you can also wait and see other people's suggestions.
    Best Regards,
    Hana
  • Suggested answer
    Judy Profile Picture
    Judy Microsoft Employee on at
    Unable to setup development environment fo e-Commerce
    Hi Sir, 
     
    Before you set up a development environment, please make sure that your environment meets the minimum requirements that are specified in System requirements for a Dynamics 365 Commerce online extensibility environment.
    The typical process when you extend the Commerce platform includes the following actions:
    • Install the required development tools.
    • Install the latest online SDK.
    • Optional: Set up an Azure DevOps build pipeline for code sharing and build management.
    • Build and extend modules, data actions, and themes as required.
    • Test modules, data actions, and themes by using mock data.
    • Optional: Test modifications against a cloud environment.
    • Build a Commerce configuration package of all changes.
    • Deploy the configuration package to a cloud environment.
    Best Regards,
    Judy

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,735 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,466 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans