Skip to content
This repository was archived by the owner on May 8, 2023. It is now read-only.
This repository was archived by the owner on May 8, 2023. It is now read-only.

Fusebox failed to initialize. #6

Open
@dessalines

Description

@dessalines

When I try to run this, I get the following error:

 yarn run dev
yarn run v1.22.4
warning package.json: No license field
$ set NODE_ENV=development && node -r ts-node/register --inspect fuse.ts dev
Debugger listening on ws://127.0.0.1:9229/c5fc237f-89df-4409-ba94-4cc886fbe551
For help, see: https://nodejs.org/en/docs/inspector

  FuseBox failed to initialize. Please check that:
      - the TypeScript version installed is >= 3.0

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

When I up the typescript version to 3.8.3, I get:

☭ yarn run dev > out
warning package.json: No license field
Debugger listening on ws://127.0.0.1:9229/db554fee-38d7-4670-a8d4-5575e28ecb2b
For help, see: https://nodejs.org/en/docs/inspector

/home/aaa/git/inferno-isomorphic-template/node_modules/ts-node/src/index.ts:253
    return new TSError(diagnosticText, diagnosticCodes)
           ^
TSError: ⨯ Unable to compile TypeScript:
fuse.ts(18,39): error TS2322: Type '(context: TransformationContext) => Transformer<SourceFile>' is not assignable to type 'Transform
erFactory<SourceFile> | CustomTransformerFactory'.
  Type '(context: TransformationContext) => Transformer<SourceFile>' is not assignable to type 'TransformerFactory<SourceFile>'.
    Types of parameters 'context' and 'context' are incompatible.
      Type 'import("/home/aaa/git/inferno-isomorphic-template/node_modules/typescript/lib/typescript").TransformationContext' is no
t assignable to type 'import("/home/aaa/git/inferno-isomorphic-template/node_modules/ts-transform-inferno/node_modules/typescript/l
ib/typescript").TransformationContext'.
        The types of 'getCompilerOptions().module' are incompatible between these types.
          Type 'import("/home/aaa/git/inferno-isomorphic-template/node_modules/typescript/lib/typescript").ModuleKind' is not assig
nable to type 'import("/home/aaa/git/inferno-isomorphic-template/node_modules/ts-transform-inferno/node_modules/typescript/lib/type
script").ModuleKind'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions