Comments (2)
Try creating a file called tsconfig.json
in the project root directory and add this content:
{
"compilerOptions": {
"skipLibCheck": true
}
}
from frida-compile.
Hi @ychen96,
you can fix the issue by changing the import/export syntax in your NodeJS code from ES6 to ES5.
You can find many examples here:
https://marketplace.visualstudio.com/items?itemName=tlevesque.import-to-require
In your situation probably it is sufficient to change:
import { JNIInterceptor } from "jnitrace-engine";
into:
const JNIInterceptor = require("jnitrace-engine").JNIInterceptor
Federico
from frida-compile.
Related Issues (20)
- ..
- unable to resolve: tls, crypto, zlib, bufferutil, utf-8-validate HOT 8
- unable to use import statement HOT 2
- createSingleFileWatcherPerName was removed with TypeScript 4.9 HOT 1
- Folders with spaces don't work HOT 2
- Analysis into why importing doesn't work
- Is there any support for evaling compiled scripts? HOT 5
- Won't compile after importing external node libraries HOT 3
- How can I create intrinsics with a Frida script? HOT 3
- Error during frida-compile. HOT 1
- `session.create_script(path)` fails when importing from node_modules HOT 1
- how it's work ?! HOT 5
- Frida compile not reflesh index.ts when i edit index.ds
- Error "entrypoint must be inside the project root" HOT 2
- frida-server 16.0.8 build fail
- Folders with spaces don't work HOT 1
- Decompile HOT 2
- SyntaxError: Invalid or unexpected token HOT 1
- Duplicate identifier 'File' with @types/node 20.10.4 HOT 4
- Cannot parse the script to a eval
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frida-compile.