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

Tests fail on new multi project on Windows #705

Closed
ericis opened this issue Oct 11, 2018 · 1 comment
Closed

Tests fail on new multi project on Windows #705

ericis opened this issue Oct 11, 2018 · 1 comment

Comments

@ericis
Copy link

ericis commented Oct 11, 2018

Steps to reproduce

  • Windows 10
  • oclif multi mynewcli
  • cd mynewcli
  • npm run tests

Error

TSError: ⨯ Unable to compile TypeScript:
error TS6304: Composite projects may not disable declaration emit.

Related to issue: #656

Work-around

  1. Edit ./test/tsconfig.json
{
  "extends": "../tsconfig",
  "compilerOptions": {
    "noEmit": true,
    "typeRoots": [
      "../node_modules/@types"
    ]
  },
  "references": [
    {
      "path": ".."
    }
  ]
}
  1. npm run test
@ericis
Copy link
Author

ericis commented Oct 11, 2018

Wrong repo. Should've gone here: oclif/oclif#172

@ericis ericis closed this as completed Oct 11, 2018
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

1 participant