You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With last versions of frida-compile I obtain again the exception "ParseError: 'import' and 'export' may appear only with 'sourceType: module'" that was fixed in #13.
By looking at the code in the repository it seems that the fix code in the pull request #13. is not present. Am I wrong?
Thank you a lot for your support and for your great job!
The text was updated successfully, but these errors were encountered:
If you encounter this issue while trying to include dependencies from npm, try npm installing them prior to running frida-build.
Edit: I played around with it some more, my previous suggestion wasn't very helpful. My situation is this:
I have a module based on frida-module-example, which imports frida-java-bridge/lib/android. Running frida-compile for that results in the error Cannot find module, but that is resolved after adding it as a dev dependency.
I then have an agent based on frida-agent-exmaple which imports myModule/foo/bar. In myModule/foo/bar there is an import statement, which is displayed in the error as described above. Importing just myModule, however, works.
I assume this is because using the nested import path results in the typescript file being used and not the compiled javascript file from the dist/ directory, but I really don't know.
Hi!
With last versions of frida-compile I obtain again the exception "ParseError: 'import' and 'export' may appear only with 'sourceType: module'" that was fixed in #13.
By looking at the code in the repository it seems that the fix code in the pull request #13. is not present. Am I wrong?
Thank you a lot for your support and for your great job!
The text was updated successfully, but these errors were encountered: