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 attempying to Generate Code #2444

Closed
2 tasks done
Willhoffman opened this issue Jun 11, 2024 · 16 comments · Fixed by #2501
Closed
2 tasks done

Error attempying to Generate Code #2444

Willhoffman opened this issue Jun 11, 2024 · 16 comments · Fixed by #2501
Labels
bug Something isn't working

Comments

@Willhoffman
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

I am using version 1.19.0 on Mac Apple Silicon.
As soon as I click on the "Generate Code" option I get an error that says:

Oops! Something went wrong

If you are using an official production build: the above error is most likely a bug!
Please report this under:https://github.com/usebruno/bruno/issues

.bru file to reproduce the bug

`meta {
name: Random US
type: http
seq: 1
}

get {
url: https://randomuser.me/api/?nat=us
body: none
auth: none
}

query {
nat: us
}
`

Screenshots/Live demo link

Screenshot 2024-06-11 at 4 13 19 PM

@Willhoffman Willhoffman added the bug Something isn't working label Jun 11, 2024
@fgrande
Copy link
Contributor

fgrande commented Jun 12, 2024

I have the same problem on the downloaded Bruno 1.19.0 (from homeBrew) - Previous release was working fine.

Instead, the forked repository looks working fine, it open the generation code panel.

@burkaman
Copy link

Same issue, same version, but running on Windows 11.

@kalimbra
Copy link

kalimbra commented Jun 12, 2024

Same here.
Bruno 1.19.0 (snap install) on Ubuntu 20.04

issue on all "scripts"

@burkaman
Copy link

The stack trace is:

framework-80ea8c0f440c6a32.js:9 TypeError: Cannot read properties of undefined (reading 'externalSecrets')
    at getExternalCollectionSecretsForActiveEnvironment (_app-92e2050d0799eab9.js:17:186595)
    at getAllVariables (_app-92e2050d0799eab9.js:17:186042)
    at CodeEditor.addOverlay (443-87262752453bea5b.js:1:100581)
    at CodeEditor.value (443-87262752453bea5b.js:1:104274)
    at lk (framework-80ea8c0f440c6a32.js:9:90626)
    at jk (framework-80ea8c0f440c6a32.js:9:111105)
    at framework-80ea8c0f440c6a32.js:9:111116
    at Qk (framework-80ea8c0f440c6a32.js:9:111628)
    at Fk (framework-80ea8c0f440c6a32.js:9:96297)
    at jg (framework-80ea8c0f440c6a32.js:9:44900)

I guess this must be a bug in Golden Edition code with the new vault integration feature, as I don't see that function in this repository. I am a free user.

@alexnum
Copy link

alexnum commented Jun 12, 2024

Same here

@hungdh0x5e
Copy link

+1

@jeffhall-wk
Copy link

+1

@gemiusz
Copy link

gemiusz commented Jun 14, 2024

+1
Confirmed on Windows:

image

@SteliosGiannatos
Copy link

+1

@pomelo-chuan
Copy link

  • 1 also recurrent in my mac
截屏2024-06-17 15 23 59

TypeError: Cannot read properties of undefined (reading 'externalSecrets')

@therox
Copy link

therox commented Jun 17, 2024

Fedora, flatpak, 1.19, same error here.

@vazome
Copy link

vazome commented Jun 22, 2024

same

@mstaal
Copy link

mstaal commented Jun 24, 2024

I have the same issue on Mac M1

@drchiodo
Copy link

drchiodo commented Jun 24, 2024

+1, Bruno 1.19.0 on Windows 11 (x64)

electron | : 21.1.1
chrome | : 106.0.5249.103
node | : 16.16.0
v8 | : 10.6.194.17-electron.0

@gustavogianordoli
Copy link

Same here, Fedora 40, Bruno 1.19.0, Flatpak. I also tested with appimage .

@emirozmen07
Copy link

Error doesn't appear on me anymore with version 1.34 in mac m2

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

Successfully merging a pull request may close this issue.