Skip to content

npm link frida-java-bridge cannot read file on windows #104

Description

@AeonLucid

Doing this

$ git clone https://github.com/frida/frida-java-bridge.git
$ cd frida-java-bridge
$ npm install
$ npm link

And then

$ git clone https://github.com/oleavr/frida-agent-example
$ cd frida-agent-example
$ npm install
$ npm link frida-java-bridge

And then

npm run build

Gives

> frida-compile agent/index.ts -o _agent.js -c

agent\index.ts:3:18 - error TS-1: Cannot read file "node_modules/frida-java-bridge": Incorrect function.
Compilation failed

This was on Windows 11.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions