I want to modify passbolt visually, but I can’t even install npm modules in my local development environment.
More specifically I want to modify passbolt styleguide and use it to make a fork of the browser extension. I am following the github instructions for developers, but after many tries I keep getting errors installing npm modules for both (styleguide, and browser extension).
Passbolt Styleguide:
Install grunt: npm install -g grunt-cli
That goes well
Install the needed modules defined in the grunt config: npm install
And then I start getting too many errors and warnings in console that I end up not knowing what needs to be fixed. The debug log is over 6.000 lines, I uploaded it into a gist so you can look it properly. I really need help, or at least some guide that could help me troubleshoot this.
Also, forking the styleguide and beginning development is considered advanced and as a result support in the forum for this is likely to be limited. But I think it’s great you are doing it and definitely would not discourage you to try to build it. Best of luck!
but it didn’t work. My npm version is already the latest one, “node_modules” folder didn’t get to be created, and I even tried to delete “package-lock.json”, but I think it’s supposed to be used in order for the installation to be the same for everyone.
Hi @max, 8.1 is the latest npm version, but apparently as you said it was “pretty advance” I don’t know why. I downgraded npm to your version (6.14.15) and the installation of passbolt styleguide went flawlessly. Thought passbolt browser extension installation keeps giving me errors.
The new problems are the following:
Passbolt styleguide
Instalattion went ok, grunt watch works fine, but npm run start-app-dev-server gives me an error related to webpack.
I made this gist with the errors that npm run start-app-dev-server gives me, and the summary of npm run test.
Instalattion keeps giving me errors, but they changed since I am using another npm version. I am currently trying to fix them from what I can troubleshoot, I will update you with this as soon as I can.