dino213dz Posted March 1, 2021 Share Posted March 1, 2021 Hello all, I tried to create a module using the github repository : https://github.com/hak5/mk7-modules First, the example module doesn't seem to work: Entropy bunny couldn't find that The i tried to create my Own module. I executed the "create.sh" scripts that reported some errors : " - sed: -i requires and argument" (two times) then asks me if i would like to prepare the angular workspace : Yes of course Then another error: NPM does not appear to be installed on this system. Failed to create workspace. When i go back to the web interface, i have the same error as the example module: Entropy bunny couldn't find that I checked the script to debug this NPM issue. I found the line 87 and 92: "if ! command -v npm; echo...error" and "npm install" i searched for npm i(node package manager) but nothing is installed on my pineapple 1.0.2 i tried to find the package on openwrt repositories but nothing there either : https://downloads.openwrt.org/releases/19.07.3/packages/mips_24kc/packages/ can't install it using opkg Tthe Pineapple was reset to factory default too Any solution? Thanks in advance for your help Quote Link to comment Share on other sites More sharing options...
dino213dz Posted March 1, 2021 Author Share Posted March 1, 2021 erratum: https://downloads.openwrt.org/releases/19.07.3/packages/mipsel_24kc/packages/ Quote Link to comment Share on other sites More sharing options...
chrizree Posted March 1, 2021 Share Posted March 1, 2021 I haven't started playing with developing modules of my own yet, but... I think you should develop on some other device than the Pineapple itself. Quote Link to comment Share on other sites More sharing options...
jess4140 Posted March 4, 2021 Share Posted March 4, 2021 On 3/1/2021 at 11:15 AM, dino213dz said: Hello all, I tried to create a module using the github repository : https://github.com/hak5/mk7-modules First, the example module doesn't seem to work: Entropy bunny couldn't find that The i tried to create my Own module. I executed the "create.sh" scripts that reported some errors : " - sed: -i requires and argument" (two times) then asks me if i would like to prepare the angular workspace : Yes of course Then another error: NPM does not appear to be installed on this system. Failed to create workspace. When i go back to the web interface, i have the same error as the example module: Entropy bunny couldn't find that I checked the script to debug this NPM issue. I found the line 87 and 92: "if ! command -v npm; echo...error" and "npm install" i searched for npm i(node package manager) but nothing is installed on my pineapple 1.0.2 i tried to find the package on openwrt repositories but nothing there either : https://downloads.openwrt.org/releases/19.07.3/packages/mips_24kc/packages/ can't install it using opkg Tthe Pineapple was reset to factory default too Any solution? Thanks in advance for your help Did you install the dependencies... CREATING A MODULE To start, make sure that you have python3, nodeJS and npm installed to your system. Then, fork the WiFi Pineapple Mark VII Modules git repository. Inside this repository, each module has it's own folder which contains the source-code for the front-end and back-end. The repository also contains a script called create.sh, which will guide you through module generation. Quote Link to comment Share on other sites More sharing options...
Uber-hackers Posted March 21, 2021 Share Posted March 21, 2021 (edited) @dino213dz A guide for those not familiar with Linux might help. Got to remember ppl are here to learn. Edited March 21, 2021 by Uber-hackers Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.