Advertisement
davilima6

yarn develop

Nov 26th, 2019
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.35 KB | None | 0 0
  1. $ y develop
  2. yarn run v1.19.1
  3. $ gatsby develop
  4. success open and validate gatsby-configs
  5. - 0.040 s
  6. success load plugins - 0.640 s
  7. success onPreInit - 0.084 s
  8. success initialize cache - 0.019 s
  9. success copy gatsby files - 0.071 s
  10. success onPreBootstrap - 0.026 s
  11. Plone – Reading plugin status
  12. ⠋ source and transform nodes
  13. Plone – {"lastFetched":"2019-11-26T23:02Plone – Fetching all metadata
  14.  
  15. ERROR #11321 PLUGIN
  16.  
  17. "gatsby-source-plone" threw an error while running the sourceNodes lifecycle:
  18.  
  19. Request failed with status code 401
  20.  
  21.  
  22.  
  23. Error: Request failed with status code 401
  24.  
  25. - createError.js:16 createError
  26. [gatsby-starter-plone-brochure-davi] /[axios]/lib/core/createError.js:16: 15
  27.  
  28. - settle.js:17 settle
  29. [gatsby-starter-plone-brochure-davi] /[axios]/lib/core/settle.js:17:12
  30.  
  31. - http.js:237 IncomingMessage.handleSt reamEnd
  32. [gatsby-starter-plone-brochure-davi] /[axios]/lib/adapters/http.js:237:11
  33. - next_tick.js:139 _combinedTickCallba ck
  34. internal/process/next_tick.js:139:11
  35. - next_tick.js:181 process._tickCallba ck
  36. internal/process/next_tick.js:181:9
  37.  
  38.  
  39. success source and transform nodes -
  40. success building schema - 0.226 s
  41. success createPages - 0.017 s
  42. success createPagesStatefully - 0.053 s
  43. success onPreExtractQueries - 0.017 s
  44. success update schema - 0.038 s
  45.  
  46. ERROR #85901 GRAPHQL
  47.  
  48. There was an error in your GraphQL query:
  49.  
  50. Unknown type "PloneDocument".
  51.  
  52. File: src/pages/index.js:210:24
  53.  
  54.  
  55. ERROR #85901 GRAPHQL
  56.  
  57. There was an error in your GraphQL query:
  58.  
  59. Unknown type "PloneImage".
  60.  
  61. File: src/pages/index.js:217:21
  62.  
  63.  
  64. ERROR #85901 GRAPHQL
  65.  
  66. There was an error in your GraphQL query:
  67.  
  68. Unknown type "PloneFolder".
  69.  
  70. File: src/pages/index.js:284:16
  71.  
  72.  
  73. ERROR #85901 GRAPHQL
  74.  
  75. There was an error in your GraphQL query:
  76.  
  77. Unknown type "PloneDocument".
  78.  
  79. File: src/pages/index.js:288:20
  80.  
  81.  
  82. ERROR #85901 GRAPHQL
  83.  
  84. There was an error in your GraphQL query:
  85.  
  86. Unknown type "PloneDocument".
  87.  
  88. File: src/pages/index.js:293:16
  89.  
  90.  
  91. ERROR #85901 GRAPHQL
  92.  
  93. There was an error in your GraphQL query:
  94.  
  95. Unknown type "PloneImage".
  96.  
  97. File: src/pages/index.js:296:16
  98.  
  99. success extract queries from components
  100. - 0.362 s
  101. success write out requires - 0.041 s
  102. success write out redirect data - 0.016
  103. success onPostBootstrap - 0.016 s
  104. info bootstrap finished - 5.697 s
  105.  
  106. ERROR
  107.  
  108.  
  109. The GraphQL query from /Users/davi/work/plone/gatsby-starter-plone-brochure-davi/src/utils.js failed.
  110.  
  111. Errors:
  112. Cannot query field "ploneSite" on type "Query". Did you mean "allSite"?
  113.  
  114. GraphQL request:2:3
  115. 1 | query SortNodesByFolderOrderQuery {
  116. 2 | ploneSite {
  117. | ^
  118. 3 | id
  119. Plugin:
  120. none
  121. Query:
  122. query SortNodesByFolderOrderQuery {
  123. ploneSite {
  124. id
  125. items {
  126. _id
  127. }
  128. }
  129. }
  130.  
  131.  
  132. success run static queries - 0.086 s —
  133. 3/3 44.70 queries/second
  134.  
  135. ERROR
  136.  
  137.  
  138. The GraphQL query from /Users/davi/work/plone/gatsby-starter-plone-brochure-davi/src/pages/index.js failed.
  139.  
  140. Errors:
  141. Cannot query field "allPloneImage" on type "Query". Did you mean "allSitePage"?
  142.  
  143. GraphQL request:2:3
  144. 1 | query IndexPageQuery {
  145. 2 | allPloneImage {
  146. | ^
  147. 3 | edges {,Cannot query field "ploneSite" on type "Query". Did you mean "allSite"?
  148.  
  149. GraphQL request:9:3
  150. 8 | }
  151. 9 | ploneSite {
  152. | ^
  153. 10 | nodes {,Unknown type "PloneFolder".
  154.  
  155. GraphQL request:12:14
  156. 11 | __typename
  157. 12 | ... on PloneFolder {
  158. | ^
  159. 13 | _type,Unknown type "PloneDocument".
  160.  
  161. GraphQL request:19:14
  162. 18 | }
  163. 19 | ... on PloneDocument {
  164. | ^
  165. 20 | ...Document,Unknown type "PloneImage".
  166.  
  167. GraphQL request:22:14
  168. 21 | }
  169. 22 | ... on PloneImage {
  170. | ^
  171. 23 | ...Image,Unknown type "PloneImage".
  172.  
  173. GraphQL request:29:19
  174. 28 |
  175. 29 | fragment Image on PloneImage {
  176. | ^
  177. 30 | _type,Unknown type "PloneDocument".
  178.  
  179. GraphQL request:87:22
  180. 86 |
  181. 87 | fragment Document on PloneDocument {
  182. | ^
  183. 88 | _type
  184. URL path:
  185. /
  186. Context:
  187. {}
  188. Plugin:
  189. none
  190. Query:
  191. query IndexPageQuery {
  192. allPloneImage {
  193. edges {
  194. node {
  195. ...Image
  196. }
  197. }
  198. }
  199. ploneSite {
  200. nodes {
  201. __typename
  202. ... on PloneFolder {
  203. _type
  204. title
  205. nodes {
  206. ...Document
  207. }
  208. }
  209. ... on PloneDocument {
  210. ...Document
  211. }
  212. ... on PloneImage {
  213. ...Image
  214. }
  215. }
  216. }
  217. }
  218.  
  219. fragment Image on PloneImage {
  220. _type
  221. _path
  222. title
  223. description
  224. image {
  225. childImageSharp {
  226. hero: fixed(height: 1600) {
  227. ...GatsbyImageSharpFixed
  228. }
  229. listing: fixed(width: 16) {
  230. ...GatsbyImageSharpFixed
  231. }
  232. icon: fixed(width: 32) {
  233. ...GatsbyImageSharpFixed
  234. }
  235. tile: fixed(width: 64) {
  236. ...GatsbyImageSharpFixed
  237. }
  238. thumb: fixed(width: 128) {
  239. ...GatsbyImageSharpFixed
  240. }
  241. mini: fixed(width: 200) {
  242. ...GatsbyImageSharpFixed
  243. }
  244. preview: fixed(width: 400) {
  245. ...GatsbyImageSharpFixed
  246. }
  247. large: fixed(width: 768) {
  248. ...GatsbyImageSharpFixed
  249. }
  250. }
  251. scales {
  252. listing {
  253. download
  254. }
  255. icon {
  256. download
  257. }
  258. tile {
  259. download
  260. }
  261. thumb {
  262. download
  263. }
  264. mini {
  265. download
  266. }
  267. preview {
  268. download
  269. }
  270. large {
  271. download
  272. }
  273. }
  274. }
  275. }
  276.  
  277. fragment Document on PloneDocument {
  278. _type
  279. title
  280. text {
  281. react
  282. }
  283. }
  284.  
  285. fragment GatsbyImageSharpFixed on ImageSharpFixed {
  286. base64
  287. width
  288. height
  289. src
  290. srcSet
  291. }
  292.  
  293.  
  294. success run page queries - 0.064 s — 4/4
  295. 84.46 queries/second
  296. ERROR Failed to compile with 1 errors 00:24:18
  297. error in ./src/pages/index.js
  298. Module Error (from ./node_modules/eslint-loader/index.js):
  299.  
  300. /Users/davi/work/plone/gatsby-starter-plone-brochure-davi/src/pages/index.js
  301. 210:24 error Unknown type "PloneDocument" graphql/template-strings
  302.  
  303. ✖ 1 problem (1 error, 0 warnings)
  304.  
  305.  
  306. @ ./.cache/sync-requires.js 2:425-512
  307. @ ./.cache/app.js
  308. @ multi ./node_modules/event-source-polyfill/src/eventsource.js (webpack)-hot-middleware/client.js?path=/__webpack_hmr&reload=true&overlay=false ./.cache/app
  309. ✖ 「wdm」:
  310. ERROR in ./src/pages/index.js
  311. Module Error (from ./node_modules/eslint-loader/index.js):
  312.  
  313. /Users/davi/work/plone/gatsby-starter-plone-brochure-davi/src/pages/index.js
  314. 210:24 error Unknown type "PloneDocument" graphql/template-strings
  315.  
  316. ✖ 1 problem (1 error, 0 warnings)
  317.  
  318. @ ./.cache/sync-requires.js 2:425-512
  319. @ ./.cache/app.js
  320. @ multi ./node_modules/event-source-polyfill/src/eventsource.js (webpack)-hot-middleware/client.js?path=/__webpack_hmr&reload=true&overlay=false ./.cache/app
  321. ℹ 「wdm」: Failed to compile.
  322. WAIT Compiling... 00:24:18
  323. ℹ 「wdm」: Compiling...
  324. ERROR Failed to compile with 1 errors 00:24:18
  325. error in ./src/pages/index.js
  326. Module Error (from ./node_modules/eslint-loader/index.js):
  327.  
  328. /Users/davi/work/plone/gatsby-starter-plone-brochure-davi/src/pages/index.js
  329. 210:24 error Unknown type "PloneDocument" graphql/template-strings
  330.  
  331. ✖ 1 problem (1 error, 0 warnings)
  332.  
  333.  
  334. @ ./.cache/sync-requires.js 2:425-512
  335. @ ./.cache/app.js
  336. @ multi ./node_modules/event-source-polyfill/src/eventsource.js (webpack)-hot-middleware/client.js?path=/__webpack_hmr&reload=true&overlay=false ./.cache/app
  337. ✖ 「wdm」:
  338. ERROR in ./src/pages/index.js
  339. Module Error (from ./node_modules/eslint-loader/index.js):
  340.  
  341. /Users/davi/work/plone/gatsby-starter-plone-brochure-davi/src/pages/index.js
  342. 210:24 error Unknown type "PloneDocument" graphql/template-strings
  343.  
  344. ✖ 1 problem (1 error, 0 warnings)
  345.  
  346. @ ./.cache/sync-requires.js 2:425-512
  347. @ ./.cache/app.js
  348. @ multi ./node_modules/event-source-polyfill/src/eventsource.js (webpack)-hot-middleware/client.js?path=/__webpack_hmr&reload=true&overlay=false ./.cache/app
  349. ℹ 「wdm」: Failed to compile.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement