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

Directories with spaces not supported on Windows #178

Closed
marlowp opened this issue Jan 20, 2016 · 1 comment
Closed

Directories with spaces not supported on Windows #178

marlowp opened this issue Jan 20, 2016 · 1 comment
Labels
external Problem lies outside of TypeDoc

Comments

@marlowp
Copy link

marlowp commented Jan 20, 2016

When running a grunt task with the following details for a project in a directory structure that contains spaces on Windows I receive the following error:

Error:
Running "typedoc:build" (typedoc) task
'C:\Users\marlow_p\Documents\Visual' is not recognized as an internal or external command,
operable program or batch file.
Warning: Task "typedoc:build" failed. Use --force to continue.

GruntFile.js:

  typedoc: {
      build: {
          options: {
              module: 'commonjs',
              target: 'es5',
              out: 'docs/',
              name: 'My project title'
          },
          src: 'src/**/*'
      }
  }
@cspotcode
Copy link
Contributor

This looks like a bug in grunt-typedoc, not typedoc. grunt-typedoc calls child_process.spawn() to invoke typedoc's CLI, and I'm guessing that's what is splitting your path on spaces.

If I'm correct, this should be fixed by TypeStrong/grunt-typedoc#9.

@Gerrit0 Gerrit0 added the external Problem lies outside of TypeDoc label Dec 16, 2019
@Gerrit0 Gerrit0 closed this as completed Dec 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external Problem lies outside of TypeDoc
Projects
None yet
Development

No branches or pull requests

3 participants