-
Notifications
You must be signed in to change notification settings - Fork 23
Reorganize project to match Node.js style #9
Conversation
…assing in component functions directly or module names.
Reorganize project to match Node.js style
Looks good, @tlrobinson ! Thanks! I will retest. |
Hi @tlrobinson - I'm having trouble getting JSFBP with your changes working. I have unzipped the current JSFBP zip file, but the result doesn't work. Before I start digging, I'm curious if you have more changes planned and/or if you tested the restructured project. I had assumed that, after a merge, everything continues to work - but maybe I did something wrong...? TIA |
This PR is only partially complete, but running |
Also note you need to However, typically you should just use git to check out a pull request branch. I can point you in the right direction if you'd like (basically |
No, @tlrobinson, I keep getting C:\Users\Paul\Documents\Business\node\node_modules\fibers\index.js:3 Help! Regards, Paul On Mon, Feb 9, 2015 at 1:45 PM, Tom Robinson [email protected]
|
git remote add tlrobinson [email protected]:tlrobinson/jsfbp.git failed - "not a git repository" On Mon, Feb 9, 2015 at 1:54 PM, Tom Robinson [email protected]
|
PS Clone doesn't appear to be set up for my project - the Clone button Paul On Mon, Feb 9, 2015 at 1:54 PM, Tom Robinson [email protected]
|
That's an odd error. Maybe you have a different version of the fibers package installed. Can you tell me what version is shown when you run You need to run the I'm not sure which clone button you're talking about. "Clone in Desktop"? You'd need to install GitHub's Mac or Windows app (mac.github.com or windows.github.com). I mostly just use the command line tools. |
git fetch tlrobinson failed - C:\Users\Paul\Documents\GitHub\FBP-Repos\jsfbp-master> git fetch tlrobinson Please make sure you have the correct access rights On Mon, Feb 9, 2015 at 1:54 PM, Tom Robinson [email protected]
|
Nothing works now! Can't even install node-fibers! Does it work for you? If so, could you tell me the steps one by one, starting with a clean library? Failing that, I will revert to the last good copy I had... or try to! YIA Paul |
PS @tlrobinson @ComFreek I seem to have gotten stuff working by sheer chance! What directory should I be in, prior to issuing npm install fibers ? TIA |
That's odd... how have you been pushing code to GitHub before? Perhaps you were previously using the HTTP GitHub URLs rather than SSH? If you'd like to continue doing that you should do You should be able to do |
Also note if you just do "npm install" without a package name it will install all the dependencies listed in the package.json (with correct versions). |
Tried the git remotes as you suggested and got this (the debug log is C:\Users\Paul\Documents\GitHub\FBP-Repos\jsfbp-master>npm install
child_process: customFds option is deprecated, use stdio instead. C:\Users\Paul\Documents\GitHub\FBP-Repos\jsfbp-master\node_modules\fibers>node npm ERR! [email protected] install: npm ERR! Please include the following file with any support request: C:\Users\Paul\Documents\GitHub\FBP-Repos\jsfbp-master> TIA, Paul M. On Mon, Feb 9, 2015 at 9:13 PM, Tom Robinson [email protected]
|
This seems like a Windows-specific issue, and I don't have Windows, so I'm not sure how much I can help. Perhaps try installing an older version of node-fibers, e.x. |
@ComFreek - can you give me some instructions on how to (re)install? TIA Paul |
@laverdet I keep getting a message about missing solution file (see above) - can you point me at what I am doing wrong? Merci d'avance! |
@jpaulm Strangely enough, I get similar errors. I cannot install
Why do I have to have Python inside my PATH environment variable? It worked two days ago! |
That's a big relief - I'm not the only one! I get somewhat different Thanks, Paul On Tue, Feb 10, 2015 at 10:45 AM, ComFreek [email protected] wrote:
|
Looks like it's a node v0.12 issue. You could try rolling back to v0.11 for now. |
Hi @tlrobinson , that's fantastic! It worked! I'll update the install procedure in Readme - maybe you could check that I've stated it correctly...
|
Great. I'll go ahead and convert them. |
Which of the components would you consider reusable/generic enough to include in the components directory, versus the examples directory? |
Good question! The following clearly should be test /example components: copier_closing.js recvr.js should really be renamed to something like display - I can do that Not sure where chat1.html fits in...? Maybe another directory in examples? Thanks again for doing all this! Best regards, Paul On Wed, Feb 11, 2015 at 5:00 AM, Tom Robinson [email protected]
|
Would Also it might be nice to add an optional configuration port called FORMAT or something that takes a printf style format string (if |
Yup, 'logger' would be good, I think. I can't really see how you use a However, you reminded me that I haven't implemented optional input and Thanks, P. On Fri, Feb 13, 2015 at 10:30 PM, Tom Robinson [email protected]
|
Let's say that the logger constantly receives integers from another component.
If we allow format strings to be applied, the component user can easily adjust the output to his needs. For example, one could set the format string to Note that only Node.js' version of |
OK, I got that! It would mean, however, that one instance of Here is a portion (from a JavaFBP run):
On Sat, Feb 14, 2015 at 10:46 AM, ComFreek [email protected] wrote:
|
Changes described in #8. Currently a work in progress, the rest of the components and fbptest* need to be ported over.