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

unhandled error in meta information modal #2418

Closed
targos opened this issue Jun 12, 2023 · 0 comments · Fixed by #2445 or #2442
Closed

unhandled error in meta information modal #2418

targos opened this issue Jun 12, 2023 · 0 comments · Fixed by #2445 or #2442
Assignees
Labels
bug Something isn't working

Comments

@targos
Copy link
Member

targos commented Jun 12, 2023

I don't have a repro for now. These are logs from the NMRium website.

TypeError: Cannot read properties of undefined (reading 'text')

{
  source: 'webpack://_N_E/node_modules/react-dropzone/dist/es/index.js',
  line: 708,
  column: 0,
  name: 'onDrop'
}
{
  source: 'webpack://_N_E/node_modules/react-science/lib-esm/components/drop-zone/DropZone.js',
  line: 55,
  column: 0,
  name: 'acceptedFiles'
}
{
  source: 'webpack://_N_E/node_modules/nmrium/lib/component/modal/metaImportation/MetaImportationModal.js',
  line: 90,
  column: 0,
  name: 'handleParseFile'
}
{
  source: 'webpack://_N_E/node_modules/nmrium/lib/component/modal/metaImportation/MetaImportationModal.js',
  line: 79,
  column: 0,
  name: null
}
{
  source: 'webpack://_N_E/node_modules/nmrium/lib/component/modal/metaImportation/MetaImportationModal.js',
  line: 77,
  column: 34,
  name: 'parseMetaFile'
}
{
  source: 'webpack://_N_E/node_modules/nmrium/lib/data/parseMeta/parseMetaFile.js',
  line: 3,
  column: 0,
  name: 'text'
}
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
2 participants