Comments (8)
@antony That's done it ! thanks
from vudash.
This seem to be windows only issue, on linux it works as expected
from vudash.
Hi @Tomino2112
Thanks for the report - I've actually never tried to run it on Windows, which is probably why it doesn't work! I can see that the backslashes are turning their adjacent characters into escape-chars.
I'll see if I can find out how to fix this - but I'll have to find a windows machine first!
For now you could run it on Linux / Run it inside docker as a workaround.
from vudash.
Hi @antony I am actually still debugging it and so far tracked it to the rollup
package. I am not familiar with this module, maybe misconfiguration? You have a configuration-builder
there that dynamically creates the rollup config, maybe would be as easy as change the generated config?
from vudash.
Hmm - The rollup plugin responsible for composing the svelte components, which is what it looks like is failing on your system. Strange, as I'd expect rollup/rollup-plugin-svelte to work across all Operating Systems.
from vudash.
Right, you could fix the issue from your side, I have just done it but definitely not pretty solution.
In src/modules/dashboard/bundle-builder/index.js:25
I have added:
for(var i = 0; i < imports.length; i++){
imports[i] = imports[i].split("\\").join("/");
}
And that fixed the issue
from vudash.
HI,
So it seems that the way I dynamically write the dashboard js bundle is writing import strings and escaping them which means that \\
is being turned into \
.
What I've done is I've made a fix in 7.6.2
which pre-converts windows paths to unix paths (which windows understands as you've demonstrated above), so this should work on all platforms.
Give 7.6.2
a go and see if you have any luck :)
from vudash.
@antony Will do probably tomorrow
from vudash.
Related Issues (20)
- REST datasource - allow more formats than just JSON HOT 1
- Problem with the loading modules. HOT 6
- Changing dashboard JSON does not update until after restart HOT 1
- Documentation on how to create an in tree widget HOT 3
- Custom CSS via css file? HOT 1
- Offline history HOT 1
- emitter.emit('update') from constructor HOT 4
- Path to local assets? HOT 4
- Rotating dashboards? HOT 3
- How to build widget? HOT 2
- How to save dashboard? HOT 2
- Isβt possible
- Isβt possible to use custom theme and patterns? HOT 1
- Drag and Drop support. HOT 3
- Proxy support ? HOT 2
- Widget-status always showing "a few seconds" HOT 2
- error show on install HOT 1
- Add favicon support to dashboards HOT 1
- Demos are down HOT 5
- Docs are not accessible HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vudash.