question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ability to import jbrowse packages outside of monorepo results in a jsx error

See original GitHub issue
Failed to compile.

../jbrowse-components/packages/svg/src/SvgFeatureRenderer/components/FeatureGlyph.js
SyntaxError: /home/cdiesh/src/jbrowse-components/packages/svg/src/SvgFeatureRenderer/components/FeatureGlyph.js: Unexpected token (75:4)                                                  

  73 | 
  74 |   const glyphComponents = [
> 75 |     <title key={`glyph-title-${feature.id()}`}>{feature.id()}</title>,
     |     ^
  76 |     <GlyphComponent
  77 |       key={`glyph-${feature.id()}`}
  78 |       {...props}

cd packages/core;yarn link; cd - cd packages/svg;yarn link;cd - cd jbrowse-widget-v1 yarn link @gmod/jbrowse-core yarn link @gmod/jbrowse-plugin-svg

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:22 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
cmdcolincommented, Sep 18, 2019
0reactions
rbuelscommented, Jan 23, 2020

closing this for now, this should be resolved when runtime plugin loading is implemented

Read more comments on GitHub >

github_iconTop Results From Across the Web

reactjs - Error when importing JSX files from another package ...
However I am not able to import a component from another package. When I import a common function, no error occurs. Github repository....
Read more >
npx create-react-app throws error when using in monorepo
Workaround is to just run create-react-app@next --scripts-version=@next cra-app outside the monorepo, then delete the node_modules folder and ...
Read more >
46 posts tagged with "jbrowse 2" | JBrowse
Users will now be able to create their own text indexes with the jbrowse text-index command, which creates an index for searching by...
Read more >
Source - GitHub
... @jbrowse/react-linear-genome-view | https://www.npmjs.com/package/@jbrowse/react-linear-genome-view | </p> </details> #### :bug: Bug Fix ...
Read more >
Mapping Open Source in Museums: Table - GitHub Pages
Repository Source Language Updated Stars Forks 3D2commons * riksantikvarieambetet Python 2018 2 1 3d‑cetacean‑scapulae naturalis R 2017 1 0 3d‑hackathon metmuseum‑medialab Unknown 2012 2 1
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found