use-detect-print
use-detect-print copied to clipboard
The package may have incorrect main/module/exports specified in its package.json
I am getting this message when using in vite.js:
X [ERROR] [plugin vite:dep-scan] Failed to resolve entry for package "use-detect-print". The package may have incorrect main/module/exports specified in its package.json: Failed to resolve entry for package "use-detect-print". The package may have incorrect main/module/exports specified in its package.json.
I copied the code into an own file and it works.