# NPM/Webpack situation of the JSROOT

**URL:** <https://root-forum.cern.ch/t/npm-webpack-situation-of-the-jsroot/38843>\
**Category:** Newbie\
**Tags:** jsroot\
**Created:** [April 12, 2020, 1:29pm UTC](https://root-forum.cern.ch/t/npm-webpack-situation-of-the-jsroot/38843 "2020-04-12T13:29:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nowakowp](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/nowakowp/32/19458_2.png) [@nowakowp](https://root-forum.cern.ch/u/nowakowp)\
**Post date:** [April 12, 2020, 1:29pm UTC](https://root-forum.cern.ch/t/npm-webpack-situation-of-the-jsroot/38843/1 "2020-04-12T13:29:19Z")

</div>

Dear ROOT developers,

are there any news regarding the npm issue? ([https://github.com/root-project/jsroot/issues/180](https://github.com/root-project/jsroot/issues/180))

Importing jsroot downloaded from npm repository (npm install jsroot) into my **vue.js** project via  
`import jsroot from "jsroot";`  
gives the error

```auto
These dependencies were not found:

* JSRoot3DPainter in ./node_modules/jsroot/scripts/JSRootGeoPainter.js
* JSRootCore in ./node_modules/jsroot/scripts/JSRoot.openui5.js, ./node_modules/jsroot/scripts/JSRootGeoBase.js and 8 others

```

is there maybe a workaround for this issue? I can’t really ditch the build system as my end goal is to have both web and an electron-based “native” app using shared source.

I wanted to have a technical-demo of a sort before creating a repository but I’ll create one with the code I have if this is going to provide any help.

---

<div class="post-metadata">

**Author:** ![linev](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/l/2bfe46/32.png) [@linev](https://root-forum.cern.ch/u/linev)\
**Post date:** [April 12, 2020, 8:41pm UTC](https://root-forum.cern.ch/t/npm-webpack-situation-of-the-jsroot/38843/2 "2020-04-12T20:41:27Z")

</div>

Hi,

Up to now there is no webpack support in JSROOT.  
It requires significant redesign of many components.  
I want to have it, but did not find time to make it.  
Any contributions are welcome.

Regards,  
Sergey
