Skip to content

@babel/preset-typescript required in non-TS based project #958

@jbolda

Description

@jbolda

If you try to run BigTest in a project without Typescript, you get the following error. Installing it does fix the issue.

❯ yarn test:server
yarn run v1.22.10
$ bigtest server --launch=chrome
[orchestrator] starting
rpt2: config error TS18003: No inputs were found in config file 'tsconfig.json'. Specified 'include' paths were '["**/*"]' and 'exclude' paths were '[]'.
[manifest builder] build error:
Cannot find module '@babel/preset-typescript'
Require stack:
- C:\Users\Jacob\Documents\dev\frontside\frontside.com\node_modules\@babel\core\lib\config\files\plugins.js
- C:\Users\Jacob\Documents\dev\frontside\frontside.com\node_modules\@babel\core\lib\config\files\index.js
- C:\Users\Jacob\Documents\dev\frontside\frontside.com\node_modules\@babel\core\lib\index.js
- C:\Users\Jacob\Documents\dev\frontside\frontside.com\node_modules\@rollup\plugin-babel\dist\index.js
- C:\Users\Jacob\Documents\dev\frontside\frontside.com\node_modules\@bigtest\bundler\dist\bundler.js
- C:\Users\Jacob\Documents\dev\frontside\frontside.com\node_modules\@bigtest\bundler\dist\index.js
- C:\Users\Jacob\Documents\dev\frontside\frontside.com\node_modules\@bigtest\server\dist\src\manifest-builder.js
- C:\Users\Jacob\Documents\dev\frontside\frontside.com\node_modules\@bigtest\server\dist\src\orchestrator.js
- C:\Users\Jacob\Documents\dev\frontside\frontside.com\node_modules\@bigtest\server\dist\src\index.js
- C:\Users\Jacob\Documents\dev\frontside\frontside.com\node_modules\@bigtest\cli\dist\start-server.js
- C:\Users\Jacob\Documents\dev\frontside\frontside.com\node_modules\@bigtest\cli\dist\cli.js
- C:\Users\Jacob\Documents\dev\frontside\frontside.com\node_modules\@bigtest\cli\dist\index.js
- C:\Users\Jacob\Documents\dev\frontside\frontside.com\node_modules\@bigtest\cli\bin\bigtest.js
[connection] connected chrome
[orchestrator] running!
[orchestrator] launch agents via: http://localhost:24001/__bigtest/index.html?connectTo=ws%3A%2F%2Flocalhost%3A24003
[orchestrator] show GraphQL dashboard via: http://localhost:28000
[app] application has exited with status code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions