GlobalNOC / globalnoc-networkmap-panel

A network map panel for Grafana
Other
196 stars 29 forks source link

Can't install the plugins #101

Open modogo2000 opened 4 years ago

modogo2000 commented 4 years ago

I try to install the plugins but I have this error : What are step for install this plugin

$ npm run build

Network-Map@1.1.3 build C:\Users\jmanset\Downloads\globalnoc-networkmap-panel gulp

fs.js:27 const { Math, Object } = primordials; ^

ReferenceError: primordials is not defined at fs.js:27:26 at req_ (C:\Users\bazinlougi\Downloads\globalnoc-networkmap-panel\node_modules\natives\index.js:143:24) at Object.req [as require] (C:\Users\bazinlougi\Downloads\globalnoc-networkmap-panel\node_modules\natives\index.js:55:10) at Object. (C:\Users\bazinlougi\Downloads\globalnoc-networkmap-panel\node_modules\vinyl-fs\node_modules\graceful-fs\fs.js:1:37) at Module._compile (internal/modules/cjs/loader.js:945:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:962:10) at Module.load (internal/modules/cjs/loader.js:798:32) at Function.Module._load (internal/modules/cjs/loader.js:711:12) at Module.require (internal/modules/cjs/loader.js:838:19) at require (internal/modules/cjs/helpers.js:74:18) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! Network-Map@1.1.3 build: gulp npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the Network-Map@1.1.3 build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

sreemukha commented 4 years ago

Could you please make sure you are using Node v6.xx.x and npm v3.10.10 to build the project.

modogo2000 commented 4 years ago

Hello,

Do you have a way to use it with node 12 ?

Best regards

sreemukha commented 4 years ago

Hello @modogo2000

We are working on a 2.0 rev of this which will be supported by the latest versions of Node that would be available in the near future. This version, however, has some breaking changes with Node versions 7 and above and hence we recommend using Node 6.x.x.

You could run multiple versions of Node and switch between them easily using the NVM (Node Version Manager). Hope this helps.

Thank you!

modogo2000 commented 4 years ago

Hello,

Thank you for you answer.

For the 2.0 do you think more begining of the year or during the year ?

Best regards

amotl commented 4 years ago

Dear @modogo2000 and @sreemukha,

Do you have a way to use it with node 12?

Please have a look at #117 for a quick workaround when using a more recent version of Node.js. Maybe this helps in the interim until rev2.0 will be released.

With kind regards, Andreas.