Closed jvolker closed 5 years ago
Hey @jvolker — thanks again for your interest in working on Openframe, it's nice to see some development activity here! I'm sorry I don't have more time to be responsive and answer all of your questions quickly.
It's been quite a while since I've had a development env set up for openframe, so unfortunately I'm not sure on this one. Installing a dep inside of the linked package shouldn't have any effect on the linking package — as you noted it's just a symlink.
Not sure if you tried this, but perhaps try uninstalling the openframe-processing
extension via openframe cli before reinstalling it. This should remove it from the frame. Then after you reinstall it, you may need to link it again. These are guesses, but might help?
I'll do my best to get a dev env set up soon so that I can test things locally as well.
@jmwohl No worries. And I'm very happy to be able to contribute. It's a fantastic project.
I just got it back to work. It seems the problem was unrelated to NPM. It was a syntax error in the extension I was working on. I don't get errors anymore during install or run.
I wish the above-mentioned errors would show which source file and original line number it was caused by. That would make it a lot easier. Do you have an idea on how to change that?
Thanks a lot for maintaining the project, running tests, and merging PRs! 👍
Opened a new issue for that question. Closing this one.
I keep getting errors while working on the Processing extension. I think they are related to npm link.
I set up everything as described in the dev guide. The Repos are located as follows:
~/Openframe/
~/Openframe-Processing/
I recognised that there must be another step after the end of the guide as Openframe yet needs to recognise and register the extension with the server and the local config file. So from within
~/Openframe/
I didnode ./bin/cli.js -i openframe-processing
.I was then able to work for a while. Unfortunately, at some point, I got these errors when loading content of type
openframe-processing
:I think it happened when I installed another package like
npm install --save request
from within~/Openframe-Processing/
. Could this be the reason in combination with npm link? If so, how could I work around it?Once the error is there, and I try
node ./bin/cli.js -i openframe-processing
again in order to register the extension another time I get this error:I did check the symlinks in the global node installations and the local packages
node_modules
folder. They are both active. I also checked~/.openframe/frame.json
– the extensions property lists theopenframe-processing
extension:In the webapp the frame also show this extension as installed.
What's wrong? How can I solve this?
The only thing that helped last time was reflashing the SD card and starting from scratch.
Thanks a lot.