-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
No helpful logs in console when using nuxt bridge on a fresh nuxt 2 project. #206
Comments
Reproduction: https://stackblitz.com/github/ayalon/nuxt2-brigde-console-log |
@ayalon Your reproduction was not actually using Bridge, just import { defineNuxtConfig } from '@nuxt/bridge'
export default defineNuxtConfig({
// ...
}) |
Thanks for the help! This was a mistake on my side. But I still think, that a lot of console logging is missing. We have a module that does a lot of logs but non of them are displayed with nuxt bridge. I also had a code error in a module but instead of displaying the error, just nothing was displayed. Is there an option to enable logging from nuxt modules and nuxt server middleware plugins with nuxt bridge? |
@ayalon We had a regression in nuxt-edge (on std-env) that caused hiding most of the logs. Would you mind upgrading to latest |
This seems to still be happening on the latest version. Only |
Environment
Nuxt project info: 17:26:23
Linux
v16.13.0
2.16.0-27266415.3ab12f9f
npm@8.1.0
Webpack
head
,css
,plugins
,components
,buildModules
,modules
,axios
,build
,bridge
@nuxtjs/axios@5.13.6
@nuxt/typescript-build@2.1.0
Describe the bug
I created a new nuxt2 project with
npx create-nuxt-app nuxt2-app
. Then I followed the documentation and upgraded it to"nuxt-edge": "latest"
added the bridge module and did the suggested config changes:https://v3.nuxtjs.org/getting-started/bridge/
When doing a
npm run dev
i have no output except this:If I do a nuxt build I have this output:
Is it really true, that I have no error logs and no feedback at all? Not even a file change triggers a message in the command line.
Reproduction
Here is a full repo, that show, that NO console output from the plugin is generated. I added the most simple plugin and called some console output but it is not displayed at all.
https://stackblitz.com/github/ayalon/nuxt2-brigde-console-log
Additional context
Is there an option to show the usual logs as in nuxt2?
Logs
No response
The text was updated successfully, but these errors were encountered: