Piotoru

type errors

Feb 9th, 2023
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.82 KB | None | 0 0
  1. [+] Building 10.4s (13/15)
  2. => [internal] load build definition from Dockerfile.prod 0.0s
  3. => => transferring dockerfile: 96B 0.0s
  4. => [internal] load .dockerignore 0.0s
  5. => => transferring context: 94B 0.0s
  6. => [internal] load metadata for docker.io/library/node:19.4.0-buster-slim 10.2s
  7. => [build 1/10] FROM docker.io/library/node:19.4.0-buster-slim@sha256:f9447046d79b15cc07dee763f4ac45880a899570dab0801fc9a9eb2efa52c091 0.0s
  8. => [internal] load build context 0.1s
  9. => => transferring context: 9.46kB 0.0s
  10. => CACHED [build 2/10] WORKDIR /usr/src/app 0.0s
  11. => CACHED [build 3/10] COPY package.json . 0.0s
  12. => CACHED [build 4/10] COPY yarn.lock . 0.0s
  13. => CACHED [build 5/10] RUN apt-get update -y && apt-get install openssl -y 0.0s
  14. => CACHED [build 6/10] RUN yarn add glob rimraf 0.0s
  15. => CACHED [build 7/10] RUN yarn install 0.0s
  16. => CACHED [build 8/10] RUN yarn generate 0.0s
  17. => CACHED [build 9/10] COPY . . 0.0s
  18. => ERROR [build 10/10] RUN yarn build 9.3s
  19. ------
  20. > [build 10/10] RUN yarn build:
  21. #0 0.740 yarn run v1.22.19
  22. #0 0.790 $ rimraf dist
  23. #0 0.962 $ nest build
  24. #0 7.417 DeprecationWarning: 'getMutableClone' has been deprecated since v4.0.0. Use an appropriate `factory.update...` method instead, use `setCommentRange` or `setSourceMapRange`, and avoid setting `parent`.
  25. #0 9.017 src/files/files.controller.ts:17:10 - error TS2305: Module '".prisma/client"' has no exported member 'Files'.
  26. #0 9.017
  27. #0 9.017 17 import { Files as FilesModel } from '.prisma/client';
  28. #0 9.017 ~~~~~
  29. #0 9.017 src/files/files.controller.ts:121:18 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'FilesUncheckedCreateInput'.
  30. #0 9.017
  31. #0 9.017 121 data: Prisma.FilesUncheckedCreateInput,
  32. #0 9.017 ~~~~~~~~~~~~~~~~~~~~~~~~~
  33. #0 9.017 src/files/files.service.ts:29:21 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'FilesWhereUniqueInput'.
  34. #0 9.017
  35. #0 9.017 29 cursor?: Prisma.FilesWhereUniqueInput;
  36. #0 9.017 ~~~~~~~~~~~~~~~~~~~~~
  37. #0 9.017 src/files/files.service.ts:30:20 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'FilesWhereInput'.
  38. #0 9.017
  39. #0 9.017 30 where?: Prisma.FilesWhereInput;
  40. #0 9.017 ~~~~~~~~~~~~~~~
  41. #0 9.017 src/files/files.service.ts:31:22 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'FilesOrderByWithRelationInput'.
  42. #0 9.017
  43. #0 9.017 31 orderBy?: Prisma.FilesOrderByWithRelationInput[];
  44. #0 9.017 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  45. #0 9.017 src/files/files.service.ts:56:18 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'FilesUncheckedCreateInput'.
  46. #0 9.017
  47. #0 9.017 56 data: Prisma.FilesUncheckedCreateInput,
  48. #0 9.017 ~~~~~~~~~~~~~~~~~~~~~~~~~
  49. #0 9.017 src/files/files.service.ts:156:19 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'FilesWhereUniqueInput'.
  50. #0 9.017
  51. #0 9.017 156 where: Prisma.FilesWhereUniqueInput,
  52. #0 9.017 ~~~~~~~~~~~~~~~~~~~~~
  53. #0 9.017 src/friends/friends.controller.ts:17:10 - error TS2305: Module '"@prisma/client"' has no exported member 'Friends'.
  54. #0 9.017
  55. #0 9.017 17 import { Friends, Prisma } from '@prisma/client';
  56. #0 9.017 ~~~~~~~
  57. #0 9.017 src/friends/friends.controller.ts:151:26 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'FriendsUncheckedCreateInput'.
  58. #0 9.017
  59. #0 9.017 151 @Body() data: Prisma.FriendsUncheckedCreateInput,
  60. #0 9.017 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  61. #0 9.017 src/friends/friends.controller.ts:161:18 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'FriendsUpdateInput'.
  62. #0 9.017
  63. #0 9.017 161 data: Prisma.FriendsUpdateInput,
  64. #0 9.017 ~~~~~~~~~~~~~~~~~~
  65. #0 9.017 src/friends/friends.service.ts:11:10 - error TS2305: Module '"@prisma/client"' has no exported member 'Friends'.
  66. #0 9.017
  67. #0 9.017 11 import { Friends, Prisma } from '@prisma/client';
  68. #0 9.017 ~~~~~~~
  69. #0 9.017 src/friends/friends.service.ts:23:36 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'FriendsWhereUniqueInput'.
  70. #0 9.017
  71. #0 9.017 23 friendWhereUniqueInput: Prisma.FriendsWhereUniqueInput,
  72. #0 9.017 ~~~~~~~~~~~~~~~~~~~~~~~
  73. #0 9.017 src/friends/friends.service.ts:47:21 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'FriendsWhereUniqueInput'.
  74. #0 9.017
  75. #0 9.017 47 cursor?: Prisma.FriendsWhereUniqueInput;
  76. #0 9.017 ~~~~~~~~~~~~~~~~~~~~~~~
  77. #0 9.017 src/friends/friends.service.ts:48:20 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'FriendsWhereInput'.
  78. #0 9.017
  79. #0 9.017 48 where?: Prisma.FriendsWhereInput;
  80. #0 9.017 ~~~~~~~~~~~~~~~~~
  81. #0 9.017 src/friends/friends.service.ts:49:22 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'FriendsOrderByWithRelationInput'.
  82. #0 9.017
  83. #0 9.017 49 orderBy?: Prisma.FriendsOrderByWithRelationInput;
  84. #0 9.017 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  85. #0 9.017 src/friends/friends.service.ts:75:18 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'FriendsUncheckedCreateInput'.
  86. #0 9.017
  87. #0 9.017 75 data: Prisma.FriendsUncheckedCreateInput,
  88. #0 9.017 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  89. #0 9.017 src/friends/friends.service.ts:96:19 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'FriendsWhereUniqueInput'.
  90. #0 9.017
  91. #0 9.017 96 where: Prisma.FriendsWhereUniqueInput;
  92. #0 9.017 ~~~~~~~~~~~~~~~~~~~~~~~
  93. #0 9.017 src/friends/friends.service.ts:97:18 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'FriendsUpdateInput'.
  94. #0 9.017
  95. #0 9.017 97 data: Prisma.FriendsUpdateInput;
  96. #0 9.017 ~~~~~~~~~~~~~~~~~~
  97. #0 9.017 src/friends/friends.service.ts:109:19 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'FriendsWhereUniqueInput'.
  98. #0 9.017
  99. #0 9.017 109 where: Prisma.FriendsWhereUniqueInput,
  100. #0 9.017 ~~~~~~~~~~~~~~~~~~~~~~~
  101. #0 9.017 src/groups/groups.controller.ts:18:10 - error TS2305: Module '"@prisma/client"' has no exported member 'Groups'.
  102. #0 9.017
  103. #0 9.017 18 import { Groups as GroupsModel, Prisma } from '@prisma/client';
  104. #0 9.017 ~~~~~~
  105. #0 9.017 src/groups/groups.controller.ts:133:31 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'GroupsCreateInput'.
  106. #0 9.017
  107. #0 9.017 133 @Body() groupData: Prisma.GroupsCreateInput,
  108. #0 9.017 ~~~~~~~~~~~~~~~~~
  109. #0 9.017 src/groups/groups.controller.ts:144:18 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'GroupsUpdateInput'.
  110. #0 9.017
  111. #0 9.017 144 data: Prisma.GroupsUpdateInput | Prisma.GroupsUncheckedUpdateInput,
  112. #0 9.017 ~~~~~~~~~~~~~~~~~
  113. #0 9.017 src/groups/groups.controller.ts:144:45 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'GroupsUncheckedUpdateInput'.
  114. #0 9.017
  115. #0 9.017 144 data: Prisma.GroupsUpdateInput | Prisma.GroupsUncheckedUpdateInput,
  116. #0 9.017 ~~~~~~~~~~~~~~~~~~~~~~~~~~
  117. #0 9.017 src/groups/groups.service.ts:9:10 - error TS2305: Module '"@prisma/client"' has no exported member 'Groups'.
  118. #0 9.017
  119. #0 9.017 9 import { Groups, Prisma } from '@prisma/client';
  120. #0 9.017 ~~~~~~
  121. #0 9.017 src/groups/groups.service.ts:23:35 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'GroupsWhereUniqueInput'.
  122. #0 9.017
  123. #0 9.017 23 groupWhereUniqueInput: Prisma.GroupsWhereUniqueInput,
  124. #0 9.017 ~~~~~~~~~~~~~~~~~~~~~~
  125. #0 9.017 src/groups/groups.service.ts:45:21 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'GroupsWhereUniqueInput'.
  126. #0 9.017
  127. #0 9.017 45 cursor?: Prisma.GroupsWhereUniqueInput;
  128. #0 9.017 ~~~~~~~~~~~~~~~~~~~~~~
  129. #0 9.017 src/groups/groups.service.ts:46:20 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'GroupsWhereInput'.
  130. #0 9.017
  131. #0 9.017 46 where?: Prisma.GroupsWhereInput;
  132. #0 9.017 ~~~~~~~~~~~~~~~~
  133. #0 9.017 src/groups/groups.service.ts:47:22 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'GroupsOrderByWithRelationInput'.
  134. #0 9.017
  135. #0 9.017 47 orderBy?: Prisma.GroupsOrderByWithRelationInput;
  136. #0 9.017 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  137. #0 9.017 src/groups/groups.service.ts:75:18 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'GroupsCreateInput'.
  138. #0 9.017
  139. #0 9.017 75 data: Prisma.GroupsCreateInput,
  140. #0 9.017 ~~~~~~~~~~~~~~~~~
  141. #0 9.017 src/groups/groups.service.ts:88:19 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'GroupsWhereUniqueInput'.
  142. #0 9.017
  143. #0 9.017 88 where: Prisma.GroupsWhereUniqueInput;
  144. #0 9.017 ~~~~~~~~~~~~~~~~~~~~~~
  145. #0 9.017 src/groups/groups.service.ts:89:18 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'GroupsUpdateInput'.
  146. #0 9.017
  147. #0 9.017 89 data: Prisma.GroupsUpdateInput;
  148. #0 9.017 ~~~~~~~~~~~~~~~~~
  149. #0 9.017 src/groups/groups.service.ts:96:19 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'GroupsWhereUniqueInput'.
  150. #0 9.017
  151. #0 9.017 96 where: Prisma.GroupsWhereUniqueInput,
  152. #0 9.017 ~~~~~~~~~~~~~~~~~~~~~~
  153. #0 9.017 src/users/users.controller.ts:143:30 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'UsersCreateInput'.
  154. #0 9.017
  155. #0 9.017 143 @Body() userData: Prisma.UsersCreateInput,
  156. #0 9.017 ~~~~~~~~~~~~~~~~
  157. #0 9.017 src/users/users.controller.ts:155:18 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'UsersUpdateInput'.
  158. #0 9.017
  159. #0 9.017 155 data: Prisma.UsersUpdateInput | Prisma.UsersUncheckedUpdateInput,
  160. #0 9.017 ~~~~~~~~~~~~~~~~
  161. #0 9.017 src/users/users.controller.ts:155:44 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'UsersUncheckedUpdateInput'.
  162. #0 9.017
  163. #0 9.017 155 data: Prisma.UsersUpdateInput | Prisma.UsersUncheckedUpdateInput,
  164. #0 9.017 ~~~~~~~~~~~~~~~~~~~~~~~~~
  165. #0 9.017 src/users/users.service.ts:10:18 - error TS2305: Module '"@prisma/client"' has no exported member 'Users'.
  166. #0 9.017
  167. #0 9.017 10 import { Prisma, Users } from '@prisma/client';
  168. #0 9.017 ~~~~~
  169. #0 9.017 src/users/users.service.ts:38:34 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'UsersWhereUniqueInput'.
  170. #0 9.017
  171. #0 9.017 38 userWhereUniqueInput: Prisma.UsersWhereUniqueInput,
  172. #0 9.017 ~~~~~~~~~~~~~~~~~~~~~
  173. #0 9.017 src/users/users.service.ts:63:21 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'UsersWhereUniqueInput'.
  174. #0 9.017
  175. #0 9.017 63 cursor?: Prisma.UsersWhereUniqueInput;
  176. #0 9.017 ~~~~~~~~~~~~~~~~~~~~~
  177. #0 9.017 src/users/users.service.ts:64:20 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'UsersWhereInput'.
  178. #0 9.017
  179. #0 9.017 64 where?: Prisma.UsersWhereInput;
  180. #0 9.017 ~~~~~~~~~~~~~~~
  181. #0 9.017 src/users/users.service.ts:65:22 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'UsersOrderByWithRelationInput'.
  182. #0 9.017
  183. #0 9.017 65 orderBy?: Prisma.UsersOrderByWithRelationInput[];
  184. #0 9.017 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  185. #0 9.017 src/users/users.service.ts:93:18 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'UsersCreateInput'.
  186. #0 9.017
  187. #0 9.017 93 data: Prisma.UsersCreateInput,
  188. #0 9.017 ~~~~~~~~~~~~~~~~
  189. #0 9.017 src/users/users.service.ts:106:19 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'UsersWhereUniqueInput'.
  190. #0 9.017
  191. #0 9.017 106 where: Prisma.UsersWhereUniqueInput;
  192. #0 9.017 ~~~~~~~~~~~~~~~~~~~~~
  193. #0 9.017 src/users/users.service.ts:107:18 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'UsersUpdateInput'.
  194. #0 9.017
  195. #0 9.017 107 data: Prisma.UsersUpdateInput;
  196. #0 9.017 ~~~~~~~~~~~~~~~~
  197. #0 9.017 src/users/users.service.ts:114:19 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'UsersWhereUniqueInput'.
  198. #0 9.017
  199. #0 9.017 114 where: Prisma.UsersWhereUniqueInput,
  200. #0 9.017 ~~~~~~~~~~~~~~~~~~~~~
  201. #0 9.017 src/utilities/convertValues.ts:14:25 - error TS2694: Namespace '"/usr/src/app/node_modules/.prisma/client/index".Prisma' has no exported member 'UsersOrderByWithRelationInput'.
  202. #0 9.017
  203. #0 9.017 14 const obj: Prisma.UsersOrderByWithRelationInput = await JSON.parse(data);
  204. #0 9.017 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  205. #0 9.017
  206. #0 9.017 Found 45 error(s).
  207. #0 9.017
  208. #0 9.223 error Command failed with exit code 1.
  209. #0 9.224 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
  210. ------
  211. failed to solve: executor failed running [/bin/sh -c yarn build]: exit code: 1
  212.  
Advertisement
Add Comment
Please, Sign In to add comment