Skip to content
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

This tool doesn't seems to work on Linux at the moment #21

Open
caa1982 opened this issue Nov 7, 2017 · 3 comments
Open

This tool doesn't seems to work on Linux at the moment #21

caa1982 opened this issue Nov 7, 2017 · 3 comments

Comments

@caa1982
Copy link

caa1982 commented Nov 7, 2017

I would love to be able to use this tool but unfortunatly it seems to not be working on Ubuntu at the moment.

npm WARN deprecated tar.gz@1.0.7: ⚠️ WARNING ⚠️ tar.gz module has been deprecated and your application is vulnerable. Please use tar module instead: https://npmjs.com/tar
npm WARN deprecated to-iso-string@0.0.2: to-iso-string has been deprecated, use @segment/to-iso-string instead.
npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

Node: 9.0
Linux: lubuntu
NPM: 5.5.1

@caa1982 caa1982 changed the title This tool doesn't seems to work on Linux This tool doesn't seems to work on Linux at the moment Nov 7, 2017
@lsaether
Copy link

Wondering if there is a work around for this?

@Vourhey
Copy link

Vourhey commented Nov 27, 2017

Any suggestions? It seems to be a useful tool, but it doesn't work. I have this error
npm ERR! missing script: build
npm ERR! A complete log of this run can be found in:
npm ERR! /home/vadim/.npm/_logs/2017-11-27T14_03_15_940Z-debug.log

It's caused by publish.js file here:

 var cwd = process.env.PWD + '/' + target;
  var outputFolder = cwd + '/public';
  var destFolder = process.env.PWD + '/' + out;
  (0, _helpers.clearDirectory)(destFolder).then(function () {
    var runDev = _child_process2.default.spawn('npm', ['run', 'build'], { cwd: cwd, env: process.env });
    runDev.stdout.pipe(process.stdout);
    runDev.stderr.pipe(process.stderr);
    runDev.on('close', function () {
      _fs2.default.renameSync(outputFolder, destFolder);
      process.stdout.write('Published Documentation to ' + destFolder + '\n');
      process.exit();
    });
  });

@RyanHendricks
Copy link

I don't know much about react and thus was also unable to find a fix for this but I was able to hack together a template to use the project via a git clone method if that is any help to anyone. https://github.com/RyanHendricks/doxity-simpleton
note: this is working on Arch Linux but I haven't tested on Windows or Mac at this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants