swiftfiddle-web icon indicating copy to clipboard operation
swiftfiddle-web copied to clipboard

npm install fails due to fontawesome icons

Open runofthemillgeek opened this issue 8 months ago • 1 comments

I tried to take a stab at fixing the issue I raised recently but after cloning this project and running npm install, I'm getting auth errors:

npm warn deprecated [email protected]: This package is now deprecated. Move to @xterm/addon-fit instead.
npm warn deprecated [email protected]: This package is now deprecated. Move to @xterm/addon-web-links instead.
npm warn deprecated [email protected]: This package is now deprecated. Move to @xterm/xterm instead.
npm error code E401
npm error Incorrect or missing password.
...

I believe this is due to the use of Font Awesome Pro icons in the project, which requires a Pro account to consume the npm lib. I had two questions in regards to this:

  1. Is there a way to get Font Awesome Pro license for this project for free so that others can try and contribute?
  2. If not, could you consider moving away from Font Awesome Pro to a free/OSS friendly alternative?
  3. Is there any other way to develop this project locally?

runofthemillgeek avatar Mar 28 '25 10:03 runofthemillgeek

Is there a way to get Font Awesome Pro license for this project for free so that others can try and contribute?

I have no idea how to do that. There may be something like an OSS License? But I have no idea.

If not, could you consider moving away from Font Awesome Pro to a free/OSS friendly alternative?

It would be nice if we could move to a free version or another free resource, but it would take a lot of time to investigate, and I don't have that time. Pull Requests are welcomed of course.

Is there any other way to develop this project locally?

First, delete the Font Awesome Pro line from package.json. Then, delete the icons that refer to pro resources from icons.js. If it's too much bother, comment out all of icons.js.

kishikawakatsumi avatar Mar 29 '25 06:03 kishikawakatsumi