Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vercel build error - version ^5.7.0 #5597

Closed
nareshkatta99 opened this issue Mar 29, 2023 · 1 comment
Closed

Vercel build error - version ^5.7.0 #5597

nareshkatta99 opened this issue Mar 29, 2023 · 1 comment
Labels
issue/bug-unconfirmed Issues that describe a bug that hasn't been confirmed by a maintainer yet

Comments

@nareshkatta99
Copy link

Since yesterday our vercel builds are failing,
Upon inspection, we found that there is some issue with react-timezone-select

We are not using react-select in our application, but react-timezone-select has that dependancy.

But, I thought it would be better if we report this issue here once.

Build error occurred
--
20:33:23.398 | /vercel/path0/node_modules/react-select/dist/react-select.esm.js:1
20:33:23.398 | import { u as useStateManager } from './useStateManager-7e1e8489.esm.js';
20:33:23.399 | ^^^^^^
20:33:23.399 |  
20:33:23.399 | SyntaxError: Cannot use import statement outside a module
20:33:23.399 | at Object.compileFunction (node:vm:360:18)
20:33:23.400 | at wrapSafe (node:internal/modules/cjs/loader:1094:15)
20:33:23.400 | at Module._compile (node:internal/modules/cjs/loader:1129:27)
20:33:23.400 | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1219:10)
20:33:23.400 | at Module.load (node:internal/modules/cjs/loader:1043:32)
20:33:23.400 | at Function.Module._load (node:internal/modules/cjs/loader:878:12)
20:33:23.401 | at ModuleWrap. (node:internal/modules/esm/translators:169:29)
20:33:23.401 | at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
20:33:23.401 | at async Promise.all (index 0)
20:33:23.401 | at async ESMLoader.import (node:internal/modules/esm/loader:530:24) {
20:33:23.402 | type: 'SyntaxError'
20:33:23.402 | }
20:33:23.588 | error Command failed with exit code 1.
20:33:23.589 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
20:33:23.619 | Error: Command "yarn run build" exited with 1
20:33:23.888 | BUILD_UTILS_SPAWN_1: Command "yarn run build" exited with 1

@nareshkatta99 nareshkatta99 added the issue/bug-unconfirmed Issues that describe a bug that hasn't been confirmed by a maintainer yet label Mar 29, 2023
@nareshkatta99
Copy link
Author

Closing this issue as it is same as #5595

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue/bug-unconfirmed Issues that describe a bug that hasn't been confirmed by a maintainer yet
Projects
None yet
Development

No branches or pull requests

1 participant