Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

[Typing] Unable to resolve path to module '@remix-pwa/push/worker' #10

Closed
rphlmr opened this issue Sep 21, 2023 · 1 comment
Closed

Comments

@rphlmr
Copy link
Contributor

rphlmr commented Sep 21, 2023

When using ESLINT, there is an error:

Unable to resolve path to module '@remix-pwa/push/worker'.

eslintimport/no-unresolved

I'm working on it, the package still works (including intellisense).

@rphlmr
Copy link
Contributor Author

rphlmr commented Sep 21, 2023

This is only an issue for people like me using import/no-unresolved, or JS based project using eslint to prevent such errors.
This plugin doesn't handle exports field of package.json

TypeScript already handles unresolved exports.

If you still want to use this eslint rules, this is the solution: https://github.com/cyco130/eslint-import-resolver-exports

Source: import-js/eslint-plugin-import#1810

@rphlmr rphlmr closed this as completed Sep 21, 2023
@ShafSpecs ShafSpecs pinned this issue Sep 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant