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.

Installing with native NPM

See original GitHub issue

As a heads up, the post-install step fails when a user is using native NPM to install instead of yarn due to the following issue noted in the patch-package project

https://github.com/ds300/patch-package/issues/14

The simplest solution appears to be to change patch-package to ./node_modules/.bin/patch-package in the NPM script

That being said, its impossible to use the project without yarn right now as there are no dependancies in the package.json file. Not everyone uses yarn or wants too.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
TomAFrenchcommented, Aug 24, 2022

We recently migrated to yarn v3 which is always locally installed. Granted my global yarn v1 install may be helping to find that local yarn v3 install but it might work fine for you as well.

0reactions
TomAFrenchcommented, Aug 24, 2022

Based on yarn’s docs you still need a global yarn install but the version shouldn’t really matter as long as it’s recent enough to hand over to the locally installed yarn v3

Read more comments on GitHub >

github_iconTop Results From Across the Web

natives - npm
This module lets you do some creative things with the JavaScript code in Node.js. There are some things here that are basically a...
Read more >
react-native - npm
The recommended way to install React Native depends on your project. Here you can find short guides for the most common scenarios:.
Read more >
native - npm
Start using native in your project by running `npm i native`. There are 2 other projects in the npm registry using native.
Read more >
npm-native
Start using npm-native in your project by running `npm i npm-native`. There are no other projects in the npm registry using npm-native.
Read more >
native-run - npm
A CLI for running apps on iOS/Android devices and simulators/emulators. Latest version: 1.7.1, last published: 3 months ago.
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