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.

Error when installed on fresh CRA

See original GitHub issue

When trying to add this on a fresh CRA (via yarn add blocks-ui) one gets the following error:

./node_modules/blocks-ui/dist/index.js
Module not found: Can't resolve '@blocks/blocks/src' in '.../node_modules/blocks-ui/dist'

I’m still getting up to speed on the crazy world of npm packaging, so unfortunately I haven’t been able to dig much deeper than that.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
bkrauszcommented, Nov 27, 2019

Looks good! I also needed to do yarn add @blocks/blocks @mdx-js/react to get it to work. I’ll submit a PR for the setup instructions when I’m back at a desk.

1reaction
johnocommented, Nov 27, 2019

A pr would be great!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Prettier throwing error in VScode fresh CRA app installation
I installed a fresh install of CRA and also installed eslint and prettier and as well as two packages to make them work...
Read more >
Fresh install of CRA doesn't work, babel-loader dependency ...
Describe the bug A new project created with CRA 4.0.2 fails to start. Did you try recovering your dependencies? This is a new...
Read more >
Your browser and troubleshooting tips - Canada.ca
Here are some tips if you experience issues accessing the CRA sign-in services. If you experience difficulties printing some pages from the CRA...
Read more >
Unable to connect with CRA server - UFile Support Community
It simply says 'error connecting to CRA server'. But when installing Ufile 2021 in the first place, it came up with an istallation...
Read more >
Error codes reference list
List of all Electronic Data Interchange ( EDI ) error codes including electronic release ( ACROSS ), Release Notification System ( RNS ) ......
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