getting this when deploy on vercel or netlify #3188
Unanswered
usama-mashood
asked this question in
General
Replies: 2 comments 1 reply
-
|
Hey, it looks like out of memory. You actually don't see that error, vite probably does not redirect it to the stdout, but seeing it happens during chunks generating I think it is caused by sourcemaps generation - it is really memory consuming. Could you please try to set env |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
I have the same issue both on Heroku and Vercel (tried with 3.11 and main branch) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
[16:40:26.958] Previous build cache not available
[16:40:28.238] Cloning completed: 1.414s
[16:40:28.754] Running "vercel build"
[16:40:29.178] Vercel CLI 28.16.2
[16:40:30.021] Installing dependencies...
[16:40:41.100] npm WARN deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
[16:40:41.227] npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
[16:40:41.741] npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
[16:40:41.817] npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
[16:40:42.129] npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
[16:40:42.134] npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
[16:40:42.363] npm WARN deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
[16:40:42.431] npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
[16:40:43.062] npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
[16:40:43.897] npm WARN deprecated mini-create-react-context@0.4.1: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
[16:40:44.275] npm WARN deprecated subscriptions-transport-ws@0.10.0: The
subscriptions-transport-wspackage is no longer maintained. We recommend you usegraphql-wsinstead. For help migrating Apollo software tographql-ws, see https://www.apollographql.com/docs/apollo-server/data/subscriptions/#switching-from-subscriptions-transport-ws For general help usinggraphql-ws, see https://github.com/enisdenjo/graphql-ws/blob/master/README.md[16:40:45.931] npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
[16:40:48.705] npm WARN deprecated @types/react-sortable-hoc@0.7.1: This is a stub types definition. react-sortable-hoc provides its own type definitions, so you do not need this installed.
[16:40:52.206] npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
[16:40:52.831] npm WARN deprecated @floating-ui/react-dom-interactions@0.5.0: Package renamed to @floating-ui/react
[16:40:53.644] npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
[16:40:59.251] npm WARN deprecated highlight.js@9.13.1: Version no longer supported. Upgrade to @latest
[16:40:59.470] npm WARN deprecated @material-ui/styles@4.11.5: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
[16:41:00.353] npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
[16:41:01.602] npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
[16:41:02.258] npm WARN deprecated @material-ui/lab@4.0.0-alpha.61: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
[16:41:05.405] npm WARN deprecated core-js@3.10.1: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
[16:41:05.410] npm WARN deprecated core-js-pure@3.10.1: core-js-pure@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js-pure.
[16:41:06.691] npm WARN deprecated @material-ui/core@4.12.4: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
[16:41:09.651] npm WARN deprecated @material-ui/icons@4.11.2: You can now upgrade to @mui/icons. See the guide: https://mui.com/guides/migration-v4/
[16:41:20.720]
[16:41:20.721] > saleor-dashboard@3.11.3 postinstall
[16:41:20.721] > node scripts/patchReactVirtualized.js
[16:41:20.721]
[16:41:20.816]
[16:41:20.817] > saleor-dashboard@3.11.3 prepare
[16:41:20.817] > is-ci || husky install
[16:41:20.817]
[16:41:20.922]
[16:41:20.922] added 3305 packages in 51s
[16:41:20.923]
[16:41:20.923] 237 packages are looking for funding
[16:41:20.923] run
npm fundfor details[16:41:21.026] Detected
package-lock.jsongenerated by npm 7+...[16:41:21.027] Running "npm run build"
[16:41:21.333]
[16:41:21.333] > saleor-dashboard@3.11.3 prebuild
[16:41:21.334] > npm run build-types
[16:41:21.334]
[16:41:21.633]
[16:41:21.633] > saleor-dashboard@3.11.3 build-types
[16:41:21.633] > node scripts/build-types.js
[16:41:21.633]
[16:41:22.339] [11:41:22] Parse configuration [started]
[16:41:22.341] [11:41:22] Parse configuration [completed]
[16:41:22.342] [11:41:22] Generate outputs [started]
[16:41:22.342] [11:41:22] Generate ./src/graphql/fragmentTypes.generated.ts [started]
[16:41:22.342] [11:41:22] Generate ./src/graphql/typePolicies.generated.ts [started]
[16:41:22.342] [11:41:22] Generate ./src/graphql/types.generated.ts [started]
[16:41:22.343] [11:41:22] Generate to ./src/graphql/hooks.generated.ts (using EXPERIMENTAL preset "import-types") [started]
[16:41:22.343] [11:41:22] Load GraphQL schemas [started]
[16:41:22.344] [11:41:22] Load GraphQL schemas [started]
[16:41:22.344] [11:41:22] Load GraphQL schemas [started]
[16:41:22.344] [11:41:22] Load GraphQL schemas [started]
[16:41:22.888] [11:41:22] Load GraphQL schemas [completed]
[16:41:22.888] [11:41:22] Load GraphQL documents [started]
[16:41:22.889] [11:41:22] Load GraphQL documents [completed]
[16:41:22.889] [11:41:22] Generate [started]
[16:41:22.920] [11:41:22] Generate [completed]
[16:41:22.920] [11:41:22] Generate ./src/graphql/fragmentTypes.generated.ts [completed]
[16:41:23.312] [11:41:23] Load GraphQL schemas [completed]
[16:41:23.312] [11:41:23] Load GraphQL documents [started]
[16:41:23.634] [11:41:23] Load GraphQL schemas [completed]
[16:41:23.634] [11:41:23] Load GraphQL documents [started]
[16:41:23.634] [11:41:23] Load GraphQL documents [completed]
[16:41:23.635] [11:41:23] Generate [started]
[16:41:23.719] [11:41:23] Generate [completed]
[16:41:23.719] [11:41:23] Generate ./src/graphql/typePolicies.generated.ts [completed]
[16:41:24.003] [11:41:24] Load GraphQL schemas [completed]
[16:41:24.004] [11:41:24] Load GraphQL documents [started]
[16:41:24.608] [11:41:24] Load GraphQL documents [completed]
[16:41:24.608] [11:41:24] Generate [started]
[16:41:32.851] [11:41:32] Generate [completed]
[16:41:32.852] [11:41:32] Generate ./src/graphql/types.generated.ts [completed]
[16:41:33.035] [11:41:33] Load GraphQL documents [completed]
[16:41:33.036] [11:41:33] Generate [started]
[16:41:40.732] [11:41:40] Generate [completed]
[16:41:40.732] [11:41:40] Generate to ./src/graphql/hooks.generated.ts (using EXPERIMENTAL preset "import-types") [completed]
[16:41:40.732] [11:41:40] Generate outputs [completed]
[16:41:40.770]
[16:41:40.770] > saleor-dashboard@3.11.3 build
[16:41:40.770] > cross-env NODE_OPTIONS=--max_old_space_size=16384 vite build
[16:41:40.771]
[16:41:41.281] [log] Enabling service worker...
[16:41:41.379] [log] �[36mvite v3.2.4 �[32mbuilding for production...�[36m�[39m
[16:41:41.445] [log] transforming...
[16:42:26.760] [log] �[32m✓�[39m 9824 modules transformed.
[16:42:46.178] [log] rendering chunks...
[16:42:51.624] Error: Command "npm run build" exited with 1
[16:42:51.714]
Beta Was this translation helpful? Give feedback.
All reactions