Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]Attempted import error: 'isTable' is not exported from '@loaders.gl/schema' (imported as 'isTable') #2543

Open
aikjun opened this issue Mar 20, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@aikjun
Copy link

aikjun commented Mar 20, 2024

export 'isTable' (imported as 'isTable') was not found in '@loaders.gl/schema' (possible exports: AsyncQueue, Binary, Bool, ColumnarTableBatchAggregator, DataType, Date, DateDay, DateMillisecond, Field, FixedSizeList, Float, Float16
, Float32, Float64, Int, Int16, Int32, Int64, Int8, Interval, IntervalDayTime, IntervalYearMonth, Null, RowTableBatchAggregator, Schema, Struct, TableBatchBuilder, Time, TimeMillisecond, TimeSecond, Timestamp, TimestampMicrosecond,
TimestampMillisecond, TimestampNanosecond, TimestampSecond, Uint16, Uint32, Uint64, Uint8, Utf8, convertToArrayRow, convertToObjectRow, deduceMeshField, deduceMeshSchema, deduceTypeFromColumn, deduceTypeFromValue, getArrowTypeFromTypedArray, getMeshBoundingBox, getMeshSize, getTypeInfo, makeMeshAttributeMetadata)

Please help

@webocean8
Copy link

I am also having this issue as well. Same error as above.
May I ask how the error has been resolved now?

@ibgreen
Copy link
Collaborator

ibgreen commented May 3, 2024

What version are you on?

https://github.com/visgl/loaders.gl/blob/master/modules/schema/src/index.ts#L47

@webocean8
Copy link

Thank you for your advice. In the package.json file for the Kepler 3.0.0 project that I downloaded, the version for @loaders.gl is ^4.1.0-alpha.4. Could you tell me which version would allow Kepler 3.0.0 to run smoothly?

package.json

"dependencies": {
...
"@loaders.gl/polyfills": "^4.1.0-alpha.4",
...
},

"devDependencies": {
...
"@loaders.gl/polyfills": "^4.1.0-alpha.4",
...
},

"resolutions": {
"@loaders.gl/core": "^4.1.0-alpha.4",
"@loaders.gl/csv": "^4.1.0-alpha.4",
"@loaders.gl/gltf": "^4.1.0-alpha.4",
"@loaders.gl/json": "^4.1.0-alpha.4",
"@loaders.gl/loader-utils": "^4.1.0-alpha.4",
"@loaders.gl/polyfills": "^4.1.0-alpha.4",
...
},

@webocean8
Copy link

I came across a functioning version, kepler.gl-3.0.0-alpha.1.tar.gz, within a node14.21.3 system environment. After executing "yarn" at the root level of the project, the system environment updated to node18.18.2. By running "yarn start" in the project's root, I successfully launched the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants