You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a rather large generative art system that I would like to build out in several files that are separate from the Nodes I'm using to create individual art pieces. For example, I'm working on an extensible WebGLImageFilter node that has a ~dozen filter options to apply. The library I'm basing this on is ~600 lines by itself and it would be nice to not have to stuff all of that code into my node.
I've tried using require() with all of the following with no success:
I've also tried adding a local dependency as per the instructions in this StackOverflow, but it crashed Nodes.io and required me to Force Quit the application.
Expected behavior
I would expect that Nodes.io would support the common require() syntaxes and allow us to include local dependencies without having to publish everything to NPM or include them in our package.json
Environment Information:
nodes: 1.0.0-beta.2
os: darwin
node: 12.18.3
electron: 11.1.0
chrome: 87.0.4280.88
The text was updated successfully, but these errors were encountered:
After that if you open your project and if they are no syntax errors in WebGLImageFilter, you should be able to require("webgl-image-filter") in your node to include whatever the package exports.
Describe the bug
I'm working on a rather large generative art system that I would like to build out in several files that are separate from the Nodes I'm using to create individual art pieces. For example, I'm working on an extensible
WebGLImageFilter
node that has a ~dozen filter options to apply. The library I'm basing this on is ~600 lines by itself and it would be nice to not have to stuff all of that code into my node.I've tried using
require()
with all of the following with no success:I've also tried adding a local dependency as per the instructions in this StackOverflow, but it crashed Nodes.io and required me to Force Quit the application.
Expected behavior
I would expect that Nodes.io would support the common
require()
syntaxes and allow us to include local dependencies without having to publish everything to NPM or include them in ourpackage.json
Environment Information:
The text was updated successfully, but these errors were encountered: