airalab / robonomics-wiki

Getting Started always better than reading white paper; Robonomics Wiki aims to bring all the knowledge about Robonomics to everyone who is interested in the project
http://wiki.robonomics.network
BSD 3-Clause "New" or "Revised" License
13 stars 34 forks source link

Can't build wiki locally #900

Closed nakata5321 closed 1 month ago

nakata5321 commented 1 month ago

Issue description

Try to build wiki locally by following this page instructions - https://wiki.robonomics.network/docs/edit-wiki/#how-to-edit.

I'm working with yarn. However, when i run yarn install, i've got next error:

➜  robonomics-wiki git:(master) ✗ yarn install
yarn install v1.22.22
info No lockfile found.
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/5] Validating package.json...
[2/5] Resolving packages...
warning @11ty/eleventy-fetch > flat-cache > rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
warning @11ty/eleventy-fetch > flat-cache > rimraf > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning @11ty/eleventy-fetch > flat-cache > rimraf > glob > inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
warning eleventy-plugin-metagen > @11ty/eleventy > recursive-copy > rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
warning eleventy-plugin-metagen > @11ty/eleventy > recursive-copy > rimraf > glob@7.2.3: Glob versions prior to v9 are no longer supported
[3/5] Fetching packages...
error glob@11.0.0: The engine "node" is incompatible with this module. Expected version "20 || >=22". Got "21.7.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

System

I have nodeJS :

$node -v
v21.7.1

suggested solution:

Provide exact versions on node JS which will work

zirreal commented 1 month ago

added working node versions to edit wiki page - https://wiki.robonomics.network/docs/edit-wiki/#2-serve-locally-develop-develop-m1