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

Cannot start the ballista UI on M1 Mac #262

Open
HaoYang670 opened this issue Sep 22, 2022 · 0 comments
Open

Cannot start the ballista UI on M1 Mac #262

HaoYang670 opened this issue Sep 22, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@HaoYang670
Copy link
Contributor

Describe the bug

remziy@remziy-mlt:scheduler$ yarn start           
yarn run v1.22.19
$ react-scripts start
node:internal/modules/cjs/loader:498
      throw e;
      ^

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/tokenize' is not defined by "exports" in /Users/remziy/FangcloudV2/personal_space.localized/working/Ballista/ballista/ui/scheduler/node_modules/postcss-safe-parser/node_modules/postcss/package.json
    at new NodeError (node:internal/errors:393:5)
    at throwExportsNotFound (node:internal/modules/esm/resolve:340:9)
    at packageExportsResolve (node:internal/modules/esm/resolve:619:3)
    at resolveExports (node:internal/modules/cjs/loader:492:36)
    at Module._findPath (node:internal/modules/cjs/loader:532:31)
    at Module._resolveFilename (node:internal/modules/cjs/loader:941:27)
    at Module._load (node:internal/modules/cjs/loader:803:27)
    at Module.require (node:internal/modules/cjs/loader:1021:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at Object.<anonymous> (/Users/remziy/FangcloudV2/personal_space.localized/working/Ballista/ballista/ui/scheduler/node_modules/postcss-safe-parser/lib/safe-parser.js:1:17) {
  code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'

Env:

remziy@remziy-mlt:scheduler$ yarn --version
1.22.19
remziy@remziy-mlt:scheduler$ node --version
v18.9.0

It could run successfully after I removed node_modules and yarn.lock

To Reproduce
Steps to reproduce the behavior:

Expected behavior
It should run successfully.

Additional context
Add any other context about the problem here.

@HaoYang670 HaoYang670 added the bug Something isn't working label Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant