Skip to content

Error: no watcher found for /vscode-global-typings/ts-nul-authority/projects/package.json #57

@jpdery

Description

@jpdery

So after registering the files so the imports would resolve properly, I registered a tsconfig.json file with the following data:

		fileSystemProvider.registerFile(
			new RegisteredMemoryFile(
				URI.file('tsconfig.json'),
				JSON.stringify({
					"compilerOptions": {
						"baseUrl": "./"
					}
				})
			)
		)

In my case I want to be able to import file without the use of a relative path:

import { Something } from 'Component'

instead of

import { Something } from './Component'

Since this however, I'm getting a bunch of errors in the console that I would like to fix, or at least understand why they are happening:

Image

Is there a service override that I'm missing ?

I've updated the repository here if you need to see the error:

https://github.com/jpdery/monaco-editor-wrapper-extension-host-error

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions