Hi guys,
We are an ISV company and we have created some e-commerce modules to distribute together with our D365F&O solution.
We've heard from Microsoft that the best way to distribute these modules for partners/customers is creating a NPM feed... We've created this feed and published our package (created via "yarn msdyn365 pack") there, then we followed these steps to do the testing:
- Creation of a new solution based on the Microsoft's sample solution from GitHub;
- Changing the .yarnrc file, including our feed there;
- Changing the package.json file, including our package there;
- Executing the "yarn" command, a folder with our package was created inside the "node_modules" folder.
BUT, when trying to test our modules locally (https://localhost:4000/), the modules are not being executed:
"k3-compositions 1' threw exception
Error: Module id: k3-compositions 1, type: k3-compositions is not registered"
I also tried to import a package created from this "test solution" into the LCS, but I had the same problem, our modules are not available inside the site builder anymore.
Do you guys have an idea of what we are doing wrong?
Thank you in advance,
Luiz