The simplest method is to use Verdaccio.
Step 1: Install Verdaccio npm install -g verdaccio
Step 2: Run it with the command verdaccio
Step 3: Configure npm to use Verdaccio
npm set registry http://localhost:4873/
npm set strict-ssl false
npm set package-lock false
npm loginLog in using: Username: admin Password: admin
Step 4: Run npm unpublish && npm publish inside the frida-java-bridge folder to update Verdaccio.
Step 5: Build Frida as usual.
Note:
- Every time you update
frida-java-bridge, you need to repeat Step 4 to update Verdaccio. - Ensure Verdaccio is running throughout the entire process.