-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Control-panel in Angular app #23
Comments
I believe it requires the brfs transform (short for "browserify-fs) in order to work. If using browserify it happens automatically based on these lines in this module's package.json, but if you're using webpack, for example, you'll need something like ify-loader in order to apply them. (transform-loader always sounds tempting, but I recall that being a different sort of thing.) If you're using webpack, here's a writeup from when I had to work through this with plotly.js and a very similar set of concerns. We did manage to get it working! I think this is the line that'll apply it, but let me know if that's not the case. |
Thanks @rreusser. I was able to get control-panel working with webpack (same issue as #21) . Here's my package.json and webpack.config |
Thanks, can confirm this solution worked for me as well! |
Hi
I'm using control-panel in an angular application in a component using Three.js
I get the following error on the console:
core.js:1448 ERROR TypeError: fs.readFileSync is not a function at new Plate (index.js:29) at Plate (index.js:15)
Any advice how to resolve this?
Best
stefan
The text was updated successfully, but these errors were encountered: