Open kenchan97 opened 2 years ago
@kenchan97
Try @egjs/svelte-infinitegrid@4.6.1-beta.0
version.
Thank you :)
@kenchan97
Try
@egjs/svelte-infinitegrid@4.6.1-beta.0
version.Thank you :)
I tried, but there is nothing to change in result
@GrassHopper42
Try @egjs/svelte-infinitegrid@4.6.1-beta.1
version.
Thank you
@GrassHopper42
Try
@egjs/svelte-infinitegrid@4.6.1-beta.1
version.Thank you
It works! Thank you!!!!!!
@GrassHopper42
@egjs/infinitegrid
4.7.0@egjs/react-infinitegrid
4.7.0@egjs/svelte-infinitegrid
4.7.0@egjs/vue-infinitegrid
4.7.0@egjs/vue3-infinitegrid
4.7.0@egjs/ngx-infinitegrid
4.7.0Updated to the latest version
thank your response
Description
After update to latest SvelteKit, and run build , it failed. but npm run dev is fine, i am a backend developer , so not familiar with npm too much.
Here error log from VS file:///C:/Users/LAN/Desktop/Svelte/BBS/.svelte-kit/output/server/entries/pages/HomePage.svelte.js:2 import { Renderer, CONTAINER_CLASS_NAME, INFINITEGRID_METHODS, MasonryInfiniteGrid as MasonryInfiniteGrid$1 } from "@egjs/infinitegrid"; ^^^^^^^^^^^^^^^^^^^^ SyntaxError: Named export 'CONTAINER_CLASS_NAME' not found. The requested module '@egjs/infinitegrid' is a CommonJS module, which may not support all module.exports as named exports. CommonJS modules can always be imported via the default export, for example using:
import pkg from '@egjs/infinitegrid'; const { Renderer, CONTAINER_CLASS_NAME, INFINITEGRID_METHODS, MasonryInfiniteGrid: MasonryInfiniteGrid$1 } = pkg;
SyntaxError: Named export 'CONTAINER_CLASS_NAME' not found. The requested module '@egjs/infinitegrid' is a CommonJS module, which may not support all module.exports as named exports. CommonJS modules can always be imported via the default export, for example using:
import pkg from '@egjs/infinitegrid'; const { Renderer, CONTAINER_CLASS_NAME, INFINITEGRID_METHODS, MasonryInfiniteGrid: MasonryInfiniteGrid$1 } = pkg;
SyntaxError: Named export 'CONTAINER_CLASS_NAME' not found. The requested module '@egjs/infinitegrid' is a CommonJS module, which may not support all module.exports as named exports. CommonJS modules can always be imported via the default export, for example using:
import pkg from '@egjs/infinitegrid'; const { Renderer, CONTAINER_CLASS_NAME, INFINITEGRID_METHODS, MasonryInfiniteGrid: MasonryInfiniteGrid$1 } = pkg;
SyntaxError: Named export 'CONTAINER_CLASS_NAME' not found. The requested module '@egjs/infinitegrid' is a CommonJS module, which may not support all module.exports as named exports. CommonJS modules can always be imported via the default export, for example using:
import pkg from '@egjs/infinitegrid'; const { Renderer, CONTAINER_CLASS_NAME, INFINITEGRID_METHODS, MasonryInfiniteGrid: MasonryInfiniteGrid$1 } = pkg;
SyntaxError: Named export 'CONTAINER_CLASS_NAME' not found. The requested module '@egjs/infinitegrid' is a CommonJS module, which may not support all module.exports as named exports. CommonJS modules can always be imported via the default export, for example using:
import pkg from '@egjs/infinitegrid'; const { Renderer, CONTAINER_CLASS_NAME, INFINITEGRID_METHODS, MasonryInfiniteGrid: MasonryInfiniteGrid$1 } = pkg;
SyntaxError: Named export 'CONTAINER_CLASS_NAME' not found. The requested module '@egjs/infinitegrid' is a CommonJS module, which may not support all module.exports as named exports. CommonJS modules can always be imported via the default export, for example using:
import pkg from '@egjs/infinitegrid'; const { Renderer, CONTAINER_CLASS_NAME, INFINITEGRID_METHODS, MasonryInfiniteGrid: MasonryInfiniteGrid$1 } = pkg;
file:///C:/Users/LAN/Desktop/Svelte/BBS/node_modules/@sveltejs/kit/dist/prerender.js:460 throw new Error(format_error(details, config)); ^
Error: 500 / at file:///C:/Users/LAN/Desktop/Svelte/BBS/node_modules/@sveltejs/kit/dist/prerender.js:460:11 at save (file:///C:/Users/LAN/Desktop/Svelte/BBS/node_modules/@sveltejs/kit/dist/prerender.js:744:4) at visit (file:///C:/Users/LAN/Desktop/Svelte/BBS/node_modules/@sveltejs/kit/dist/prerender.js:635:3)
Steps to check or reproduce
update to latest Sveltekit with static adapter and npm run build