Milk-Cool / flippulator

A simulator for the Flipper Zero
MIT License
55 stars 3 forks source link

how do is use this? #2

Closed bobeatsshit closed 11 months ago

bobeatsshit commented 11 months ago

i am not very new to linux but i don't know how to comile or build this project and some commands like make or npm start will give lots of errors.

Milk-Cool commented 11 months ago

hello. what errors exactly? and did you specify the path to the app you want to build?

bobeatsshit commented 11 months ago

well i want to try to use ble spam from the xtreme firmware from the flipper zero and when i give npm start i don't know if i have to give more arguments it gives this error

flippulator@0.1.0 start node index.js

internal/modules/cjs/loader.js:818 throw err; ^

Error: Cannot find module 'node:util' Require stack:

hope this helps a bit

Milk-Cool commented 11 months ago

firstly, you'll need to run npm i before building anything to install the nodejs dependencies. secondly, you might be using an outdated version of nodejs since it doesn't have util. and finally, bluetooth is not supported yet, so you'll have to wait

bobeatsshit commented 11 months ago

ok thanks also npm is the latest version(8.5.1~ds-1)