You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm getting the following error message when I try to build the package.
npm run build
> build
> vite build
vite v4.5.3 building for production...
✓ 1 modules transformed.
✓ built in 91ms
[commonjs--resolver] Failed to resolve entry for package "@maptiler/leaflet-maptilersdk". The package may have incorrect main/module/exports specified in its package.json.
error during build:
Error: Failed to resolve entry for package "@maptiler/leaflet-maptilersdk". The package may have incorrect main/module/exports specified in its package.json.
at packageEntryFailure (file:///var/www/locations/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:28725:11)
at resolvePackageEntry (file:///var/www/locations/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:28722:5)
at tryNodeResolve (file:///var/www/locations/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:28453:20)
at Object.resolveId (file:///var/www/locations/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:28212:28)
at file:///var/www/gdar-locations/node_modules/rollup/dist/es/shared/node-entry.js:25544:40
at async PluginDriver.hookFirstAndGetPlugin (file:///var/www/locations/node_modules/rollup/dist/es/shared/node-entry.js:25444:28)
at async resolveId (file:///var/www/locations/node_modules/rollup/dist/es/shared/node-entry.js:24117:26)
at async ModuleLoader.resolveId (file:///var/www/locations/node_modules/rollup/dist/es/shared/node-entry.js:24531:15)
at async Object.resolveId (file:///var/www/locations/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:7910:10)
at async PluginDriver.hookFirstAndGetPlugin (file:///var/www/locations/node_modules/rollup/dist/es/shared/node-entry.js:25444:28)
It looks like the dist directory is missing from node_modules/@maptiler/leaflet-maptilersdk.
The text was updated successfully, but these errors were encountered:
uoc-kpf
changed the title
ES module version of NPM package not installing
ES module version of NPM package incomplete
Apr 18, 2024
Hi, I'm getting the following error message when I try to build the package.
It looks like the dist directory is missing from node_modules/@maptiler/leaflet-maptilersdk.
The text was updated successfully, but these errors were encountered: