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

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

Open
jbolda opened this issue Jul 30, 2021 · 0 comments
Open

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

jbolda opened this issue Jul 30, 2021 · 0 comments

Comments

@jbolda
Copy link
Contributor

jbolda commented Jul 30, 2021

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
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