nodeSolidServer / node-solid-server

Solid server on top of the file-system in NodeJS
https://solidproject.org/for-developers/pod-server
Other
1.78k stars 303 forks source link

Yarn install error #1375

Open gaelreyrol opened 4 years ago

gaelreyrol commented 4 years ago

Hi,

When I try to install solid-server@5.2.2 with yarn it fails because @solid/acl-check rdflib dependency expects node version to be ^6.0.

The output :

yarn global v1.21.1
[1/4] Resolving packages...
warning solid-server > nodemailer@3.1.8: All versions below 4.0.1 of Nodemailer are deprecated. See https://nodemailer.com/status/
warning solid-server > solid-auth-client > @solid/oidc-rp > text-encoding@0.6.4: no longer maintained
warning solid-server > rdflib > solid-auth-cli > @solid/cli > @solid/oidc-rp > text-encoding@0.6.4: no longer maintained
warning solid-server > solid-auth-client > @solid/oidc-rp > @solid/jose > text-encoding@0.6.4: no longer maintained
warning solid-server > solid-auth-client > @solid/oidc-rp > @trust/webcrypto > text-encoding@0.6.4: no longer maintained
warning solid-server > webid > rdflib > coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
warning solid-server > mashlib > solid-ui > node-uuid@1.4.8: Use uuid module instead
warning solid-server > mashlib > solid-panes > pane-registry > @types/rdflib@1.0.5: This is a stub types definition. rdflib provides its own type definitions, so you do not need this installed.
[2/4] Fetching packages...
info fsevents@1.2.8: The platform "linux" is incompatible with this module.
info "fsevents@1.2.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@1.2.9: The platform "linux" is incompatible with this module.
info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@2.0.7: The platform "linux" is incompatible with this module.
info "fsevents@2.0.7" is an optional dependency and failed compatibility check. Excluding it from installation.
error rdflib@0.12.3: The engine "node" is incompatible with this module. Expected version "^6.0". Got "12.13.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.
jaxoncreed commented 4 years ago

Perhaps this has to do with the global install. NSS v5.2.2 requires rdflib ^0.21.1 which requires Node >=6.0, but for some reason you seem to be installing rdfib 0.12.3 which requires Node ^6.0