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

Does not generate the code #2483

Closed
2 tasks done
GianPierree opened this issue Jun 18, 2024 · 14 comments
Closed
2 tasks done

Does not generate the code #2483

GianPierree opened this issue Jun 18, 2024 · 14 comments
Labels
bug Something isn't working

Comments

@GianPierree
Copy link

GianPierree commented Jun 18, 2024

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 Bruno on Linux and I installed it through snap, but when I want to generate the code to export I get an error.

.bru file to reproduce the bug

Screenshots/Live demo link

Error:
image

image

@GianPierree GianPierree added the bug Something isn't working label Jun 18, 2024
@bpoulaindev
Copy link
Contributor

bpoulaindev commented Jun 19, 2024

Is there any error that shows up when you open the Chrome Console within Bruno ?

@rammanokar-plateron
Copy link

I'm getting the same error too. Here are the logs from the Chrome console.

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)
Mi @ framework-80ea8c0f440c6a32.js:9
Ri.o.componentDidCatch.a.callback @ framework-80ea8c0f440c6a32.js:9
ih @ framework-80ea8c0f440c6a32.js:9
lk @ framework-80ea8c0f440c6a32.js:9
jk @ framework-80ea8c0f440c6a32.js:9
(anonymous) @ framework-80ea8c0f440c6a32.js:9
Qk @ framework-80ea8c0f440c6a32.js:9
Fk @ framework-80ea8c0f440c6a32.js:9
jg @ framework-80ea8c0f440c6a32.js:9
(anonymous) @ framework-80ea8c0f440c6a32.js:9

@bpoulaindev
Copy link
Contributor

Probably a "?" missing somewhere like data?.externalSecrets
Could have been prevented by using Typescript once again.
This is a part of code located in the golden edition part so there's nothing the community can do

@GianPierree
Copy link
Author

In version 1.18 it works correctly.

@GianPierree
Copy link
Author

Is there any error that shows up when you open the Chrome Console within Bruno ?

How can I open the Chrome console from Bruno?

@GianPierree
Copy link
Author

Probably a "?" missing somewhere like data?.externalSecrets Could have been prevented by using Typescript once again. This is a part of code located in the golden edition part so there's nothing the community can do

How can I solve it?

@bpoulaindev
Copy link
Contributor

Is there any error that shows up when you open the Chrome Console within Bruno ?

How can I open the Chrome console from Bruno?

You can use the three little dots in the top left corner of the app, and select "Chrome Console"

@kogamas
Copy link

kogamas commented Jun 19, 2024

I'm getting the same error too. Here are the logs from the Chrome console.

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)
Mi @ framework-80ea8c0f440c6a32.js:9
Ri.o.componentDidCatch.a.callback @ framework-80ea8c0f440c6a32.js:9
ih @ framework-80ea8c0f440c6a32.js:9
lk @ framework-80ea8c0f440c6a32.js:9
jk @ framework-80ea8c0f440c6a32.js:9
(anonymous) @ framework-80ea8c0f440c6a32.js:9
Qk @ framework-80ea8c0f440c6a32.js:9
Fk @ framework-80ea8c0f440c6a32.js:9
jg @ framework-80ea8c0f440c6a32.js:9
(anonymous) @ framework-80ea8c0f440c6a32.js:9

I get basically the same stack trace.

It's broken on Apple Silicon too.
only downgrade to 1.18.1 (last working version) helped.

@therealrinku
Copy link
Contributor

same issues: #2444 #2454

@jose-cavalheri
Copy link

Same error after upgrade: Latest version

image

@jwetzell
Copy link
Contributor

The string externalSecrets doesn't appear anywhere in the source code......

@VictorioBerra
Copy link

Same, blows up after I updated to 1.19.0

@GianPierree
Copy link
Author

Thank you very much for your answers. I solved the problem by installing version 1.18.

@mstaal
Copy link

mstaal commented Jun 24, 2024

I am having the same issue. I hope it will soon be resolved.

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

9 participants