Comments (1)
i am also facing similar issue
[email protected] postinstall /usr/local/lib/node_modules/diagrams/node_modules/electron
node install.js
internal/modules/cjs/loader.js:905
throw err;
^
Error: Cannot find module '/usr/local/lib/node_modules/diagrams/node_modules/electron/install.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
at Function.Module._load (internal/modules/cjs/loader.js:746:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12)
at internal/main/run_main_module.js:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/diagrams/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall 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/2023-03-30T11_14_18_578Z-debug.log
from diagrams.
Related Issues (20)
- idea: separate `diagrams build` call HOT 1
- install on win HOT 2
- CLI hangs on rendering sequence diagrams, but works with flowcharts HOT 6
- Add ability to change theme HOT 1
- Adding option to load json file for style with flowchart HOT 12
- Flowcharts have issues with looping back flow
- flowchart out of date HOT 3
- npm 16 high vulnerabilities
- CLI hangs on rendering flowchart diagrams, but works with sequence HOT 5
- Sequence diagram: word 'Participant' causes an exception
- Invalid asm.js: Function definition doesn't match use
- *.svg files are not generating properly
- CLI hangs when rendering flowchart diagram with bad input
- All previews do not load.
- NPM Install results in multiple high vulnerabilities HOT 3
- Valid flowchart code works in browser demo, but mangled on terminal HOT 1
- Unable to create .svg from .flowchart HOT 1
- Installation fails on rocky linux.
- Possible missing dependency (chokidar) HOT 1
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 diagrams.