Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tiny guide for NPM and VSC? #94

Open
IlluminatiWave opened this issue Jun 5, 2024 · 0 comments
Open

Tiny guide for NPM and VSC? #94

IlluminatiWave opened this issue Jun 5, 2024 · 0 comments

Comments

@IlluminatiWave
Copy link

I wanted to install the NPM version to be able to access the Frida syntax in a typescript script, but I had problems.

  1. There is no way to run the module from the global environment (npm install -g frida).

  2. Install it in the “project” (I had to create a new folder just for the script and convert it to vsc project) it detects it, but it doesn't find the syntax.

I tried using

import * as frida from 'frida';

but it tells me that

The property 'Process' does not exist in type 'typeof import(“d:/New folder (2)/node_modules/frida/dist/index”)'.ts(2339)

in short, I cannot access the simple

const module = Process.findModuleByName(moduleName);

because it does not exist, either process or findModuleByName inside the npm module.

PS D:\New folder (2)> npm list --depth=0
New folder (2)@ D:\New folder (2)
├── [email protected]
└── [email protected]

@IlluminatiWave IlluminatiWave changed the title Tyny guide for NPM and VSC? Tiny guide for NPM and VSC? Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant