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 trying to require a commonJS module ("fluent-ffmpeg") from node_modules, that I have installed with npm, into my project that uses AMD. I,ve followed the instructions in the section RequireJS in Node, however, I then get an error stating that the module has not been loaded yet for context. Looking at the docs, It is said to list that dependency name in the define, however then its saying that the module cannot be found. So my question is, how do i require a CommonJS module inside a define(dependencies, function), that I have installed using npm, so that it doesnt give an error that the module has not yet been loaded?
The text was updated successfully, but these errors were encountered:
I'm trying to require a commonJS module ("fluent-ffmpeg") from node_modules, that I have installed with npm, into my project that uses AMD. I,ve followed the instructions in the section RequireJS in Node, however, I then get an error stating that the module has not been loaded yet for context. Looking at the docs, It is said to list that dependency name in the define, however then its saying that the module cannot be found. So my question is, how do i require a CommonJS module inside a define(dependencies, function), that I have installed using npm, so that it doesnt give an error that the module has not yet been loaded?
The text was updated successfully, but these errors were encountered: