async-labs / saas

Build your own SaaS business with SaaS boilerplate. Productive stack: React, Material-UI, Next, MobX, WebSockets, Express, Node, Mongoose, MongoDB. Written with TypeScript.
https://saas-app.async-await.com
MIT License
4.11k stars 683 forks source link

Installation unfortunately needs node "12.16.1" and yarn "1.22.4" (no bug) #131

Closed deniercounter closed 4 years ago

deniercounter commented 4 years ago

LOG: npm i

saas-boilerplate@2.0.0 postinstall /home/deniercounter/Github/saas yarn --cwd ./api install && yarn --cwd ./app install

yarn install v1.22.5 [1/5] Validating package.json... error api-same-as-10-end-api@1.0.0: The engine "node" is incompatible with this module. Expected version "12.16.1". Got "13.9.0" error api-same-as-10-end-api@1.0.0: The engine "yarn" is incompatible with this module. Expected version "1.22.4". Got "1.22.5" error Found incompatible module.

tima101 commented 4 years ago

@deniercounter Check this issue https://github.com/async-labs/saas/issues/127

deniercounter commented 4 years ago

Thanks for the hint. I use nvm, but I don't think I can run different node version in different terminals on the same machine. But maybe with a different user?

But this is not an issue for here.

tima101 commented 4 years ago

@deniercounter You can either install required versions of Node and Yarn. Or you can deviate from this project and specify your own versions in your own package.json file: https://github.com/async-labs/saas/blob/e42553df1bc87d12b8cf784a594f24ad5bf21959/api/package.json#L5

deniercounter commented 4 years ago

@tima101 Thank you! I only had a look at the root package.json.

mrhanson3 commented 4 years ago

Hey @deniercounter, I use this to revert to 12.16.1: https://stackoverflow.com/questions/7718313/how-to-change-to-an-older-version-of-node-js