Advertisement
Benjdinh

Untitled

Aug 5th, 2022
524
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 61.34 KB | None | 0 0
  1. vietdinh@Viets-MacBook-Air app % npm i
  2.  
  3. up to date, audited 1121 packages in 981ms
  4.  
  5. 74 packages are looking for funding
  6. run `npm fund` for details
  7.  
  8. found 0 vulnerabilities
  9. vietdinh@Viets-MacBook-Air app % npm run build
  10.  
  11. > vite build
  12.  
  13. vite v3.0.4 building for production...
  14. ✓ 514 modules transformed.
  15. .svelte-kit/output/client/manifest.json 2.65 KiB
  16. .svelte-kit/output/client/_app/immutable/pages/__layout.svelte-20a38339.js 0.54 KiB / gzip: 0.35 KiB
  17. .svelte-kit/output/client/_app/immutable/error.svelte-dcc5cc60.js 1.56 KiB / gzip: 0.74 KiB
  18. .svelte-kit/output/client/_app/immutable/chunks/preload-helper-f065b6a8.js 1.11 KiB / gzip: 0.65 KiB
  19. .svelte-kit/output/client/_app/immutable/chunks/singletons-eca981c1.js 0.05 KiB / gzip: 0.07 KiB
  20. .svelte-kit/output/client/_app/immutable/chunks/index-2ebded6d.js 8.37 KiB / gzip: 3.33 KiB
  21. .svelte-kit/output/client/_app/immutable/start-8943af82.js 23.84 KiB / gzip: 8.84 KiB
  22. .svelte-kit/output/client/_app/immutable/assets/__layout-11cc8236.css 0.14 KiB / gzip: 0.11 KiB
  23. .svelte-kit/output/client/_app/immutable/assets/index-22d642b4.css 3.49 KiB / gzip: 1.18 KiB
  24. .svelte-kit/output/client/_app/immutable/chunks/index.esm-44514a95.js 37.87 KiB / gzip: 8.77 KiB
  25. .svelte-kit/output/client/_app/immutable/pages/index.svelte-2fc59402.js 119.97 KiB / gzip: 36.78 KiB
  26. .svelte-kit/output/client/_app/immutable/pages/auth/index.svelte-1a75b1cd.js 225.16 KiB / gzip: 54.21 KiB
  27. vite v3.0.4 building SSR bundle for production...
  28. transforming (1) .svelte-kit/runtime/components/error.svelte.svelte-kit/output/client/_app/immutable/chunks/index.browser.esm-8f2d756a.js 421.54 KiB / gzip: 132.23 KiB
  29. ✓ 315 modules transformed.
  30. .svelte-kit/output/server/manifest.json 2.21 KiB
  31. .svelte-kit/output/server/index.js 77.78 KiB
  32. .svelte-kit/output/server/entries/endpoints/api/me.ts.js 1.41 KiB
  33. .svelte-kit/output/server/entries/pages/__layout.svelte.js 0.51 KiB
  34. .svelte-kit/output/server/entries/fallbacks/error.svelte.js 0.74 KiB
  35. .svelte-kit/output/server/entries/pages/auth/index.svelte.js 41.28 KiB
  36. .svelte-kit/output/server/entries/pages/index.svelte.js 0.75 KiB
  37. .svelte-kit/output/server/entries/matchers/int.js 0.07 KiB
  38. .svelte-kit/output/server/entries/matchers/number.js 0.08 KiB
  39. .svelte-kit/output/server/entries/matchers/sol.js 0.18 KiB
  40. .svelte-kit/output/server/_app/immutable/chunks/index-185560b9.js 7.31 KiB
  41. .svelte-kit/output/server/_app/immutable/chunks/bootstrap-137a9c7c.js 0.50 KiB
  42. .svelte-kit/output/server/_app/immutable/chunks/route-d36cf9b8.js 0.27 KiB
  43. .svelte-kit/output/server/_app/immutable/chunks/hooks-1f152c9d.js 1.45 KiB
  44. 1 GET -> / ?
  45. 1 GET <- / ? 204
  46. 2 GET -> /auth ?
  47. 2 GET <- /auth ? 204
  48. 3 GET -> /[fallback] ?
  49. 3 GET <- /[fallback] ? 200
  50.  
  51. Run npm run preview to preview your production build locally.
  52.  
  53. > Using @sveltejs/adapter-cloudflare
  54. ✘ [ERROR] Could not resolve "stream"
  55.  
  56. node_modules/@google-cloud/firestore/build/src/index.js:19:25:
  57. 19 │ const stream_1 = require("stream");
  58. ╵ ~~~~~~~~
  59.  
  60. The package "stream" wasn't found on the file system but is built into node.
  61. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  62. which will remove this error.
  63.  
  64. ✘ [ERROR] Could not resolve "url"
  65.  
  66. node_modules/@google-cloud/firestore/build/src/index.js:20:22:
  67. 20 │ const url_1 = require("url");
  68. ╵ ~~~~~
  69.  
  70. The package "url" wasn't found on the file system but is built into node. Are
  71. you trying to bundle for node? You can use "platform: 'node'" to do that,
  72. which will remove this error.
  73.  
  74. ✘ [ERROR] Could not resolve "url"
  75.  
  76. node_modules/firebase-admin/lib/utils/validator.js:21:20:
  77. 21 │ const url = require("url");
  78. ╵ ~~~~~
  79.  
  80. The package "url" wasn't found on the file system but is built into node. Are
  81. you trying to bundle for node? You can use "platform: 'node'" to do that,
  82. which will remove this error.
  83.  
  84. ✘ [ERROR] Could not resolve "fs"
  85.  
  86. node_modules/firebase-admin/lib/app/credential-internal.js:21:19:
  87. 21 │ const fs = require("fs");
  88. ╵ ~~~~
  89.  
  90. The package "fs" wasn't found on the file system but is built into node. Are
  91. you trying to bundle for node? You can use "platform: 'node'" to do that,
  92. which will remove this error.
  93.  
  94. ✘ [ERROR] Could not resolve "os"
  95.  
  96. node_modules/firebase-admin/lib/app/credential-internal.js:22:19:
  97. 22 │ const os = require("os");
  98. ╵ ~~~~
  99.  
  100. The package "os" wasn't found on the file system but is built into node. Are
  101. you trying to bundle for node? You can use "platform: 'node'" to do that,
  102. which will remove this error.
  103.  
  104. ✘ [ERROR] Could not resolve "path"
  105.  
  106. node_modules/firebase-admin/lib/app/credential-internal.js:23:21:
  107. 23 │ const path = require("path");
  108. ╵ ~~~~~~
  109.  
  110. The package "path" wasn't found on the file system but is built into node. Are
  111. you trying to bundle for node? You can use "platform: 'node'" to do that,
  112. which will remove this error.
  113.  
  114. ✘ [ERROR] Could not resolve "assert"
  115.  
  116. node_modules/@google-cloud/firestore/build/src/bulk-writer.js:4:23:
  117. 4 │ const assert = require("assert");
  118. ╵ ~~~~~~~~
  119.  
  120. The package "assert" wasn't found on the file system but is built into node.
  121. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  122. which will remove this error.
  123.  
  124. ✘ [ERROR] Could not resolve "http"
  125.  
  126. node_modules/firebase-admin/lib/utils/api-request.js:23:21:
  127. 23 │ const http = require("http");
  128. ╵ ~~~~~~
  129.  
  130. The package "http" wasn't found on the file system but is built into node. Are
  131. you trying to bundle for node? You can use "platform: 'node'" to do that,
  132. which will remove this error.
  133.  
  134. ✘ [ERROR] Could not resolve "https"
  135.  
  136. node_modules/firebase-admin/lib/utils/api-request.js:24:22:
  137. 24 │ const https = require("https");
  138. ╵ ~~~~~~~
  139.  
  140. The package "https" wasn't found on the file system but is built into node.
  141. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  142. which will remove this error.
  143.  
  144. ✘ [ERROR] Could not resolve "url"
  145.  
  146. node_modules/firebase-admin/lib/utils/api-request.js:25:20:
  147. 25 │ const url = require("url");
  148. ╵ ~~~~~
  149.  
  150. The package "url" wasn't found on the file system but is built into node. Are
  151. you trying to bundle for node? You can use "platform: 'node'" to do that,
  152. which will remove this error.
  153.  
  154. ✘ [ERROR] Could not resolve "events"
  155.  
  156. node_modules/firebase-admin/lib/utils/api-request.js:26:25:
  157. 26 │ const events_1 = require("events");
  158. ╵ ~~~~~~~~
  159.  
  160. The package "events" wasn't found on the file system but is built into node.
  161. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  162. which will remove this error.
  163.  
  164. ✘ [ERROR] Could not resolve "zlib"
  165.  
  166. node_modules/firebase-admin/lib/utils/api-request.js:413:33:
  167. 413 │ ... const zlib = require('zlib'); // eslint-disable-line @t...
  168. ╵ ~~~~~~
  169.  
  170. The package "zlib" wasn't found on the file system but is built into node. Are
  171. you trying to bundle for node? You can use "platform: 'node'" to do that,
  172. which will remove this error.
  173.  
  174. ✘ [ERROR] Could not resolve "stream"
  175.  
  176. node_modules/@fastify/busboy/lib/main.js:1:31:
  177. 1 │ const WritableStream = require('stream').Writable
  178. ╵ ~~~~~~~~
  179.  
  180. The package "stream" wasn't found on the file system but is built into node.
  181. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  182. which will remove this error.
  183.  
  184. ✘ [ERROR] Could not resolve "util"
  185.  
  186. node_modules/@fastify/busboy/lib/main.js:2:29:
  187. 2 │ const { inherits } = require('util')
  188. ╵ ~~~~~~
  189.  
  190. The package "util" wasn't found on the file system but is built into node. Are
  191. you trying to bundle for node? You can use "platform: 'node'" to do that,
  192. which will remove this error.
  193.  
  194. ✘ [ERROR] Could not resolve "stream"
  195.  
  196. node_modules/@google-cloud/firestore/build/src/reference.js:19:25:
  197. 19 │ const stream_1 = require("stream");
  198. ╵ ~~~~~~~~
  199.  
  200. The package "stream" wasn't found on the file system but is built into node.
  201. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  202. which will remove this error.
  203.  
  204. ✘ [ERROR] Could not resolve "stream"
  205.  
  206. node_modules/@fastify/busboy/deps/dicer/lib/Dicer.js:1:31:
  207. 1 │ const WritableStream = require('stream').Writable
  208. ╵ ~~~~~~~~
  209.  
  210. The package "stream" wasn't found on the file system but is built into node.
  211. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  212. which will remove this error.
  213.  
  214. ✘ [ERROR] Could not resolve "util"
  215.  
  216. node_modules/@fastify/busboy/deps/dicer/lib/Dicer.js:2:25:
  217. 2 │ const inherits = require('util').inherits
  218. ╵ ~~~~~~
  219.  
  220. The package "util" wasn't found on the file system but is built into node. Are
  221. you trying to bundle for node? You can use "platform: 'node'" to do that,
  222. which will remove this error.
  223.  
  224. ✘ [ERROR] Could not resolve "events"
  225.  
  226. node_modules/@fastify/busboy/deps/dicer/lib/HeaderParser.js:1:29:
  227. 1 │ const EventEmitter = require('events').EventEmitter
  228. ╵ ~~~~~~~~
  229.  
  230. The package "events" wasn't found on the file system but is built into node.
  231. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  232. which will remove this error.
  233.  
  234. ✘ [ERROR] Could not resolve "util"
  235.  
  236. node_modules/@fastify/busboy/deps/dicer/lib/HeaderParser.js:2:25:
  237. 2 │ const inherits = require('util').inherits
  238. ╵ ~~~~~~
  239.  
  240. The package "util" wasn't found on the file system but is built into node. Are
  241. you trying to bundle for node? You can use "platform: 'node'" to do that,
  242. which will remove this error.
  243.  
  244. ✘ [ERROR] Could not resolve "url"
  245.  
  246. node_modules/@google-cloud/firestore/build/src/validate.js:19:22:
  247. 19 │ const url_1 = require("url");
  248. ╵ ~~~~~
  249.  
  250. The package "url" wasn't found on the file system but is built into node. Are
  251. you trying to bundle for node? You can use "platform: 'node'" to do that,
  252. which will remove this error.
  253.  
  254. ✘ [ERROR] Could not resolve "stream"
  255.  
  256. node_modules/@fastify/busboy/lib/types/multipart.js:8:31:
  257. 8 │ const ReadableStream = require('stream').Readable
  258. ╵ ~~~~~~~~
  259.  
  260. The package "stream" wasn't found on the file system but is built into node.
  261. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  262. which will remove this error.
  263.  
  264. ✘ [ERROR] Could not resolve "util"
  265.  
  266. node_modules/@fastify/busboy/lib/types/multipart.js:9:25:
  267. 9 │ const inherits = require('util').inherits
  268. ╵ ~~~~~~
  269.  
  270. The package "util" wasn't found on the file system but is built into node. Are
  271. you trying to bundle for node? You can use "platform: 'node'" to do that,
  272. which will remove this error.
  273.  
  274. ✘ [ERROR] Could not resolve "crypto"
  275.  
  276. node_modules/@google-cloud/firestore/build/src/util.js:19:25:
  277. 19 │ const crypto_1 = require("crypto");
  278. ╵ ~~~~~~~~
  279.  
  280. The package "crypto" wasn't found on the file system but is built into node.
  281. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  282. which will remove this error.
  283.  
  284. ✘ [ERROR] Could not resolve "fs"
  285.  
  286. node_modules/firebase-admin/lib/app/lifecycle.js:21:19:
  287. 21 │ const fs = require("fs");
  288. ╵ ~~~~
  289.  
  290. The package "fs" wasn't found on the file system but is built into node. Are
  291. you trying to bundle for node? You can use "platform: 'node'" to do that,
  292. which will remove this error.
  293.  
  294. ✘ [ERROR] Could not resolve "util"
  295.  
  296. node_modules/@google-cloud/firestore/build/src/logger.js:19:21:
  297. 19 │ const util = require("util");
  298. │ ~~~~~~
  299. ╵ "./util"
  300.  
  301. The package "util" wasn't found on the file system but is built into node. Are
  302. you trying to bundle for node? You can use "platform: 'node'" to do that,
  303. which will remove this error.
  304.  
  305. ✘ [ERROR] Could not resolve "util"
  306.  
  307. node_modules/@fastify/busboy/lib/utils.js:1:32:
  308. 1 │ const { TextDecoder } = require('util')
  309. ╵ ~~~~~~
  310.  
  311. The package "util" wasn't found on the file system but is built into node. Are
  312. you trying to bundle for node? You can use "platform: 'node'" to do that,
  313. which will remove this error.
  314.  
  315. ✘ [ERROR] Could not resolve "assert"
  316.  
  317. node_modules/@google-cloud/firestore/build/src/watch.js:19:23:
  318. 19 │ const assert = require("assert");
  319. ╵ ~~~~~~~~
  320.  
  321. The package "assert" wasn't found on the file system but is built into node.
  322. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  323. which will remove this error.
  324.  
  325. ✘ [ERROR] Could not resolve "assert"
  326.  
  327. node_modules/@google-cloud/firestore/build/src/recursive-delete.js:4:23:
  328. 4 │ const assert = require("assert");
  329. ╵ ~~~~~~~~
  330.  
  331. The package "assert" wasn't found on the file system but is built into node.
  332. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  333. which will remove this error.
  334.  
  335. ✘ [ERROR] Could not resolve "crypto"
  336.  
  337. node_modules/firebase-admin/lib/utils/crypto-signer.js:49:31:
  338. 49 │ const crypto = require('crypto'); // eslint-disable-line @...
  339. ╵ ~~~~~~~~
  340.  
  341. The package "crypto" wasn't found on the file system but is built into node.
  342. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  343. which will remove this error.
  344.  
  345. ✘ [ERROR] Could not resolve "util"
  346.  
  347. node_modules/@fastify/busboy/deps/dicer/lib/PartStream.js:1:25:
  348. 1 │ const inherits = require('util').inherits
  349. ╵ ~~~~~~
  350.  
  351. The package "util" wasn't found on the file system but is built into node. Are
  352. you trying to bundle for node? You can use "platform: 'node'" to do that,
  353. which will remove this error.
  354.  
  355. ✘ [ERROR] Could not resolve "assert"
  356.  
  357. node_modules/@google-cloud/firestore/build/src/pool.js:19:23:
  358. 19 │ const assert = require("assert");
  359. ╵ ~~~~~~~~
  360.  
  361. The package "assert" wasn't found on the file system but is built into node.
  362. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  363. which will remove this error.
  364.  
  365. ✘ [ERROR] Could not resolve "events"
  366.  
  367. node_modules/@fastify/busboy/deps/streamsearch/sbmh.js:27:29:
  368. 27 │ const EventEmitter = require('events').EventEmitter
  369. ╵ ~~~~~~~~
  370.  
  371. The package "events" wasn't found on the file system but is built into node.
  372. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  373. which will remove this error.
  374.  
  375. ✘ [ERROR] Could not resolve "assert"
  376.  
  377. node_modules/@google-cloud/firestore/build/src/rate-limiter.js:19:23:
  378. 19 │ const assert = require("assert");
  379. ╵ ~~~~~~~~
  380.  
  381. The package "assert" wasn't found on the file system but is built into node.
  382. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  383. which will remove this error.
  384.  
  385. ✘ [ERROR] Could not resolve "stream"
  386.  
  387. node_modules/jsonwebtoken/node_modules/jws/lib/verify-stream.js:5:21:
  388. 5 │ var Stream = require('stream');
  389. ╵ ~~~~~~~~
  390.  
  391. The package "stream" wasn't found on the file system but is built into node.
  392. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  393. which will remove this error.
  394.  
  395. ✘ [ERROR] Could not resolve "util"
  396.  
  397. node_modules/jsonwebtoken/node_modules/jws/lib/verify-stream.js:7:19:
  398. 7 │ var util = require('util');
  399. ╵ ~~~~~~
  400.  
  401. The package "util" wasn't found on the file system but is built into node. Are
  402. you trying to bundle for node? You can use "platform: 'node'" to do that,
  403. which will remove this error.
  404.  
  405. ✘ [ERROR] Could not resolve "stream"
  406.  
  407. node_modules/@fastify/busboy/deps/dicer/lib/PartStream.js:2:31:
  408. 2 │ const ReadableStream = require('stream').Readable
  409. ╵ ~~~~~~~~
  410.  
  411. The package "stream" wasn't found on the file system but is built into node.
  412. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  413. which will remove this error.
  414.  
  415. ✘ [ERROR] Could not resolve "assert"
  416.  
  417. node_modules/@google-cloud/firestore/build/src/document.js:20:23:
  418. 20 │ const assert = require("assert");
  419. ╵ ~~~~~~~~
  420.  
  421. The package "assert" wasn't found on the file system but is built into node.
  422. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  423. which will remove this error.
  424.  
  425. ✘ [ERROR] Could not resolve "util"
  426.  
  427. node_modules/@fastify/busboy/deps/streamsearch/sbmh.js:28:25:
  428. 28 │ const inherits = require('util').inherits
  429. ╵ ~~~~~~
  430.  
  431. The package "util" wasn't found on the file system but is built into node. Are
  432. you trying to bundle for node? You can use "platform: 'node'" to do that,
  433. which will remove this error.
  434.  
  435. ✘ [ERROR] Could not resolve "crypto"
  436.  
  437. node_modules/jsonwebtoken/node_modules/jwa/index.js:3:21:
  438. 3 │ var crypto = require('crypto');
  439. ╵ ~~~~~~~~
  440.  
  441. The package "crypto" wasn't found on the file system but is built into node.
  442. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  443. which will remove this error.
  444.  
  445. ✘ [ERROR] Could not resolve "util"
  446.  
  447. node_modules/jsonwebtoken/node_modules/jwa/index.js:5:19:
  448. 5 │ var util = require('util');
  449. ╵ ~~~~~~
  450.  
  451. The package "util" wasn't found on the file system but is built into node. Are
  452. you trying to bundle for node? You can use "platform: 'node'" to do that,
  453. which will remove this error.
  454.  
  455. ✘ [ERROR] Could not resolve "stream"
  456.  
  457. node_modules/jsonwebtoken/node_modules/jws/lib/data-stream.js:3:21:
  458. 3 │ var Stream = require('stream');
  459. ╵ ~~~~~~~~
  460.  
  461. The package "stream" wasn't found on the file system but is built into node.
  462. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  463. which will remove this error.
  464.  
  465. ✘ [ERROR] Could not resolve "stream"
  466.  
  467. node_modules/jsonwebtoken/node_modules/jws/lib/sign-stream.js:5:21:
  468. 5 │ var Stream = require('stream');
  469. ╵ ~~~~~~~~
  470.  
  471. The package "stream" wasn't found on the file system but is built into node.
  472. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  473. which will remove this error.
  474.  
  475. ✘ [ERROR] Could not resolve "util"
  476.  
  477. node_modules/jsonwebtoken/node_modules/jws/lib/sign-stream.js:7:19:
  478. 7 │ var util = require('util');
  479. ╵ ~~~~~~
  480.  
  481. The package "util" wasn't found on the file system but is built into node. Are
  482. you trying to bundle for node? You can use "platform: 'node'" to do that,
  483. which will remove this error.
  484.  
  485. ✘ [ERROR] Could not resolve "querystring"
  486.  
  487. node_modules/google-gax/build/src/routingHeader.js:19:28:
  488. 19 │ const querystring = require("querystring");
  489. ╵ ~~~~~~~~~~~~~
  490.  
  491. The package "querystring" wasn't found on the file system but is built into
  492. node. Are you trying to bundle for node? You can use "platform: 'node'" to do
  493. that, which will remove this error.
  494.  
  495. ✘ [ERROR] Could not resolve "util"
  496.  
  497. node_modules/jsonwebtoken/node_modules/jws/lib/data-stream.js:4:19:
  498. 4 │ var util = require('util');
  499. ╵ ~~~~~~
  500.  
  501. The package "util" wasn't found on the file system but is built into node. Are
  502. you trying to bundle for node? You can use "platform: 'node'" to do that,
  503. which will remove this error.
  504.  
  505. ✘ [ERROR] Could not resolve "util"
  506.  
  507. node_modules/google-gax/build/src/fallbackRest.js:30:29:
  508. 30 │ const util = require('util');
  509. │ ~~~~~~
  510. ╵ "./util"
  511.  
  512. The package "util" wasn't found on the file system but is built into node. Are
  513. you trying to bundle for node? You can use "platform: 'node'" to do that,
  514. which will remove this error.
  515.  
  516. ✘ [ERROR] Could not resolve "stream"
  517.  
  518. node_modules/google-gax/build/src/fallbackServiceStub.js:25:25:
  519. 25 │ const stream_1 = require("stream");
  520. ╵ ~~~~~~~~
  521.  
  522. The package "stream" wasn't found on the file system but is built into node.
  523. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  524. which will remove this error.
  525.  
  526. ✘ [ERROR] Could not resolve "stream"
  527.  
  528. node_modules/google-gax/node_modules/retry-request/index.js:3:30:
  529. 3 │ var { PassThrough } = require('stream');
  530. ╵ ~~~~~~~~
  531.  
  532. The package "stream" wasn't found on the file system but is built into node.
  533. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  534. which will remove this error.
  535.  
  536. ✘ [ERROR] Could not resolve "stream"
  537.  
  538. node_modules/google-gax/build/src/streamArrayParser.js:20:25:
  539. 20 │ const stream_1 = require("stream");
  540. ╵ ~~~~~~~~
  541.  
  542. The package "stream" wasn't found on the file system but is built into node.
  543. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  544. which will remove this error.
  545.  
  546. ✘ [ERROR] Could not resolve "stream"
  547.  
  548. node_modules/google-gax/build/src/paginationCalls/pageDescriptor.js:20:25:
  549. 20 │ const stream_1 = require("stream");
  550. ╵ ~~~~~~~~
  551.  
  552. The package "stream" wasn't found on the file system but is built into node.
  553. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  554. which will remove this error.
  555.  
  556. ✘ [ERROR] Could not resolve "fs"
  557.  
  558. node_modules/google-gax/node_modules/google-auth-library/build/src/auth/identitypoolclient.js:18:19:
  559. 18 │ const fs = require("fs");
  560. ╵ ~~~~
  561.  
  562. The package "fs" wasn't found on the file system but is built into node. Are
  563. you trying to bundle for node? You can use "platform: 'node'" to do that,
  564. which will remove this error.
  565.  
  566. ✘ [ERROR] Could not resolve "util"
  567.  
  568. node_modules/google-gax/node_modules/google-auth-library/build/src/auth/identitypoolclient.js:19:23:
  569. 19 │ const util_1 = require("util");
  570. ╵ ~~~~~~
  571.  
  572. The package "util" wasn't found on the file system but is built into node. Are
  573. you trying to bundle for node? You can use "platform: 'node'" to do that,
  574. which will remove this error.
  575.  
  576. ✘ [ERROR] Could not resolve "zlib"
  577.  
  578. node_modules/jose/lib/jwe/decrypt.js:1:35:
  579. 1 │ const { inflateRawSync } = require('zlib')
  580. ╵ ~~~~~~
  581.  
  582. The package "zlib" wasn't found on the file system but is built into node. Are
  583. you trying to bundle for node? You can use "platform: 'node'" to do that,
  584. which will remove this error.
  585.  
  586. ✘ [ERROR] Could not resolve "zlib"
  587.  
  588. node_modules/jose/lib/jwe/encrypt.js:1:35:
  589. 1 │ const { deflateRawSync } = require('zlib')
  590. ╵ ~~~~~~
  591.  
  592. The package "zlib" wasn't found on the file system but is built into node. Are
  593. you trying to bundle for node? You can use "platform: 'node'" to do that,
  594. which will remove this error.
  595.  
  596. ✘ [ERROR] Could not resolve "events"
  597.  
  598. node_modules/google-gax/node_modules/google-auth-library/build/src/auth/authclient.js:17:25:
  599. 17 │ const events_1 = require("events");
  600. ╵ ~~~~~~~~
  601.  
  602. The package "events" wasn't found on the file system but is built into node.
  603. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  604. which will remove this error.
  605.  
  606. ✘ [ERROR] Could not resolve "querystring"
  607.  
  608. node_modules/google-gax/node_modules/google-auth-library/build/src/auth/oauth2client.js:17:28:
  609. 17 │ const querystring = require("querystring");
  610. ╵ ~~~~~~~~~~~~~
  611.  
  612. The package "querystring" wasn't found on the file system but is built into
  613. node. Are you trying to bundle for node? You can use "platform: 'node'" to do
  614. that, which will remove this error.
  615.  
  616. ✘ [ERROR] Could not resolve "stream"
  617.  
  618. node_modules/google-gax/node_modules/google-auth-library/build/src/auth/oauth2client.js:18:23:
  619. 18 │ const stream = require("stream");
  620. ╵ ~~~~~~~~
  621.  
  622. The package "stream" wasn't found on the file system but is built into node.
  623. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  624. which will remove this error.
  625.  
  626. ✘ [ERROR] Could not resolve "stream"
  627.  
  628. node_modules/google-gax/node_modules/google-auth-library/build/src/auth/downscopedclient.js:17:23:
  629. 17 │ const stream = require("stream");
  630. ╵ ~~~~~~~~
  631.  
  632. The package "stream" wasn't found on the file system but is built into node.
  633. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  634. which will remove this error.
  635.  
  636. ✘ [ERROR] Could not resolve "crypto"
  637.  
  638. node_modules/jose/lib/help/generate_iv.js:1:32:
  639. 1 │ const { randomBytes } = require('crypto')
  640. ╵ ~~~~~~~~
  641.  
  642. The package "crypto" wasn't found on the file system but is built into node.
  643. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  644. which will remove this error.
  645.  
  646. ✘ [ERROR] Could not resolve "querystring"
  647.  
  648. node_modules/google-gax/node_modules/google-auth-library/build/src/auth/stscredentials.js:17:28:
  649. 17 │ const querystring = require("querystring");
  650. ╵ ~~~~~~~~~~~~~
  651.  
  652. The package "querystring" wasn't found on the file system but is built into
  653. node. Are you trying to bundle for node? You can use "platform: 'node'" to do
  654. that, which will remove this error.
  655.  
  656. ✘ [ERROR] Could not resolve "crypto"
  657.  
  658. node_modules/google-gax/node_modules/google-auth-library/build/src/crypto/node/crypto.js:17:23:
  659. 17 │ const crypto = require("crypto");
  660. │ ~~~~~~~~
  661. ╵ "./crypto"
  662.  
  663. The package "crypto" wasn't found on the file system but is built into node.
  664. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  665. which will remove this error.
  666.  
  667. ✘ [ERROR] Could not resolve "crypto"
  668.  
  669. node_modules/jose/lib/help/key_object.js:10:79:
  670. 10 │ ...reatePrivateKey, createSecretKey, KeyObject } = require('crypto'))
  671. ╵ ~~~~~~~~
  672.  
  673. The package "crypto" wasn't found on the file system but is built into node.
  674. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  675. which will remove this error.
  676.  
  677. ✘ [ERROR] Could not resolve "assert"
  678.  
  679. node_modules/jose/lib/jwk/key/base.js:1:35:
  680. 1 │ const { strict: assert } = require('assert')
  681. ╵ ~~~~~~~~
  682.  
  683. The package "assert" wasn't found on the file system but is built into node.
  684. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  685. which will remove this error.
  686.  
  687. ✘ [ERROR] Could not resolve "util"
  688.  
  689. node_modules/jose/lib/jwk/key/base.js:2:28:
  690. 2 │ const { inspect } = require('util')
  691. ╵ ~~~~~~
  692.  
  693. The package "util" wasn't found on the file system but is built into node. Are
  694. you trying to bundle for node? You can use "platform: 'node'" to do that,
  695. which will remove this error.
  696.  
  697. ✘ [ERROR] Could not resolve "os"
  698.  
  699. node_modules/jose/lib/help/key_object.js:13:26:
  700. 13 │ const { EOL } = require('os')
  701. ╵ ~~~~
  702.  
  703. The package "os" wasn't found on the file system but is built into node. Are
  704. you trying to bundle for node? You can use "platform: 'node'" to do that,
  705. which will remove this error.
  706.  
  707. ✘ [ERROR] Could not resolve "os"
  708.  
  709. node_modules/jose/lib/jwk/key/base.js:3:24:
  710. 3 │ const { EOL } = require('os')
  711. ╵ ~~~~
  712.  
  713. The package "os" wasn't found on the file system but is built into node. Are
  714. you trying to bundle for node? You can use "platform: 'node'" to do that,
  715. which will remove this error.
  716.  
  717. ✘ [ERROR] Could not resolve "crypto"
  718.  
  719. node_modules/jose/lib/help/runtime_support.js:1:59:
  720. 1 │ const { diffieHellman, KeyObject, sign, verify } = require('crypto')
  721. ╵ ~~~~~~~~
  722.  
  723. The package "crypto" wasn't found on the file system but is built into node.
  724. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  725. which will remove this error.
  726.  
  727. ✘ [ERROR] Could not resolve "crypto"
  728.  
  729. node_modules/jose/lib/jwk/thumbprint.js:1:31:
  730. 1 │ const { createHash } = require('crypto')
  731. ╵ ~~~~~~~~
  732.  
  733. The package "crypto" wasn't found on the file system but is built into node.
  734. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  735. which will remove this error.
  736.  
  737. ✘ [ERROR] Could not resolve "os"
  738.  
  739. node_modules/jose/lib/jws/verify.js:1:24:
  740. 1 │ const { EOL } = require('os')
  741. ╵ ~~~~
  742.  
  743. The package "os" wasn't found on the file system but is built into node. Are
  744. you trying to bundle for node? You can use "platform: 'node'" to do that,
  745. which will remove this error.
  746.  
  747. ✘ [ERROR] Could not resolve "stream"
  748.  
  749. node_modules/google-gax/node_modules/google-auth-library/build/src/auth/baseexternalclient.js:17:23:
  750. 17 │ const stream = require("stream");
  751. ╵ ~~~~~~~~
  752.  
  753. The package "stream" wasn't found on the file system but is built into node.
  754. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  755. which will remove this error.
  756.  
  757. ✘ [ERROR] Could not resolve "util"
  758.  
  759. node_modules/jose/lib/jwks/keystore.js:1:28:
  760. 1 │ const { inspect } = require('util')
  761. ╵ ~~~~~~
  762.  
  763. The package "util" wasn't found on the file system but is built into node. Are
  764. you trying to bundle for node? You can use "platform: 'node'" to do that,
  765. which will remove this error.
  766.  
  767. ✘ [ERROR] Could not resolve "crypto"
  768.  
  769. node_modules/jose/lib/jwe/generate_cek.js:1:32:
  770. 1 │ const { randomBytes } = require('crypto')
  771. ╵ ~~~~~~~~
  772.  
  773. The package "crypto" wasn't found on the file system but is built into node.
  774. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  775. which will remove this error.
  776.  
  777. ✘ [ERROR] Could not resolve "child_process"
  778.  
  779. node_modules/google-gax/node_modules/google-auth-library/build/src/auth/googleauth.js:17:32:
  780. 17 │ const child_process_1 = require("child_process");
  781. ╵ ~~~~~~~~~~~~~~~
  782.  
  783. The package "child_process" wasn't found on the file system but is built into
  784. node. Are you trying to bundle for node? You can use "platform: 'node'" to do
  785. that, which will remove this error.
  786.  
  787. ✘ [ERROR] Could not resolve "os"
  788.  
  789. node_modules/jose/lib/help/key_utils.js:1:24:
  790. 1 │ const { EOL } = require('os')
  791. ╵ ~~~~
  792.  
  793. The package "os" wasn't found on the file system but is built into node. Are
  794. you trying to bundle for node? You can use "platform: 'node'" to do that,
  795. which will remove this error.
  796.  
  797. ✘ [ERROR] Could not resolve "https"
  798.  
  799. node_modules/google-gax/node_modules/gaxios/build/src/gaxios.js:20:24:
  800. 20 │ const https_1 = require("https");
  801. ╵ ~~~~~~~
  802.  
  803. The package "https" wasn't found on the file system but is built into node.
  804. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  805. which will remove this error.
  806.  
  807. ✘ [ERROR] Could not resolve "querystring"
  808.  
  809. node_modules/google-gax/node_modules/gaxios/build/src/gaxios.js:22:46:
  810. 22 │ const querystring_1 = __importDefault(require("querystring"));
  811. ╵ ~~~~~~~~~~~~~
  812.  
  813. The package "querystring" wasn't found on the file system but is built into
  814. node. Are you trying to bundle for node? You can use "platform: 'node'" to do
  815. that, which will remove this error.
  816.  
  817. ✘ [ERROR] Could not resolve "url"
  818.  
  819. node_modules/google-gax/node_modules/gaxios/build/src/gaxios.js:24:22:
  820. 24 │ const url_1 = require("url");
  821. ╵ ~~~~~
  822.  
  823. The package "url" wasn't found on the file system but is built into node. Are
  824. you trying to bundle for node? You can use "platform: 'node'" to do that,
  825. which will remove this error.
  826.  
  827. ✘ [ERROR] Could not resolve "querystring"
  828.  
  829. node_modules/google-gax/node_modules/google-auth-library/build/src/auth/oauth2common.js:17:28:
  830. 17 │ const querystring = require("querystring");
  831. ╵ ~~~~~~~~~~~~~
  832.  
  833. The package "querystring" wasn't found on the file system but is built into
  834. node. Are you trying to bundle for node? You can use "platform: 'node'" to do
  835. that, which will remove this error.
  836.  
  837. ✘ [ERROR] Could not resolve "util"
  838.  
  839. node_modules/jose/lib/jwk/key/embedded.jwk.js:1:28:
  840. 1 │ const { inspect } = require('util')
  841. ╵ ~~~~~~
  842.  
  843. The package "util" wasn't found on the file system but is built into node. Are
  844. you trying to bundle for node? You can use "platform: 'node'" to do that,
  845. which will remove this error.
  846.  
  847. ✘ [ERROR] Could not resolve "util"
  848.  
  849. node_modules/jose/lib/jwk/key/embedded.x5c.js:1:28:
  850. 1 │ const { inspect } = require('util')
  851. ╵ ~~~~~~
  852.  
  853. The package "util" wasn't found on the file system but is built into node. Are
  854. you trying to bundle for node? You can use "platform: 'node'" to do that,
  855. which will remove this error.
  856.  
  857. ✘ [ERROR] Could not resolve "crypto"
  858.  
  859. node_modules/jose/lib/jwk/key/rsa.js:1:64:
  860. 1 │ ...{ generateKeyPairSync, generateKeyPair: async } = require('crypto')
  861. ╵ ~~~~~~~~
  862.  
  863. The package "crypto" wasn't found on the file system but is built into node.
  864. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  865. which will remove this error.
  866.  
  867. ✘ [ERROR] Could not resolve "util"
  868.  
  869. node_modules/jose/lib/jwk/key/rsa.js:2:30:
  870. 2 │ const { promisify } = require('util')
  871. ╵ ~~~~~~
  872.  
  873. The package "util" wasn't found on the file system but is built into node. Are
  874. you trying to bundle for node? You can use "platform: 'node'" to do that,
  875. which will remove this error.
  876.  
  877. ✘ [ERROR] Could not resolve "crypto"
  878.  
  879. node_modules/jose/lib/jwk/key/oct.js:1:32:
  880. 1 │ const { randomBytes } = require('crypto')
  881. ╵ ~~~~~~~~
  882.  
  883. The package "crypto" wasn't found on the file system but is built into node.
  884. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  885. which will remove this error.
  886.  
  887. ✘ [ERROR] Could not resolve "net"
  888.  
  889. node_modules/https-proxy-agent/dist/agent.js:15:38:
  890. 15 │ const net_1 = __importDefault(require("net"));
  891. ╵ ~~~~~
  892.  
  893. The package "net" wasn't found on the file system but is built into node. Are
  894. you trying to bundle for node? You can use "platform: 'node'" to do that,
  895. which will remove this error.
  896.  
  897. ✘ [ERROR] Could not resolve "events"
  898.  
  899. node_modules/readable-stream/lib/internal/streams/stream-browser.js:1:25:
  900. 1 │ module.exports = require('events').EventEmitter;
  901. ╵ ~~~~~~~~
  902.  
  903. The package "events" wasn't found on the file system but is built into node.
  904. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  905. which will remove this error.
  906.  
  907. ✘ [ERROR] Could not resolve "crypto"
  908.  
  909. node_modules/jose/lib/jwk/key/ec.js:1:64:
  910. 1 │ ...{ generateKeyPairSync, generateKeyPair: async } = require('crypto')
  911. ╵ ~~~~~~~~
  912.  
  913. The package "crypto" wasn't found on the file system but is built into node.
  914. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  915. which will remove this error.
  916.  
  917. ✘ [ERROR] Could not resolve "util"
  918.  
  919. node_modules/jose/lib/jwk/key/ec.js:2:30:
  920. 2 │ const { promisify } = require('util')
  921. ╵ ~~~~~~
  922.  
  923. The package "util" wasn't found on the file system but is built into node. Are
  924. you trying to bundle for node? You can use "platform: 'node'" to do that,
  925. which will remove this error.
  926.  
  927. ✘ [ERROR] Could not resolve "tls"
  928.  
  929. node_modules/https-proxy-agent/dist/agent.js:16:38:
  930. 16 │ const tls_1 = __importDefault(require("tls"));
  931. ╵ ~~~~~
  932.  
  933. The package "tls" wasn't found on the file system but is built into node. Are
  934. you trying to bundle for node? You can use "platform: 'node'" to do that,
  935. which will remove this error.
  936.  
  937. ✘ [ERROR] Could not resolve "url"
  938.  
  939. node_modules/https-proxy-agent/dist/agent.js:17:38:
  940. 17 │ const url_1 = __importDefault(require("url"));
  941. ╵ ~~~~~
  942.  
  943. The package "url" wasn't found on the file system but is built into node. Are
  944. you trying to bundle for node? You can use "platform: 'node'" to do that,
  945. which will remove this error.
  946.  
  947. ✘ [ERROR] Could not resolve "assert"
  948.  
  949. node_modules/https-proxy-agent/dist/agent.js:18:41:
  950. 18 │ const assert_1 = __importDefault(require("assert"));
  951. ╵ ~~~~~~~~
  952.  
  953. The package "assert" wasn't found on the file system but is built into node.
  954. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  955. which will remove this error.
  956.  
  957. ✘ [ERROR] Could not resolve "crypto"
  958.  
  959. node_modules/jose/lib/jwk/key/okp.js:1:64:
  960. 1 │ ...{ generateKeyPairSync, generateKeyPair: async } = require('crypto')
  961. ╵ ~~~~~~~~
  962.  
  963. The package "crypto" wasn't found on the file system but is built into node.
  964. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  965. which will remove this error.
  966.  
  967. ✘ [ERROR] Could not resolve "fs"
  968.  
  969. node_modules/google-gax/node_modules/gtoken/build/src/index.js:10:19:
  970. 10 │ const fs = require("fs");
  971. ╵ ~~~~
  972.  
  973. The package "fs" wasn't found on the file system but is built into node. Are
  974. you trying to bundle for node? You can use "platform: 'node'" to do that,
  975. which will remove this error.
  976.  
  977. ✘ [ERROR] Could not resolve "util"
  978.  
  979. node_modules/jose/lib/jwk/key/okp.js:2:30:
  980. 2 │ const { promisify } = require('util')
  981. ╵ ~~~~~~
  982.  
  983. The package "util" wasn't found on the file system but is built into node. Are
  984. you trying to bundle for node? You can use "platform: 'node'" to do that,
  985. which will remove this error.
  986.  
  987. ✘ [ERROR] Could not resolve "path"
  988.  
  989. node_modules/google-gax/node_modules/gtoken/build/src/index.js:13:21:
  990. 13 │ const path = require("path");
  991. ╵ ~~~~~~
  992.  
  993. The package "path" wasn't found on the file system but is built into node. Are
  994. you trying to bundle for node? You can use "platform: 'node'" to do that,
  995. which will remove this error.
  996.  
  997. ✘ [ERROR] Could not resolve "util"
  998.  
  999. node_modules/jose/lib/jwk/key/none.js:1:28:
  1000. 1 │ const { inspect } = require('util')
  1001. ╵ ~~~~~~
  1002.  
  1003. The package "util" wasn't found on the file system but is built into node. Are
  1004. you trying to bundle for node? You can use "platform: 'node'" to do that,
  1005. which will remove this error.
  1006.  
  1007. ✘ [ERROR] Could not resolve "stream"
  1008.  
  1009. node_modules/jws/lib/verify-stream.js:5:21:
  1010. 5 │ var Stream = require('stream');
  1011. ╵ ~~~~~~~~
  1012.  
  1013. The package "stream" wasn't found on the file system but is built into node.
  1014. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  1015. which will remove this error.
  1016.  
  1017. ✘ [ERROR] Could not resolve "events"
  1018.  
  1019. node_modules/google-gax/build/src/longRunningCalls/longrunning.js:19:25:
  1020. 19 │ const events_1 = require("events");
  1021. ╵ ~~~~~~~~
  1022.  
  1023. The package "events" wasn't found on the file system but is built into node.
  1024. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  1025. which will remove this error.
  1026.  
  1027. ✘ [ERROR] Could not resolve "fs"
  1028.  
  1029. node_modules/google-gax/node_modules/google-auth-library/build/src/auth/googleauth.js:18:19:
  1030. 18 │ const fs = require("fs");
  1031. ╵ ~~~~
  1032.  
  1033. The package "fs" wasn't found on the file system but is built into node. Are
  1034. you trying to bundle for node? You can use "platform: 'node'" to do that,
  1035. which will remove this error.
  1036.  
  1037. ✘ [ERROR] Could not resolve "stream"
  1038.  
  1039. node_modules/jws/lib/sign-stream.js:5:21:
  1040. 5 │ var Stream = require('stream');
  1041. ╵ ~~~~~~~~
  1042.  
  1043. The package "stream" wasn't found on the file system but is built into node.
  1044. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  1045. which will remove this error.
  1046.  
  1047. ✘ [ERROR] Could not resolve "util"
  1048.  
  1049. node_modules/jws/lib/sign-stream.js:7:19:
  1050. 7 │ var util = require('util');
  1051. ╵ ~~~~~~
  1052.  
  1053. The package "util" wasn't found on the file system but is built into node. Are
  1054. you trying to bundle for node? You can use "platform: 'node'" to do that,
  1055. which will remove this error.
  1056.  
  1057. ✘ [ERROR] Could not resolve "crypto"
  1058.  
  1059. node_modules/jose/lib/help/rsa_primes.js:1:32:
  1060. 1 │ const { randomBytes } = require('crypto')
  1061. ╵ ~~~~~~~~
  1062.  
  1063. The package "crypto" wasn't found on the file system but is built into node.
  1064. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  1065. which will remove this error.
  1066.  
  1067. ✘ [ERROR] Could not resolve "crypto"
  1068.  
  1069. node_modules/jose/lib/jwa/hmac.js:1:31:
  1070. 1 │ const { createHmac } = require('crypto')
  1071. ╵ ~~~~~~~~
  1072.  
  1073. The package "crypto" wasn't found on the file system but is built into node.
  1074. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  1075. which will remove this error.
  1076.  
  1077. ✘ [ERROR] Could not resolve "crypto"
  1078.  
  1079. node_modules/jose/lib/jwa/aes_kw.js:1:65:
  1080. 1 │ ... createCipheriv, createDecipheriv, getCiphers } = require('crypto')
  1081. ╵ ~~~~~~~~
  1082.  
  1083. The package "crypto" wasn't found on the file system but is built into node.
  1084. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  1085. which will remove this error.
  1086.  
  1087. ✘ [ERROR] Could not resolve "crypto"
  1088.  
  1089. node_modules/jose/lib/jwa/pbes2.js:1:52:
  1090. 1 │ const { pbkdf2Sync: pbkdf2, randomBytes } = require('crypto')
  1091. ╵ ~~~~~~~~
  1092.  
  1093. The package "crypto" wasn't found on the file system but is built into node.
  1094. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  1095. which will remove this error.
  1096.  
  1097. ✘ [ERROR] Could not resolve "events"
  1098.  
  1099. node_modules/readable-stream/lib/_stream_readable.js:32:17:
  1100. 32 │ var EE = require('events').EventEmitter;
  1101. ╵ ~~~~~~~~
  1102.  
  1103. The package "events" wasn't found on the file system but is built into node.
  1104. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  1105. which will remove this error.
  1106.  
  1107. ✘ [ERROR] Could not resolve "crypto"
  1108.  
  1109. node_modules/jose/lib/jwa/aes_gcm.js:1:65:
  1110. 1 │ ... createCipheriv, createDecipheriv, getCiphers } = require('crypto')
  1111. ╵ ~~~~~~~~
  1112.  
  1113. The package "crypto" wasn't found on the file system but is built into node.
  1114. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  1115. which will remove this error.
  1116.  
  1117. ✘ [ERROR] Could not resolve "util"
  1118.  
  1119. node_modules/@panva/asn1.js/lib/asn1/api.js:1:29:
  1120. 1 │ const { inherits } = require('util')
  1121. ╵ ~~~~~~
  1122.  
  1123. The package "util" wasn't found on the file system but is built into node. Are
  1124. you trying to bundle for node? You can use "platform: 'node'" to do that,
  1125. which will remove this error.
  1126.  
  1127. ✘ [ERROR] Could not resolve "crypto"
  1128.  
  1129. node_modules/jose/lib/help/timing_safe_equal.js:1:41:
  1130. 1 │ const { timingSafeEqual: TSE } = require('crypto')
  1131. ╵ ~~~~~~~~
  1132.  
  1133. The package "crypto" wasn't found on the file system but is built into node.
  1134. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  1135. which will remove this error.
  1136.  
  1137. ✘ [ERROR] Could not resolve "stream"
  1138.  
  1139. node_modules/jws/lib/data-stream.js:3:21:
  1140. 3 │ var Stream = require('stream');
  1141. ╵ ~~~~~~~~
  1142.  
  1143. The package "stream" wasn't found on the file system but is built into node.
  1144. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  1145. which will remove this error.
  1146.  
  1147. ✘ [ERROR] Could not resolve "util"
  1148.  
  1149. node_modules/@panva/asn1.js/lib/asn1/decoders/der.js:2:29:
  1150. 2 │ const { inherits } = require('util')
  1151. ╵ ~~~~~~
  1152.  
  1153. The package "util" wasn't found on the file system but is built into node. Are
  1154. you trying to bundle for node? You can use "platform: 'node'" to do that,
  1155. which will remove this error.
  1156.  
  1157. ✘ [ERROR] Could not resolve "crypto"
  1158.  
  1159. node_modules/jwa/index.js:3:21:
  1160. 3 │ var crypto = require('crypto');
  1161. ╵ ~~~~~~~~
  1162.  
  1163. The package "crypto" wasn't found on the file system but is built into node.
  1164. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  1165. which will remove this error.
  1166.  
  1167. ✘ [ERROR] Could not resolve "util"
  1168.  
  1169. node_modules/jws/lib/data-stream.js:4:19:
  1170. 4 │ var util = require('util');
  1171. ╵ ~~~~~~
  1172.  
  1173. The package "util" wasn't found on the file system but is built into node. Are
  1174. you trying to bundle for node? You can use "platform: 'node'" to do that,
  1175. which will remove this error.
  1176.  
  1177. ✘ [ERROR] Could not resolve "util"
  1178.  
  1179. node_modules/google-gax/node_modules/gtoken/build/src/index.js:14:23:
  1180. 14 │ const util_1 = require("util");
  1181. ╵ ~~~~~~
  1182.  
  1183. The package "util" wasn't found on the file system but is built into node. Are
  1184. you trying to bundle for node? You can use "platform: 'node'" to do that,
  1185. which will remove this error.
  1186.  
  1187. ✘ [ERROR] Could not resolve "util"
  1188.  
  1189. node_modules/jwks-rsa/src/wrappers/callbackSupport.js:1:32:
  1190. 1 │ const { callbackify } = require('util');
  1191. ╵ ~~~~~~
  1192.  
  1193. The package "util" wasn't found on the file system but is built into node. Are
  1194. you trying to bundle for node? You can use "platform: 'node'" to do that,
  1195. which will remove this error.
  1196.  
  1197. ✘ [ERROR] Could not resolve "crypto"
  1198.  
  1199. node_modules/jose/lib/jwa/rsassa_pss.js:5:12:
  1200. 5 │ } = require('crypto')
  1201. ╵ ~~~~~~~~
  1202.  
  1203. The package "crypto" wasn't found on the file system but is built into node.
  1204. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  1205. which will remove this error.
  1206.  
  1207. ✘ [ERROR] Could not resolve "fs"
  1208.  
  1209. node_modules/google-gax/node_modules/google-p12-pem/build/src/index.js:10:19:
  1210. 10 │ const fs = require("fs");
  1211. ╵ ~~~~
  1212.  
  1213. The package "fs" wasn't found on the file system but is built into node. Are
  1214. you trying to bundle for node? You can use "platform: 'node'" to do that,
  1215. which will remove this error.
  1216.  
  1217. ✘ [ERROR] Could not resolve "crypto"
  1218.  
  1219. node_modules/jose/lib/jwa/rsaes.js:1:61:
  1220. 1 │ const { publicEncrypt, privateDecrypt, constants } = require('crypto')
  1221. ╵ ~~~~~~~~
  1222.  
  1223. The package "crypto" wasn't found on the file system but is built into node.
  1224. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  1225. which will remove this error.
  1226.  
  1227. ✘ [ERROR] Could not resolve "crypto"
  1228.  
  1229. node_modules/jose/lib/jwa/eddsa.js:1:61:
  1230. 1 │ const { sign: signOneShot, verify: verifyOneShot } = require('crypto')
  1231. ╵ ~~~~~~~~
  1232.  
  1233. The package "crypto" wasn't found on the file system but is built into node.
  1234. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  1235. which will remove this error.
  1236.  
  1237. ✘ [ERROR] Could not resolve "util"
  1238.  
  1239. node_modules/google-gax/node_modules/google-p12-pem/build/src/index.js:12:23:
  1240. 12 │ const util_1 = require("util");
  1241. ╵ ~~~~~~
  1242.  
  1243. The package "util" wasn't found on the file system but is built into node. Are
  1244. you trying to bundle for node? You can use "platform: 'node'" to do that,
  1245. which will remove this error.
  1246.  
  1247. ✘ [ERROR] Could not resolve "util"
  1248.  
  1249. node_modules/@panva/asn1.js/lib/asn1/encoders/pem.js:1:29:
  1250. 1 │ const { inherits } = require('util')
  1251. ╵ ~~~~~~
  1252.  
  1253. The package "util" wasn't found on the file system but is built into node. Are
  1254. you trying to bundle for node? You can use "platform: 'node'" to do that,
  1255. which will remove this error.
  1256.  
  1257. ✘ [ERROR] Could not resolve "util"
  1258.  
  1259. node_modules/@panva/asn1.js/lib/asn1/encoders/der.js:2:29:
  1260. 2 │ const { inherits } = require('util')
  1261. ╵ ~~~~~~
  1262.  
  1263. The package "util" wasn't found on the file system but is built into node. Are
  1264. you trying to bundle for node? You can use "platform: 'node'" to do that,
  1265. which will remove this error.
  1266.  
  1267. ✘ [ERROR] Could not resolve "util"
  1268.  
  1269. node_modules/jwa/index.js:5:19:
  1270. 5 │ var util = require('util');
  1271. ╵ ~~~~~~
  1272.  
  1273. The package "util" wasn't found on the file system but is built into node. Are
  1274. you trying to bundle for node? You can use "platform: 'node'" to do that,
  1275. which will remove this error.
  1276.  
  1277. ✘ [ERROR] Could not resolve "util"
  1278.  
  1279. node_modules/@panva/asn1.js/lib/asn1/base/reporter.js:1:29:
  1280. 1 │ const { inherits } = require('util')
  1281. ╵ ~~~~~~
  1282.  
  1283. The package "util" wasn't found on the file system but is built into node. Are
  1284. you trying to bundle for node? You can use "platform: 'node'" to do that,
  1285. which will remove this error.
  1286.  
  1287. ✘ [ERROR] Could not resolve "util"
  1288.  
  1289. node_modules/jwks-rsa/src/wrappers/cache.js:3:43:
  1290. 3 │ const { promisify, callbackify } = require('util');
  1291. ╵ ~~~~~~
  1292.  
  1293. The package "util" wasn't found on the file system but is built into node. Are
  1294. you trying to bundle for node? You can use "platform: 'node'" to do that,
  1295. which will remove this error.
  1296.  
  1297. ✘ [ERROR] Could not resolve "http"
  1298.  
  1299. node_modules/jwks-rsa/src/wrappers/request.js:1:21:
  1300. 1 │ const http = require('http');
  1301. ╵ ~~~~~~
  1302.  
  1303. The package "http" wasn't found on the file system but is built into node. Are
  1304. you trying to bundle for node? You can use "platform: 'node'" to do that,
  1305. which will remove this error.
  1306.  
  1307. ✘ [ERROR] Could not resolve "https"
  1308.  
  1309. node_modules/jwks-rsa/src/wrappers/request.js:2:22:
  1310. 2 │ const https = require('https');
  1311. ╵ ~~~~~~~
  1312.  
  1313. The package "https" wasn't found on the file system but is built into node.
  1314. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  1315. which will remove this error.
  1316.  
  1317. ✘ [ERROR] Could not resolve "util"
  1318.  
  1319. node_modules/@panva/asn1.js/lib/asn1/base/buffer.js:1:29:
  1320. 1 │ const { inherits } = require('util')
  1321. ╵ ~~~~~~
  1322.  
  1323. The package "util" wasn't found on the file system but is built into node. Are
  1324. you trying to bundle for node? You can use "platform: 'node'" to do that,
  1325. which will remove this error.
  1326.  
  1327. ✘ [ERROR] Could not resolve "util"
  1328.  
  1329. node_modules/jws/lib/verify-stream.js:7:19:
  1330. 7 │ var util = require('util');
  1331. ╵ ~~~~~~
  1332.  
  1333. The package "util" wasn't found on the file system but is built into node. Are
  1334. you trying to bundle for node? You can use "platform: 'node'" to do that,
  1335. which will remove this error.
  1336.  
  1337. ✘ [ERROR] Could not resolve "os"
  1338.  
  1339. node_modules/google-gax/node_modules/google-auth-library/build/src/auth/googleauth.js:20:19:
  1340. 20 │ const os = require("os");
  1341. ╵ ~~~~
  1342.  
  1343. The package "os" wasn't found on the file system but is built into node. Are
  1344. you trying to bundle for node? You can use "platform: 'node'" to do that,
  1345. which will remove this error.
  1346.  
  1347. ✘ [ERROR] Could not resolve "assert"
  1348.  
  1349. node_modules/@panva/asn1.js/lib/asn1/base/node.js:1:35:
  1350. 1 │ const { strict: assert } = require('assert')
  1351. ╵ ~~~~~~~~
  1352.  
  1353. The package "assert" wasn't found on the file system but is built into node.
  1354. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  1355. which will remove this error.
  1356.  
  1357. ✘ [ERROR] Could not resolve "events"
  1358.  
  1359. node_modules/agent-base/dist/src/index.js:5:25:
  1360. 5 │ const events_1 = require("events");
  1361. ╵ ~~~~~~~~
  1362.  
  1363. The package "events" wasn't found on the file system but is built into node.
  1364. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  1365. which will remove this error.
  1366.  
  1367. ✘ [ERROR] Could not resolve "crypto"
  1368.  
  1369. node_modules/jose/lib/jwa/rsassa.js:1:45:
  1370. 1 │ const { createSign, createVerify } = require('crypto')
  1371. ╵ ~~~~~~~~
  1372.  
  1373. The package "crypto" wasn't found on the file system but is built into node.
  1374. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  1375. which will remove this error.
  1376.  
  1377. ✘ [ERROR] Could not resolve "crypto"
  1378.  
  1379. node_modules/jose/lib/jwa/ecdsa.js:1:98:
  1380. 1 │ ...yOneShot, createSign, createVerify, getCurves } = require('crypto')
  1381. ╵ ~~~~~~~~
  1382.  
  1383. The package "crypto" wasn't found on the file system but is built into node.
  1384. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  1385. which will remove this error.
  1386.  
  1387. ✘ [ERROR] Could not resolve "path"
  1388.  
  1389. node_modules/google-gax/node_modules/google-auth-library/build/src/auth/googleauth.js:21:21:
  1390. 21 │ const path = require("path");
  1391. ╵ ~~~~~~
  1392.  
  1393. The package "path" wasn't found on the file system but is built into node. Are
  1394. you trying to bundle for node? You can use "platform: 'node'" to do that,
  1395. which will remove this error.
  1396.  
  1397. ✘ [ERROR] Could not resolve "crypto"
  1398.  
  1399. node_modules/jose/lib/jwa/aes_cbc_hmac_sha2.js:1:65:
  1400. 1 │ ... createCipheriv, createDecipheriv, getCiphers } = require('crypto')
  1401. ╵ ~~~~~~~~
  1402.  
  1403. The package "crypto" wasn't found on the file system but is built into node.
  1404. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  1405. which will remove this error.
  1406.  
  1407. ✘ [ERROR] Could not resolve "crypto"
  1408.  
  1409. node_modules/jose/lib/jwa/ecdh/derive.js:1:31:
  1410. 1 │ const { createHash } = require('crypto')
  1411. ╵ ~~~~~~~~
  1412.  
  1413. The package "crypto" wasn't found on the file system but is built into node.
  1414. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  1415. which will remove this error.
  1416.  
  1417. ✘ [ERROR] Could not resolve "url"
  1418.  
  1419. node_modules/jwks-rsa/src/wrappers/request.js:3:24:
  1420. 3 │ const urlUtil = require('url');
  1421. ╵ ~~~~~
  1422.  
  1423. The package "url" wasn't found on the file system but is built into node. Are
  1424. you trying to bundle for node? You can use "platform: 'node'" to do that,
  1425. which will remove this error.
  1426.  
  1427. ✘ [ERROR] Could not resolve "crypto"
  1428.  
  1429. node_modules/jose/lib/registry/ec_curves.js:1:30:
  1430. 1 │ const { getCurves } = require('crypto')
  1431. ╵ ~~~~~~~~
  1432.  
  1433. The package "crypto" wasn't found on the file system but is built into node.
  1434. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  1435. which will remove this error.
  1436.  
  1437. ✘ [ERROR] Could not resolve "util"
  1438.  
  1439. node_modules/@panva/asn1.js/lib/asn1/decoders/pem.js:1:29:
  1440. 1 │ const { inherits } = require('util')
  1441. ╵ ~~~~~~
  1442.  
  1443. The package "util" wasn't found on the file system but is built into node. Are
  1444. you trying to bundle for node? You can use "platform: 'node'" to do that,
  1445. which will remove this error.
  1446.  
  1447. ✘ [ERROR] Could not resolve "events"
  1448.  
  1449. node_modules/lru-memoizer/lib/async.js:37:23:
  1450. 37 │ var events_1 = require("events");
  1451. ╵ ~~~~~~~~
  1452.  
  1453. The package "events" wasn't found on the file system but is built into node.
  1454. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  1455. which will remove this error.
  1456.  
  1457. ✘ [ERROR] Could not resolve "crypto"
  1458.  
  1459. node_modules/jose/lib/jwa/ecdh/compute_secret.js:4:36:
  1460. 4 │ const { diffieHellman } = require('crypto')
  1461. ╵ ~~~~~~~~
  1462.  
  1463. The package "crypto" wasn't found on the file system but is built into node.
  1464. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  1465. which will remove this error.
  1466.  
  1467. ✘ [ERROR] Could not resolve "events"
  1468.  
  1469. node_modules/lru-memoizer/lib/sync.js:27:23:
  1470. 27 │ var events_1 = require("events");
  1471. ╵ ~~~~~~~~
  1472.  
  1473. The package "events" wasn't found on the file system but is built into node.
  1474. Are you trying to bundle for node? You can use "platform: 'node'" to do that,
  1475. which will remove this error.
  1476.  
  1477. ✘ [ERROR] Could not resolve "util"
  1478.  
  1479. node_modules/lru-memoizer/node_modules/lru-cache/lib/lru-cache.js:6:19:
  1480. 6 │ var util = require('util')
  1481. ╵ ~~~~~~
  1482.  
  1483. The package "util" wasn't found on the file system but is built into node. Are
  1484. you trying to bundle for node? You can use "platform: 'node'" to do that,
  1485. which will remove this error.
  1486.  
  1487. error during build:
  1488. Error: Build failed with 143 errors:
  1489. node_modules/@fastify/busboy/deps/dicer/lib/Dicer.js:1:31: ERROR: Could not resolve "stream"
  1490. node_modules/@fastify/busboy/deps/dicer/lib/Dicer.js:2:25: ERROR: Could not resolve "util"
  1491. node_modules/@fastify/busboy/deps/dicer/lib/HeaderParser.js:1:29: ERROR: Could not resolve "events"
  1492. node_modules/@fastify/busboy/deps/dicer/lib/HeaderParser.js:2:25: ERROR: Could not resolve "util"
  1493. node_modules/@fastify/busboy/deps/dicer/lib/PartStream.js:1:25: ERROR: Could not resolve "util"
  1494. ...
  1495. at failureErrorWithLog (/Users/vietdinh/GP/app/node_modules/esbuild/lib/main.js:1624:15)
  1496. at /Users/vietdinh/GP/app/node_modules/esbuild/lib/main.js:1266:28
  1497. at runOnEndCallbacks (/Users/vietdinh/GP/app/node_modules/esbuild/lib/main.js:1179:65)
  1498. at buildResponseToResult (/Users/vietdinh/GP/app/node_modules/esbuild/lib/main.js:1264:7)
  1499. at /Users/vietdinh/GP/app/node_modules/esbuild/lib/main.js:1377:14
  1500. at /Users/vietdinh/GP/app/node_modules/esbuild/lib/main.js:678:9
  1501. at handleIncomingPacket (/Users/vietdinh/GP/app/node_modules/esbuild/lib/main.js:775:9)
  1502. at Socket.readFromStdout (/Users/vietdinh/GP/app/node_modules/esbuild/lib/main.js:644:7)
  1503. at Socket.emit (node:events:527:28)
  1504. at addChunk (node:internal/streams/readable:315:12)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement