Replies: 2 comments 4 replies
-
I'm perplexed by this: "highcharts/modules/.js" (empty file name?) |
Beta Was this translation helpful? Give feedback.
4 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Installed Versions:
Nuxt 3.10.3
nuxt-highcharts: 3.1.1
Problem
I have installed nuxt-highcharts and added the dependency in the nuxt.config.ts file like this:
export default defineNuxtConfig({ modules: [ 'nuxt-highcharts' ], })
When I now run
nuxt build
I get the following error:ERROR Nuxt Build Error: [vite]: Rollup failed to resolve import "highcharts/modules/.js" from "virtual:nuxt:/frontend/.nuxt/nuxt-highcharts.hcMods.js".
The weird thing is, that there isn't any
nuxt-highcharts.hcMods.js
file inside the.nuxt
folder. Has anyone an idea what the problem could be and can help me with it?Beta Was this translation helpful? Give feedback.
All reactions