openwallet-foundation / bifold-wallet

Aries Mobile Agent React Native - Part of the Aries Bifold effort to provide SSI capabilities in a production ready app.
Apache License 2.0
144 stars 135 forks source link

Unable to run the agent on Linux machine #333

Closed realabbas closed 2 years ago

realabbas commented 2 years ago

I'm trying to run the agent on linux machine but I'm unable to do so.

The error occurs while installing dependencies npm install

@commitlint/cli not accessible from aries-bifold

Error Screenshot

MicrosoftTeams-image (7)

I've tried setting up the project and it works on the windows and mac machine

wYaobiz commented 2 years ago

You can try use sudo or run under root

JamesKEbert commented 2 years ago

Hi @realabbas, I've also run into this issue--I've only been able to get it to work by running npm install --legacy-peer-deps inside of ./core and then again inside of ./app, which is not exactly ideal.

cc: @cvarjao

cvarjao commented 2 years ago

What version of npm are you using? There has been some breaking changes to newer npm

JamesKEbert commented 2 years ago

Currently 8.12.1

cvarjao commented 2 years ago

I recommend using node 16.15.0 with npm 8.5.5. That is what we are using to test in GH Actions, I've had issues with newer npm. I don't know if it is worthwhile fix those npm issues, or just do the work to switch to yarn.

JamesKEbert commented 2 years ago

I think yarn as a base is a good idea--however often many libraries support both, so it may be worth creating an issue/work item to address the npm issues?

jleach commented 2 years ago

As per todays Bifold WG call we're closing stale our otherwise dormant issues. Please re-open if its still relevant.