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

Error invoking remote method 'send-http-request': VMError: Cannot find module '@faker-js/faker' #3480

Open
2 tasks done
ashameem123 opened this issue Nov 13, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@ashameem123
Copy link

I have checked the following:

  • I use the newest version of bruno.
  • I've searched existing issues and found nothing related to my issue.

Describe the bug

How to use faker for generating random data in our request??

Using this guide to insatll and use faker library:

https://docs.usebruno.com/scripting/external-libraries

.bru file to reproduce the bug

NA

Screenshots/Live demo link

NA

@ashameem123 ashameem123 added the bug Something isn't working label Nov 13, 2024
@cyrilgeorge153
Copy link

@ashameem123 Can I know which Javascript sandbox mode you are using. If you are using safe mode you will get this error. If that's the case switch to developer mode and check again.

@sreelakshmi-bruno sreelakshmi-bruno self-assigned this Nov 14, 2024
@ashameem123
Copy link
Author

@ashameem123 Can I know which Javascript sandbox mode you are using. If you are using safe mode you will get this error. If that's the case switch to developer mode and check again.

I am using Developer mode.

@ashameem123
Copy link
Author

@sreelakshmi-bruno - Any help is greatly appreciated.

@sreelakshmi-bruno
Copy link
Collaborator

sreelakshmi-bruno commented Nov 18, 2024

Hi @ashameem123 , I tried faker for generating random data using the guide in the docs and it works fine for me. Can you share the collection if possible for me to test it out?

@sreelakshmi-bruno
Copy link
Collaborator

See here
Screenshot 2024-11-19 at 2 28 30 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants