Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested answer

Unable to setup development environment fo e-Commerce

(1) ShareShare
ReportReport
Posted on by
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
    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
    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
    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
    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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Supply chain | Supply Chain Management, Commerce

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans