[ 
https://issues.apache.org/jira/browse/YUNIKORN-3196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18051729#comment-18051729
 ] 

Wilfred Spiegelenburg commented on YUNIKORN-3196:
-------------------------------------------------

Text based error message:
{code:java}
[vite] Internal server error: Failed to parse source for import analysis 
because the content contains invalid JS syntax. If you are using JSX, make sure 
to name the file with the .jsx or .tsx extension.
  Plugin: vite:import-analysis
  File: 
/Users/wilfred/repos/yunikorn/src/github.com/apache/yunikorn-web/LICENSE:1:0
  1  |
     |  ^
  2  |                                   Apache License
  3  |                             Version 2.0, January 2004
      at TransformPluginContext._formatLog 
(file:///Users/wilfred/repos/yunikorn/src/github.com/apache/yunikorn-web/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/config.js:31120:43)
      at TransformPluginContext.error 
(file:///Users/wilfred/repos/yunikorn/src/github.com/apache/yunikorn-web/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/config.js:31117:14)
      at TransformPluginContext.transform 
(file:///Users/wilfred/repos/yunikorn/src/github.com/apache/yunikorn-web/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/config.js:29567:10)
      at async EnvironmentPluginContainer.transform 
(file:///Users/wilfred/repos/yunikorn/src/github.com/apache/yunikorn-web/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/config.js:30919:14)
      at async loadAndTransform 
(file:///Users/wilfred/repos/yunikorn/src/github.com/apache/yunikorn-web/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/config.js:26057:26)
 {code}

> license link throws error
> -------------------------
>
>                 Key: YUNIKORN-3196
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-3196
>             Project: Apache YuniKorn
>          Issue Type: Bug
>          Components: webapp
>            Reporter: Wilfred Spiegelenburg
>            Priority: Major
>         Attachments: image-2026-01-14-20-20-52-804.png
>
>
> When running the webapp in dev mode the vite server throws an error when you 
> click the license link provided. Not sure if it happens when running in the 
> proper Go based web server we provide but we need to check this:
> !image-2026-01-14-20-20-52-804.png|width=492,height=186!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to