tiagob / create-full-stack

Set up a TypeScript full stack with one command.
https://create-full-stack.com
MIT License
97 stars 9 forks source link

Fix node engines version #152

Closed tiagob closed 3 years ago

tiagob commented 3 years ago

With node v13

error graphql-request@3.2.0: The engine "node" is incompatible with this module. Expected version "10.x || 12.x || 14.x". Got "13.14.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
(node:91336) UnhandledPromiseRejectionWarning: Error: `yarn --cwd my-full-stack` failed
    at Object.runYarn (/Users/tiagobandeira/.config/yarn/global/node_modules/create-full-stack/build/src/utils.js:13:15)
    at run (/Users/tiagobandeira/.config/yarn/global/node_modules/create-full-stack/build/src/index.js:170:17)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:91336) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:91336) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
✨  Done in 85.62s