Just scaffolded a new project and upon npm start I...
# help
s
Just scaffolded a new project and upon npm start I'm not getting API endpoint. Let me know if more details are required
m
in the terminal you mean?
s
In the terminal I'm not getting the apiEndpoint. From console I tried triggering the function, there too it showed an error
m
@Shubham Sinha add this in
MyStack.js
at bottom
Copy code
stack.addOutputs({
    ApiEndpoint: api.url,
  });
s
I can see the output but when invoked it crashed
b
What errors can you see your browser's console?
m
that's seems to be related to your local go installation rather than a logic error
s
It worked. Vscode was not picking up go env
Thanks