testinggospels / camouflage

Camouflage is a backend mocking tool for HTTP, gRPC, Websockets and Thrift protocols, which helps you carry out your front end prototyping, unit testing, functional/performance testing in silos, in absence of one or more Microservices/APIs.
https://testinggospels.github.io/camouflage/
MIT License
278 stars 26 forks source link

Incompatible with NodeJS v16.x #98

Closed Thor-x86 closed 3 years ago

Thor-x86 commented 3 years ago

I tried to install camouflage-server but it refused to be installed because of strict node version limit. Here's the terminal output:

[athaariq@ArchLinux-VM] ~/web/learn-vuex
$ yarn add -D camouflage-server
yarn add v1.22.15
[1/4] Resolving packages...
warning camouflage-server > @opuscapita/filemanager-server > pdf2json > xmldom@0.1.31: Deprecated due to CVE-2021-21366 resolved in 0.5.0
[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 apicache@1.6.2: The engine "node" is incompatible with this module. Expected version ">=8 <=15". Got "16.11.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
[FAIL|1]

Please consider to update the dependency thru your package.json, thanks!

shubhendumadhukar commented 3 years ago

Thanks for highlighting this! We are currently using the library provided by apicache for caching express requests. It seems they don't support node 16 yet. It'd be a good idea to raise this issue there.

shubhendumadhukar commented 3 years ago

New version of apicache 1.6.3 is available, which should support node 16. Would be available in next Camouflage release.

https://github.com/kwhitley/apicache/pull/237

Thor-x86 commented 3 years ago

Thanks! It's confirmed working, now i'm closing the issue