-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
You may need an additional loader to handle the result of these loaders. - occurs for useHead #708
Comments
I got the same error on build (dev is ok). But, you save my life with this trick: Edit: since I upgraded my project to the latest nuxt 2 & nuxt-bridge, I got this error (and hot reload is dead):
|
Getting the same error and the above change also helped us: |
I have the same error |
I have the same error :( |
I have the same error, adding |
Sorry . export default defineNuxtConfig({
build: {
// @ts-ignore
transpile: ['iron-webcrypto', 'unhead'],
},
}) |
This problem has been resolved in the latest version. |
@nuxt/bridge3.0.0-28177393.984ce7c
I had to use
to prevent this same issue. |
Environment
Linux
v16.14.2
2.16.1
1.0.0
[email protected]
webpack
ssr
,bridge
,head
,css
,plugins
,components
,modules
,build
,serverHandlers
,devServerHandlers
,devServer
,typescript
,buildModules
-
()
,@nuxt/[email protected]
Reproduction
https://stackblitz.com/edit/nuxt-starter-luqjvz?file=nuxt.config.ts
npm run dev
ornpm run build
Describe the bug
The latest nuxt-bridge outputs an error when useHead is used.
"@vueuse/head": "^1.0.25"
It also outputs an error if useHead is not used.
The following methods can be used to avoid this, albeit temporarily.
Additional context
I think this error is occurring because
optional chaining
is not available in webpack 4.Logs
The text was updated successfully, but these errors were encountered: