# PageBuilder dev: JS/CSS requests 404 at :5173 (KNIME AP 5.4.3)

**URL:** <https://forum.knime.com/t/pagebuilder-dev-js-css-requests-404-at-5173-knime-ap-5-4-3/89638>\
**Category:** KNIME Extensions\
**Tags:** text-processing\
**Created:** [August 19, 2025, 4:56am UTC](https://forum.knime.com/t/pagebuilder-dev-js-css-requests-404-at-5173-knime-ap-5-4-3/89638 "2025-08-19T04:56:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![user30](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/u/ed655f/32.png) [@user30](https://forum.knime.com/u/user30)\
**Post date:** [August 19, 2025, 4:56am UTC](https://forum.knime.com/t/pagebuilder-dev-js-css-requests-404-at-5173-knime-ap-5-4-3/89638/1 "2025-08-19T04:56:59Z")

</div>

**Environment**

- KNIME Analytics Platform: 5.4.3 - 2024-12 release
- PageBuilder: open-source repo, dev setup per README
- Node.js: v20.19.4
- OS: Windows 11

**Goal/Context**

Within a Component we use two Interactive Value Filter Widgets and JavaScript Views (Scatter/Table).

Issue

When the dev server is running, the view attempts to load Scatter Plot JS/CSS from the dev base URL ([http://localhost:5173/…](http://localhost:5173/).) and returns 404.

Reproduction

1. Set up PageBuilder dev environment strictly following the README.

2. Open the Component’s Interactive View in KNIME AP 5.4.3 (which routes to the dev server).

3. In the browser Network tab, asset requests (Plotly/view assets) target :5173 and fail with 404.

**Error samples**

GET [http://localhost:5173/](http://localhost:5173/)/… 404  
GET [http://localhost:5173/](http://localhost:5173/)/… 404

**Hypothesis**  
resourceBaseUrl for PageBuilder is not injected into the Vuex store, so the static asset base path resolves to the dev root and breaks.

**What we’ve tried**

Rebuilt dev per README; cleared caches; checked proxy/port.

Experimented with Vite base/public path prefixes.

Inspected the store: resourceBaseUrl appears undefined/missing in dev.

**Questions**

1. In dev mode, what is the recommended way to inject/configure resourceBaseUrl (env var, config file, query param, global object, etc.)?

2. What is the minimal/working configuration for PageBuilder to load view plugin assets (JS/CSS)? If possible, please share a sample Vite config (e.g., base/publicPath/asset prefix) or a snippet that demonstrates the correct setup.

3. Are there recommended project structure / build scripts / Vite settings for PageBuilder in dev to ensure asset URLs resolve correctly?

**References**

We’re looking at pagebuilder/src/store/interactivity.js and the knimeService API.

Happy to provide logs, screenshots, or a repro workflow if helpful. Thanks in advance!

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [November 17, 2025, 4:57am UTC](https://forum.knime.com/t/pagebuilder-dev-js-css-requests-404-at-5173-knime-ap-5-4-3/89638/2 "2025-11-17T04:57:59Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
