Git Product home page Git Product logo

Comments (9)

jbt avatar jbt commented on August 15, 2024

Ah yes this will be a Windows-specific thing. I'll have to put a thing in to detect the directory separators, because it's hard-coded to / at the moment. Not had a huge amount of experience with node and npm on Windows so might take a little while to figure it out.

from docker.

macguffin avatar macguffin commented on August 15, 2024

I think what you've done is really impressive. I will have a fiddle with it
and if I work it out before you i'll let you know.

Cheers.

from docker.

jbt avatar jbt commented on August 15, 2024

If you're interested to see my progress on this, I've now got it pretty much working on the windows-compatibility branch, at least for my windows installation. I need to do a few more tests to make sure I haven't broken it for non-windows versions - will hopefully get the opportunity to do that and push the updated version to npm before the end of the week.

from docker.

macguffin avatar macguffin commented on August 15, 2024

That's working. Thanks very much!!

Noticed a few bugs:
docker
&
docker -o doc
Generated file path looks like this: \src\example.js.html. This works fine
and every thing looks as expected.

docker -i src -o doc
Generated file path looks like this: C:\Users\macguffin\Desktop\New folder
(3)\example.js.html
The files are all created in the correct folder structure but the CSS seems
to be broken. It may be that last \

I also tried dumping your gitHub zip into my npm-cache and running install.
It still failed with the error below. Funnily this is the same error I get
when trying to npm install docco-husky, which has a similar folder
structure and file.

Cheers

[email protected] install X:\doc\node_modules\docker
scripts/install.sh

'scripts' is not recognized as an internal or external command,
operable program or batch file.

npm ERR! [email protected] install: scripts/install.sh
npm ERR! cmd "/c" "scripts/install.sh" failed with 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the docker package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! scripts/install.sh
npm ERR! You can get their info via:
npm ERR! npm owner ls docker
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\Program Files (x86)\nodejs\node.exe" "C:\Program
File
s (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "install" "docker"
npm ERR! cwd X:\doc
npm ERR! node -v v0.6.18
npm ERR! npm -v 1.1.21
npm ERR! code ELIFECYCLE
npm ERR! message [email protected] install: scripts/install.sh
npm ERR! message cmd "/c" "scripts/install.sh" failed with 1
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! X:\doc\npm-debug.log
npm not ok

On Tuesday, 5 June 2012, James Taylor wrote:

If you're interested to see my progress on this, I've now got it pretty
much working on the windows-compatibility branch, at
least for my windows installation. I need to do a few more tests to make
sure I haven't broken it for non-windows versions - will hopefully get the
opportunity to do that and push the updated version to npm before the end
of the week.


Reply to this email directly or view it on GitHub:
#2 (comment)

from docker.

jbt avatar jbt commented on August 15, 2024

Ok with any luck I should have been able to fix that missing CSS issue. As for that install problem, I think that should just sort itself out as soon as I update the version on npm - it looks like it's still using an old version of the package.json there.

from docker.

macguffin avatar macguffin commented on August 15, 2024

Just been able to do my first full document creation. It looks great and I
really like the fact that I have a persistent menu and can guide people to
important functions with the headings menu.

I think this is the perfect half way point between the quick and dirty
docco and the full blown API style JSdoc or YUIDoc.
.
Love it!

bugs??
Is it possible that the -u and -w features are now broken on windows?

On Tue, Jun 5, 2012 at 4:37 PM, James Taylor <
[email protected]

wrote:

Ok with any luck I should have been able to fix that missing CSS issue. As
for that install problem, I think that should just sort itself out as soon
as I update the version on npm - it looks like it's still using an old
version of the package.json there.


Reply to this email directly or view it on GitHub:
#2 (comment)

macguffin and shemp

Matt Hutchinson

m: 07950 262 263
e: [email protected]
w: http://www.macguffinandshemp.com

from docker.

jbt avatar jbt commented on August 15, 2024

Thanks!
Regarding the -u and -w bugs, when did you update your code from the branch? I did manage to accidentally commit a spectacularly broken version about half an hour ago that broke a lot of stuff. I think it should be fixed now. Both -u and -w seem to be working fine for me at the moment, at least.

from docker.

macguffin avatar macguffin commented on August 15, 2024

Yes your right it is working fine. I must have got that suspect download ;)

On Tue, Jun 5, 2012 at 5:08 PM, James Taylor <
[email protected]

wrote:

Thanks!
Regarding the -u and -w bugs, when did you update your code from the
branch? I did manage to accidentally commit a spectacularly broken version
about half an hour ago that broke a lot of stuff. I think it should be
fixed now. Both -u and -w seem to be working fine for me at the moment, at
least.


Reply to this email directly or view it on GitHub:
#2 (comment)

macguffin and shemp

Matt Hutchinson

m: 07950 262 263
e: [email protected]
w: http://www.macguffinandshemp.com

from docker.

jbt avatar jbt commented on August 15, 2024

Completely forgot to mention that I finally managed to get some time to test this all properly and with any luck it's now all fixed as of 0.1.2, which is now on npm.

from docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.