davideicardi / live-plugin-manager

Plugin manager and installer for Node.JS
MIT License
241 stars 44 forks source link

sharp lib install failed #57

Open sytolk opened 3 years ago

sytolk commented 3 years ago

Hello, i've try to install sharp package but its have error:

Tagspaces WS: Error:
Tagspaces WS: Something went wrong installing the "sharp" module
Tagspaces WS: Cannot find module '../build/Release/sharp.node'
Tagspaces WS: Require stack:
Tagspaces WS: - C:\Users\smari\IdeaProjects\tagspaces\app\node_modules\tagspaces-ws\node_modules\sharp\lib\constructor.js
Tagspaces WS: - C:\Users\smari\IdeaProjects\tagspaces\app\node_modules\tagspaces-ws\node_modules\sharp\lib\index.js

I have try to install sharp with npm and build folder is missing on install it with live-plugin-manager Screenshot_23 Screenshot_24

davideicardi commented 3 years ago

It looks like sharp is not a pure javascript module, during installation it run some native compilation or something more advanced. These kind of modules or not supported. Sorry

sytolk commented 3 years ago

For peoples with the same issue: npm can be run programmatically: http://adilapapaya.com/docs/npm/#usingnpmprogrammatically