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

frida-compile does not work with external modules #61

Open
Ouroboros opened this issue Jan 30, 2023 · 0 comments
Open

frida-compile does not work with external modules #61

Ouroboros opened this issue Jan 30, 2023 · 0 comments

Comments

@Ouroboros
Copy link

Ouroboros commented Jan 30, 2023

frida-compile version:

16.1.5

OS:

Windows 11

test.ts

https://www.npmjs.com/package/json5

import { parse } from 'json5';

console.log(parse);

compile cmd:

frida-compile test.ts -o test.js

frida output

SyntaxError: Could not find export 'parse' in module '/node_modules/json5/dist/index.mjs'

This code works on frida-compile 10.2.5

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