-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
I installed globally babel-cli@6.8.0
then this is my yarn install output
D:\work\react-apollo-ssr-example-master>yarn install
yarn install v1.16.0
info No lockfile found.
[1/4] Resolving packages...
warning apollo-client > lodash.isarray@4.0.0: This package is deprecated. Use Array.isArray.
warning graphqlhub-schemas > twit > request > node-uuid@1.4.8: Use uuid module instead
warning graphqlhub-schemas > twit > request > hawk@2.3.1: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
warning graphqlhub-schemas > graphql-relay > babel-runtime > core-js@1.2.7: core-js@<2.6.5 is no longer maintained. Please, upgrade to core-js@3 or at least to actual version of core-js@2.
warning graphqlhub-schemas > twit > request > hawk > sntp@1.0.9: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
warning graphqlhub-schemas > twit > request > hawk > cryptiles@2.0.5: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best
features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning graphqlhub-schemas > twit > request > hawk > boom@2.10.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning graphqlhub-schemas > twit > request > hawk > cryptiles > boom@2.10.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning graphqlhub-schemas > twit > request > hawk > hoek@2.16.3: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning graphqlhub-schemas > twit > request > hawk > sntp > hoek@2.16.3: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning graphqlhub-schemas > twit > request > hawk > boom > hoek@2.16.3: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning react > fbjs > core-js@1.2.7: core-js@<2.6.5 is no longer maintained. Please, upgrade to core-js@3 or at least to actual version of core-js@2.
warning babel-preset-es2015@6.24.1: � Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
warning eslint > file-entry-cache > flat-cache > circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
[2/4] Fetching packages...
error graphqlhub-schemas@0.1.0: The engine "node" is incompatible with this module. Expected version "4.1.0". Got "10.15.3"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
When I build, this error arises:
D:\work\react-apollo-ssr-example-master>yarn run build
yarn run v1.16.0
$ babel src --out-dir dist
Error: Couldn't find preset "es2015" relative to directory "D:\\work\\react-apollo-ssr-example-master"
at C:\Users\Emna\AppData\Local\Yarn\Data\global\node_modules\babel-core\lib\transformation\file\options\option-manager.js:293:19
at Array.map (<anonymous>)
at OptionManager.resolvePresets (C:\Users\Emna\AppData\Local\Yarn\Data\global\node_modules\babel-core\lib\transformation\file\options\option-manager.js:275:20)
at OptionManager.mergePresets (C:\Users\Emna\AppData\Local\Yarn\Data\global\node_modules\babel-core\lib\transformation\file\options\option-manager.js:264:10)
at OptionManager.mergeOptions (C:\Users\Emna\AppData\Local\Yarn\Data\global\node_modules\babel-core\lib\transformation\file\options\option-manager.js:249:14)
at OptionManager.init (C:\Users\Emna\AppData\Local\Yarn\Data\global\node_modules\babel-core\lib\transformation\file\options\option-manager.js:368:12)
at File.initOptions (C:\Users\Emna\AppData\Local\Yarn\Data\global\node_modules\babel-core\lib\transformation\file\index.js:212:65)
at new File (C:\Users\Emna\AppData\Local\Yarn\Data\global\node_modules\babel-core\lib\transformation\file\index.js:135:24)
at Pipeline.transform (C:\Users\Emna\AppData\Local\Yarn\Data\global\node_modules\babel-core\lib\transformation\pipeline.js:46:16)
at transform (C:\Users\Emna\AppData\Local\Yarn\Data\global\node_modules\babel-cli\lib\babel\util.js:52:22)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I didn't take much time to try to resolve it, since i checked out this project to see how to do to fixed my issues on my own project, finding my self resolving other issues wasn't my objective :)
Metadata
Metadata
Assignees
Labels
No labels