Skip to content

Plugin in dev keeps crashing #137

Answered by ChekTek
superslau asked this question in Help
Discussion options

You must be logged in to vote

Hi @superslau,

Sometimes you can run into issues where npm packages are meant to be using in the web environment, although it appears that this package should work within Node. Native addons should work for you (Elgato uses them in the Volume Controller plugin), but you will need to include the module inside of the plugin folder. In Volume Controller, we use a rollup plugin copy to move the files into the plugin folder com.elgato.volume-controller.sdPlugin/bin/node_modules.

import commonjs from "@rollup/plugin-commonjs";
import json from "@rollup/plugin-json";
import nodeResolve from "@rollup/plugin-node-resolve";
import terser from "@rollup/plugin-terser";
import typescript from "@rollup…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@superslau
Comment options

Answer selected by superslau
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants