hainenber commented on issue #29658:
URL: https://github.com/apache/superset/issues/29658#issuecomment-2253732851

   > I got this too.
   > 
   > Manually adding it as a devDependency seems to work as a workaround for 
me. Though I am still having problems logging in as admin/admin. That was just 
a cookie issue.
   > 
   > ```diff
   > diff --git a/superset-frontend/package.json 
b/superset-frontend/package.json
   > index bb7a2face8..bba6bef5a7 100644
   > --- a/superset-frontend/package.json
   > +++ b/superset-frontend/package.json
   > @@ -226,6 +226,7 @@
   >      "@emotion/jest": "^11.11.0",
   >      "@hot-loader/react-dom": "^16.14.0",
   >      "@istanbuljs/nyc-config-typescript": "^1.0.1",
   > +    "@nx/nx-linux-x64-gnu": "^18.3.5",
   >      "@storybook/addon-actions": "^8.1.11",
   >      "@storybook/addon-controls": "^8.1.11",
   >      "@storybook/addon-essentials": "^8.1.11",
   > ```
   
   This wouldn't work on larger scale since people's machines are diverse in 
terms of OS and architecture. Here's what happened on my machine. 
   
   ```
   (#########⠂⠂⠂⠂⠂⠂⠂⠂⠂) ⠴ idealTree:@esri/calcite-components: timing id
   npm ERR! code EBADPLATFORM
   npm ERR! notsup Unsupported platform for @nx/[email protected]: wanted 
{"os":"linux","cpu":"x64"} (current: {"os":"darwin","cpu":"arm64"})
   npm ERR! notsup Valid os:   linux
   npm ERR! notsup Actual os:  darwin
   npm ERR! notsup Valid cpu:  x64
   npm ERR! notsup Actual cpu: arm64
   ```
   
   There's a heavy workaround in the linked PR but if that isn't ideal, I'll 
downgrade to Lerna 6 asap.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to