Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSU/CPOS: Broken source maps #310

Open
Mano-lemm opened this issue Jul 10, 2024 · 0 comments
Open

CSU/CPOS: Broken source maps #310

Mano-lemm opened this issue Jul 10, 2024 · 0 comments

Comments

@Mano-lemm
Copy link

Mano-lemm commented Jul 10, 2024

Debugging Issue

Summary

After deploying a CSU and CPOS for development on a devbox the CPOS fails to load the sourcemaps for typescript written in the extension project.

Commerce SDK Version: 9.50.24191.3

Visual Studio/Visual Studio Code:

Visual Studio 2022 toolchain
I do not use Visual studio code as it is unable to consistently build the project

Reproducing the Issue

  • Install the sample CSU at https://github.com/microsoft/Dynamics365Commerce.ScaleUnit/tree/release/9.50 to a location on the K drive.
  • Log into the Cloud POS associated with that CSU
  • Open the developer console
  • Open the sources tab
  • Open the NavigateToExampleViewCommand.js file
  • At the bottom of the file it will state that it could not find the source mapping and the source mapping URL will be a path to the .js.map file on the K drive

Screenshots

The extension is installed via the install script provided in the sample project and either done via a simple script or invoked from vscode.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant