Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install plugin on CentOS Linux release 7.7.1908 (Core) #102

Closed
Justmfree opened this issue Jan 23, 2020 · 2 comments
Closed

Can't install plugin on CentOS Linux release 7.7.1908 (Core) #102

Justmfree opened this issue Jan 23, 2020 · 2 comments

Comments

@Justmfree
Copy link

i have problem on installation:
logs:
1. NPM install

npm WARN Network-Map@1.1.3 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@0.3.8 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@0.3.8: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

audited 8518 packages in 16.636s

2. npm install gulp -g

/usr/bin/gulp -> /usr/lib/node_modules/gulp/bin/gulp.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules/gulp/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

  • gulp@4.0.2
    updated 1 package in 20.196s

3. npm run build

Network-Map@1.1.3 build /var/lib/grafana/plugins/globalnoc-networkmap-panel
gulp

fs.js:35
} = primordials;
^

ReferenceError: primordials is not defined
at fs.js:35:5
at req_ (/var/lib/grafana/plugins/globalnoc-networkmap-panel/node_modules/natives/index.js:143:24)
at Object.req [as require] (/var/lib/grafana/plugins/globalnoc-networkmap-panel/node_modules/natives/index.js:55:10)
at Object. (/var/lib/grafana/plugins/globalnoc-networkmap-panel/node_modules/vinyl-fs/node_modules/graceful-fs/fs.js:1:37)
at Module._compile (internal/modules/cjs/loader.js:1151:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1171:10)
at Module.load (internal/modules/cjs/loader.js:1000:32)
at Function.Module._load (internal/modules/cjs/loader.js:899:14)
at Module.require (internal/modules/cjs/loader.js:1040:19)
at require (internal/modules/cjs/helpers.js:72: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.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-01-23T03_57_50_772Z-debug.log

  1. Error Loading Plugin ; Grafana v6.5.3 (commit: 05025c5)
    image

any suggestions ?

@Justmfree
Copy link
Author

i think problem is solved after i install lower node version: sudo n 11.15.0

@amotl
Copy link

amotl commented Nov 13, 2020

Dear @Justmfree,

Please have a look at #117 for a quick workaround when using a more recent version of Node.js.

With kind regards,
Andreas.

amotl pushed a commit to panodata/globalnoc-networkmap-panel that referenced this issue Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants