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

could not resolve module #3279

Closed
fendypurnomo opened this issue May 3, 2024 · 4 comments
Closed

could not resolve module #3279

fendypurnomo opened this issue May 3, 2024 · 4 comments

Comments

@fendypurnomo
Copy link

fendypurnomo commented May 3, 2024

ERROR: D:/applications/docs/angular.io/adev/src/content/guide/components/BUILD.bazel:3:16: Action adev/src/content/guide/components/advanced-configuration.md.html failed: (Exit 1): markdown.bat failed: error executing command bazel-out\x64_windows-opt-exec-2B5CBBC6\bin\external\npm\@angular\docs\pipeline\markdown.bat ... (remaining 2 arguments skipped)      
Error: could not resolve module angular/node_modules/mermaid/dist/mermaid.js
Please report this to https://github.com/markedjs/marked.
    at Runfiles.resolve (file:///D:/programs/vcs/git/cmd/_bazel_administrator/qjhjlh55/execroot/angular/external/npm/@angular/docs/pipeline/guides.mjs:48611:19)
    at Runfiles.resolveWorkspaceRelative (file:///D:/programs/vcs/git/cmd/_bazel_administrator/qjhjlh55/execroot/angular/external/npm/@angular/docs/pipeline/guides.mjs:48620:21)   
    at getMermaidScriptTagData (file:///D:/programs/vcs/git/cmd/_bazel_administrator/qjhjlh55/execroot/angular/external/npm/@angular/docs/pipeline/guides.mjs:48699:36)
    at Object.processMermaidCodeBlock (file:///D:/programs/vcs/git/cmd/_bazel_administrator/qjhjlh55/execroot/angular/external/npm/@angular/docs/pipeline/guides.mjs:48712:29)      
    at runNextTicks (node:internal/process/task_queues:60:5)
    at processImmediate (node:internal/timers:447:9)
    at async Promise.all (index 265)
    at main (file:///D:/programs/vcs/git/cmd/_bazel_administrator/qjhjlh55/execroot/angular/external/npm/@angular/docs/pipeline/guides.mjs:52239:31)
@UziTech
Copy link
Member

UziTech commented May 3, 2024

Looks like one of your marked extensions is missing a file angular/node_modules/mermaid/dist/mermaid.js

@UziTech
Copy link
Member

UziTech commented May 3, 2024

What extensions do you have installed for marked?

@UziTech
Copy link
Member

UziTech commented May 4, 2024

Can you create a minimal repo? Without actually seeing the code I can't help debug this issue.

@UziTech
Copy link
Member

UziTech commented May 4, 2024

I see you opened an issue in the angular repo angular/angular#55657. I'm going to close this as this is an angular issue not maked

@UziTech UziTech closed this as completed May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants