Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ yarn download:types
- yarn run v1.13.0
- $ rimraf ./node_modules/.cache/babel-loader '{features,core}/**/__generated__' && apollo codegen:generate -c ./apollo.config.js --useFlowExactObject
- s --useFlowReadOnlyTypes --mergeInFieldsFromFragmentSpreads --target=flow
- » Warning: apollo update available from 2.13.1 to 2.15.0.
- - Loading Apollo Project
- Generating query files
- TCL: generate -> rootPath D:\works\mashrooms\main-next
- TCL: generate -> sourcePath file:///d%3A/works/mashrooms/main-next/features/public/property/graphql/queries/account.graphql
- TCL: generate -> path_1.default.posix.relative(rootPath, toPath(sourcePath)) ../d:\works\mashrooms\main-next\features\public\property\graphql\queries
- \account.graphql
- √ Loading Apollo Project
- × Generating query files with 'flow' target
- → ENOENT: no such file or directory, mkdir 'D:\works\mashrooms\d:\works\mashrooms\main-next\features\public\property\graphql\queries\__generated
- _…
- TCL: generate -> rootPath D:\works\mashrooms\main-next
- TCL: generate -> sourcePath file:///d%3A/works/mashrooms/main-next/features/public/property/graphql/queries/account.graphql
- TCL: generate -> path_1.default.posix.relative(rootPath, toPath(sourcePath)) ../d:\works\mashrooms\main-next\features\public\property\graphql\queries
- \account.graphql
- TCL: generate -> dir ..\d:\works\mashrooms\main-next\features\public\property\graphql\queries\__generated__
- TCL: generate -> toPath(sourcePath) d:\works\mashrooms\main-next\features\public\property\graphql\queries\account.graphql
- (node:25488) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, mkdir 'D:\works\mashrooms\d:\works\mashrooms\main-next\featu
- res\public\property\graphql\queries\__generated__'
- at Object.fs.mkdirSync (fs.js:885:18)
- at generatedFiles.forEach (D:\works\mashrooms\main-next\node_modules\apollo\lib\generate.js:58:34)
- at Array.forEach (<anonymous>)
- at Object.generate [as default] (D:\works\mashrooms\main-next\node_modules\apollo\lib\generate.js:50:28)
- at write (D:\works\mashrooms\main-next\node_modules\apollo\lib\commands\client\codegen.js:67:54)
- at GraphQLClientProject.project.onDiagnostics [as _onDiagnostics] (D:\works\mashrooms\main-next\node_modules\apollo\lib\commands\client\codegen.j
- s:84:29)
- at GraphQLClientProject.validate (D:\works\mashrooms\main-next\node_modules\apollo-language-server\lib\project\client.js:140:18)
- at GraphQLClientProject.validateIfNeeded (D:\works\mashrooms\main-next\node_modules\apollo-language-server\lib\project\base.js:135:14)
- at Timeout.setTimeout [as _onTimeout] (D:\works\mashrooms\main-next\node_modules\apollo-language-server\lib\project\base.js:127:22)
- at ontimeout (timers.js:482:11)
- (node:25488) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function with
- out a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 5)
- (node:25488) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will t
- erminate the Node.js process with a non-zero exit code.
- Error: ENOENT: no such file or directory, mkdir 'D:/works/mashrooms/d:/works/mashrooms/main-next/features/public/property/graphql/queries/__generated
- __'
- at generatedFiles.forEach (D:/works/mashrooms/main-next/node_modules/apollo/lib/generate.js:58:34)
- at Array.forEach (<anonymous>)
- at Object.generate [as default] (D:/works/mashrooms/main-next/node_modules/apollo/lib/generate.js:50:28)
- at write (D:/works/mashrooms/main-next/node_modules/apollo/lib/commands/client/codegen.js:67:54)
- at Task.task (D:/works/mashrooms/main-next/node_modules/apollo/lib/commands/client/codegen.js:86:46)
- at <anonymous>
- error Command failed with exit code 2.
- info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement