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.

nodejs and yarn version

See original GitHub issue

Hi all, thank you for inviting me to participate here. In following the readme.md I have encountered issues with both nodejs and yarn versions (minimum 12.13 and 1.5, respectively). I am running this in ubuntu 20.04 and I am able to get nodejs 10.19.0 and yarn 1.22.5.

This in turn results in the following error when running yarn install: yarn install v1.22.5 [1/4] Resolving packages... [2/4] Fetching packages... info fsevents@2.3.2: The platform "linux" is incompatible with this module. info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation. info fsevents@1.2.13: The platform "linux" is incompatible with this module. info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation. error @docusaurus/plugin-content-docs@2.0.0-alpha.72: The engine "node" is incompatible with this module. Expected version ">=12.13.0". Got "10.19.0" error Found incompatible module. info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

The yarn start and yarn build commands therefore both result in a “docusaurus: not found” error.

Any suggestions?

Regards,

Stef

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6

github_iconTop GitHub Comments

2reactions
rdlrtcommented, Apr 30, 2021

Hey @adrem1,

The issue you’d want to address is in the first line with the minimum requirements. While there are different solutions for maintaining/upgrading node versions, I find using nvm as mentioned on How to Contribute is the most stable option.

Having said that, I belive it could be a good feedback about updating README.md to move the build instructions to that page instead (tho since we’re not yet live, wonder if it makes sense to route it to staging URL or perhaps use relative path to document).

1reaction
adrem1commented, May 1, 2021

confusion (on my end) greatly resolved by @rdlrt THX

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation | Yarn
These instructions only cover Yarn versions prior to 2.0. ... recommended to install Yarn through the npm package manager, which comes bundled with...
Read more >
How To Install and Use the Yarn Package Manager for Node.js
node -v. If you see a version number, such as v12. · sudo npm install -g yarn. After the package installs, have the...
Read more >
yarn - npm
Fast, reliable, and secure dependency management.. Latest version: 1.22.19, last published: 7 months ago. Start using yarn in your project ...
Read more >
The Best Way to Install Node.js with Yarn - yoember.com
There are a few ways to install Node.js, but it looks like only one way gives you the best experience for long term....
Read more >
Yarn not installing in nvm version node version - Stack Overflow
Note: Due to the use of nodejs instead of node name in some distros, yarn might complain about node not being installed. A...
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