Replies: 9 comments 3 replies
-
This is an awkward npm check indeed. There's already esbuild-wasm which |
Beta Was this translation helpful? Give feedback.
-
Hi Martin,
I've run that, but it doesn't work. That errors out too.
Kind Regards,
Samuel
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Martin Pitt ***@***.***>
Sent: Friday, June 21, 2024 5:08:20 PM
To: cockpit-project/cockpit-files ***@***.***>
Cc: ruzam18 ***@***.***>; Author ***@***.***>
Subject: Re: [cockpit-project/cockpit-files] Build help (Discussion #583)
This is an awkward npm check indeed. There's already esbuild-wasm which ./build.js will use, but that silly check breaks it. As a workaround, please run tools/node-modules install. If that doesn't work for some reason, you can also run npm install.
—
Reply to this email directly, view it on GitHub<#583 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AITXWF4BGUUUZ2W4CW2XTYLZIOYMJAVCNFSM6AAAAABJUYZFT6VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TQMZVGY2TS>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I'm not a developer, I'm a fiddler! I normally use Fedora, but have to use Debian for this.
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Samuel Forrest ***@***.***>
Sent: Friday, June 21, 2024 5:25:32 PM
To: cockpit-project/cockpit-files ***@***.***>; cockpit-project/cockpit-files ***@***.***>
Cc: Author ***@***.***>
Subject: Re: [cockpit-project/cockpit-files] Build help (Discussion #583)
Hi Martin,
I've run that, but it doesn't work. That errors out too.
Kind Regards,
Samuel
Get Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: Martin Pitt ***@***.***>
Sent: Friday, June 21, 2024 5:08:20 PM
To: cockpit-project/cockpit-files ***@***.***>
Cc: ruzam18 ***@***.***>; Author ***@***.***>
Subject: Re: [cockpit-project/cockpit-files] Build help (Discussion #583)
This is an awkward npm check indeed. There's already esbuild-wasm which ./build.js will use, but that silly check breaks it. As a workaround, please run tools/node-modules install. If that doesn't work for some reason, you can also run npm install.
—
Reply to this email directly, view it on GitHub<#583 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AITXWF4BGUUUZ2W4CW2XTYLZIOYMJAVCNFSM6AAAAABJUYZFT6VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TQMZVGY2TS>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I've done that too.
It hangs up again on a non arm64 library.
I've looked through the code but can't find the x64 reference for Debian.
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Martin Pitt ***@***.***>
Sent: Friday, June 21, 2024 5:37:22 PM
To: cockpit-project/cockpit-files ***@***.***>
Cc: ruzam18 ***@***.***>; Author ***@***.***>
Subject: Re: [cockpit-project/cockpit-files] Build help (Discussion #583)
Try:
rm -rf node_modules
npm install
—
Reply to this email directly, view it on GitHub<#583 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AITXWFZYNIYPN44VYC62HQLZIO3ZFAVCNFSM6AAAAABJUYZFT6VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TQMZVHA2DQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
So I do npm install, make. NPM works, make is where it dies.
Can I build the artifacts without make?
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Martin Pitt ***@***.***>
Sent: Friday, June 21, 2024 5:52:50 PM
To: cockpit-project/cockpit-files ***@***.***>
Cc: ruzam18 ***@***.***>; Author ***@***.***>
Subject: Re: [cockpit-project/cockpit-files] Build help (Discussion #583)
Sorry then, I can't think of anything else. packages.json has nothing specific to x86_64 -- If a mere npm install esbuild doesn't work on ARM, that's a bug for https://github.com/evanw/esbuild/issues
—
Reply to this email directly, view it on GitHub<#583 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AITXWF7MO7RUYUKVUDIOVK3ZIO5TFAVCNFSM6AAAAABJUYZFT6VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TQMZVHEZTS>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Yeah, I checked that too.
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Martin Pitt ***@***.***>
Sent: Friday, June 21, 2024 5:52:50 PM
To: cockpit-project/cockpit-files ***@***.***>
Cc: ruzam18 ***@***.***>; Author ***@***.***>
Subject: Re: [cockpit-project/cockpit-files] Build help (Discussion #583)
Sorry then, I can't think of anything else. packages.json has nothing specific to x86_64 -- If a mere npm install esbuild doesn't work on ARM, that's a bug for https://github.com/evanw/esbuild/issues
—
Reply to this email directly, view it on GitHub<#583 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AITXWF7MO7RUYUKVUDIOVK3ZIO5TFAVCNFSM6AAAAABJUYZFT6VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TQMZVHEZTS>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Rephrase. Esbuild with Cockpit is selecting the x86 library on arm64 when the arm library is present.
Samuel
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Martin Pitt ***@***.***>
Sent: Friday, June 21, 2024 5:52:50 PM
To: cockpit-project/cockpit-files ***@***.***>
Cc: ruzam18 ***@***.***>; Author ***@***.***>
Subject: Re: [cockpit-project/cockpit-files] Build help (Discussion #583)
Sorry then, I can't think of anything else. packages.json has nothing specific to x86_64 -- If a mere npm install esbuild doesn't work on ARM, that's a bug for https://github.com/evanw/esbuild/issues
—
Reply to this email directly, view it on GitHub<#583 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AITXWF7MO7RUYUKVUDIOVK3ZIO5TFAVCNFSM6AAAAABJUYZFT6VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TQMZVHEZTS>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I'll look into it tomorrow, . Thankyou Martin. Apologies for my non-developer angle.
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Samuel Forrest ***@***.***>
Sent: Friday, June 21, 2024 6:02:09 PM
To: cockpit-project/cockpit-files ***@***.***>
Subject: Re: [cockpit-project/cockpit-files] Build help (Discussion #583)
Rephrase. Esbuild with Cockpit is selecting the x86 library on arm64 when the arm library is present.
Samuel
Get Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: Martin Pitt ***@***.***>
Sent: Friday, June 21, 2024 5:52:50 PM
To: cockpit-project/cockpit-files ***@***.***>
Cc: ruzam18 ***@***.***>; Author ***@***.***>
Subject: Re: [cockpit-project/cockpit-files] Build help (Discussion #583)
Sorry then, I can't think of anything else. packages.json has nothing specific to x86_64 -- If a mere npm install esbuild doesn't work on ARM, that's a bug for https://github.com/evanw/esbuild/issues
—
Reply to this email directly, view it on GitHub<#583 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AITXWF7MO7RUYUKVUDIOVK3ZIO5TFAVCNFSM6AAAAABJUYZFT6VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TQMZVHEZTS>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
same question 😭 |
Beta Was this translation helpful? Give feedback.
-
Hi there -
I'm trying to build this on Debian arm64, running into this:
"Specifically the "@esbuild/linux-x64" package is present but this platform
needs the "@esbuild/linux-arm64" package instead."
I notice there was a similar issue on fedora: https://github.com/cockpit-project/cockpit-files/commit/84d8dc5db00a490b1d656177fd25ec26d1396e79
Wondered if someone could help me figure this out? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions