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.

dist folder missing on latest update

See original GitHub issue

Hey! been using this package for a while now, never had any issues, but we updated the dependencies on a project and suddenly builds started to fail, noticed that the v15.6.0 is missing the dist folder in node_modules:

Screen Shot 2021-11-04 at 17 07 40

it’s a Next.js 12 project using pnpm as package manager. the error happens on both
@contentful/rich-text-react-renderer and @contentful/rich-text-types.

the temporary fix was to install v15.5.x

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:19
  • Comments:7

github_iconTop GitHub Comments

acqhqcommented, Nov 4, 2021

Yes, I am getting same issue.

ModuleNotFoundError: Module not found: Error: Can't resolve '@contentful/rich-text-types' in '/vercel/path0/components/RichText'
alexshybacommented, Nov 5, 2021

got broken too today 😦

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why is the dist folder missing? Can't view any of the samples ...
The dist folder only exists in the release branch. If you install with npm or bower you will get a version that has...
Read more >
npm install doesnt create dist folder - Stack Overflow
It will create the node_modules directory in your current directory (if one doesn't exist yet), and will download the package to that directory....
Read more >
angular not updating when dist directory contains built files
I have noticed this on VS2017 15.7.1 ,dotnet core 2.1 and Angular/Angular-CLI ^6.0.3 (I removed webpack from packages completely - The angular add...
Read more >
Deployment - Angular
The output folder is dist/project-name/ by default. To output to a different folder, change the outputPath in angular.json . As you near the...
Read more >
Build will not create /dist/ folder when running on the server ...
We have a .NET Core 3.1 project with Angular 9 front end. When we build on the TC server the /dist/ folder is...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found