Our blazing fast Grid component built with pure JavaScript


Post by pychen »

Hi,

we used Grid component version 4.2.4 works. but when upgrade to 4.3.4, cannot get the export class.

error is:
./src/app/components/grid/grid.component.ts:197:22-26 - Error: export 'Grid' (imported as 'Grid') was not found in '@bryntum/grid/grid.lite.umd.js' (module has no exports)

 
 import { Grid, DataGenerator } from '@bryntum/grid/grid.lite.umd.js';
 

we also upgraded the scheduler component to 4.3.4, but not get this error, what can we do to fix this error? any idea for this? thanks.


Post by alex.l »

Hm... I just installed all packages from scratch and it works good for me.
Please try it with our angular examples (examples/frameworks/angular dir) that you have in our sources. It also uses the same import. Do you still see this error?

If not, please zip and attach your app here, we will run it and check what is wrong.

All the best,
Alex


Post by pychen »

How to debug and identify that the downloaded node_modules exported 'Grid' for my project?

e.g. I can see this in file '@bryntum/grid/grid.lite.umd.js'

 __webpack_require__.d(__webpack_exports__, "Grid", function() {
 

Post by alex.l »

Please check your package.json, how your imports look like? Compare it with our examples.

All the best,
Alex


Post Reply