KyleK
Windmill11mo ago
5 replies
Kyle

Bunfig & Monaco

Monaco seems able to resolve types for public packages on npmjs.com but doesn't appear to resolve types for private packages specified in Bunfig.

Bunfig works: I'm pulling in my private packages at runtime without issue.

But Monaco always gives me a Cannot find module [...] or its corresponding type declarations.(2307)

My bunfig is something like: "@xyz" = { token = "[token]", url = "https://npm.pkg.github.com" }

Is there a way to make Monaco aware of my private registry? It's just 1 registry for 1 scope.
Was this page helpful?