davidroyer / nuxt2-ssr-firebase

Nuxt2 Universal App with SSR via Firebase Functions and Firebase Hosting
https://nuxt2ssrfire.firebaseapp.com
50 stars 11 forks source link

Error During Setup - Complains About engine version Mismatch #5

Closed rajesh-h closed 5 years ago

rajesh-h commented 5 years ago

Hi,

Thank you for this package. Not sure you still track issues on this. Below is the error I got. Not sure why it is giving this error.

yarn run v1.17.3
$ yarn install && yarn setup:client && yarn setup:server
[1/4] Resolving packages...
success Already up-to-date.
$ cd "src" && yarn install
warning package.json: No license field
warning nuxt-ssr-firebase-source: No license field
[1/4] Resolving packages...
success Already up-to-date.
$ cd "prod/server" && yarn install
info No lockfile found.
[1/5] Validating package.json...
error functions@: The engine "node" is incompatible with this module. Expected version "8". Got "10.16.2"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
rajesh-h commented 5 years ago

It is resolved by changing node version under engines option to 10.16.2