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.

[BUG] Does not work with pnpm

See original GitHub issue

Describe the bug When using pnpm as a package manager reassure binary cannot be found. After running command pnpm reassure i get:

 ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL  not found: reassure

I noticed that reassure binary is missing in the node_modules/.bin folder.

To Reproduce Steps to reproduce the behavior:

  1. Create react project with create-react-app
  2. Add reassure to the project using pnpm add reassure -D
  3. run pnpm reassure

Issue Analytics

  • State:open
  • Created 10 months ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mczapkowiczcommented, Dec 5, 2022

I will take a look at this.

1reaction
mczapkowiczcommented, Dec 1, 2022

I’m using macOS. Everything works fine with yarn and npm so I belive this is package manager specific. This may be caused by the fact that contrary to npm and yarn module hoisting, pnpm uses non-flat node_modules structure. So with npm and yarn node_modules inside reassure are getting hoisted including .bin - with pnpm they are not.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · pnpm/pnpm - GitHub
When I emptied the wastebasket, I was prompted that it could not be deleted。So how do I delete it ? type: bug.
Read more >
[pnpm] Code Completion and indexing does not work
If I unexclude the subfolders manually, code completion and search will work, but now the files are considered as "Project Files" which is...
Read more >
package.json | pnpm
During local development, pnpm will always fail with an error message if its version does not match the one specified in the engines...
Read more >
pnpm/pnpm - Gitter
my dependency @verdaccio/babel-preset has babel as dependency but I don't see it on my ... Problem with pnpm is it is not able...
Read more >
Why you should prefer using pnpm over npm and yarn? | refine
This problem is intensified in a large monorepo setup. Pnpm, on the other hand, uses a different dependency resolution algorithm and different ...
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