We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
build-tests
Can someone help me fix this? I'm using the latest versions of brighterscript and rooibos-roku, because I was getting an error when doing npm i
brighterscript
rooibos-roku
npm i
% npm run build-tests > [email protected] build-tests > npx bsc [07:56:36:7190 PM] Using config file: "/Users/vrihlea/Projects/roku/rooibos-roku-sample/bsconfig.json" [07:56:36:7610 PM] Error when loading plugin 'rooibos-roku': Error: Cannot find module 'undent' Require stack: - /Users/vrihlea/Projects/roku/rooibos-roku-sample/node_modules/rooibos-roku/dist/lib/rooibos/TestGroup.js - /Users/vrihlea/Projects/roku/rooibos-roku-sample/node_modules/rooibos-roku/dist/lib/rooibos/TestSuiteBuilder.js - /Users/vrihlea/Projects/roku/rooibos-roku-sample/node_modules/rooibos-roku/dist/lib/rooibos/RooibosSession.js - /Users/vrihlea/Projects/roku/rooibos-roku-sample/node_modules/rooibos-roku/dist/plugin.js - /Users/vrihlea/Projects/roku/rooibos-roku-sample/node_modules/brighterscript/dist/util.js - /Users/vrihlea/Projects/roku/rooibos-roku-sample/node_modules/brighterscript/dist/lexer/Lexer.js - /Users/vrihlea/Projects/roku/rooibos-roku-sample/node_modules/brighterscript/dist/parser/Parser.js - /Users/vrihlea/Projects/roku/rooibos-roku-sample/node_modules/brighterscript/dist/validators/ClassValidator.js - /Users/vrihlea/Projects/roku/rooibos-roku-sample/node_modules/brighterscript/dist/Scope.js - /Users/vrihlea/Projects/roku/rooibos-roku-sample/node_modules/brighterscript/dist/Program.js - /Users/vrihlea/Projects/roku/rooibos-roku-sample/node_modules/brighterscript/dist/ProgramBuilder.js - /Users/vrihlea/Projects/roku/rooibos-roku-sample/node_modules/brighterscript/dist/cli.js at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) at Function.Module._load (node:internal/modules/cjs/loader:778:27) at Module.require (node:internal/modules/cjs/loader:999:19) at require (node:internal/modules/cjs/helpers:102:18) at Object.<anonymous> (/Users/vrihlea/Projects/roku/rooibos-roku-sample/node_modules/rooibos-roku/dist/lib/rooibos/TestGroup.js:10:18) at Module._compile (node:internal/modules/cjs/loader:1097:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1151:10) at Module.load (node:internal/modules/cjs/loader:975:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Module.require (node:internal/modules/cjs/loader:999:19) { code: 'MODULE_NOT_FOUND', requireStack: [ '/Users/vrihlea/Projects/roku/rooibos-roku-sample/node_modules/rooibos-roku/dist/lib/rooibos/TestGroup.js', '/Users/vrihlea/Projects/roku/rooibos-roku-sample/node_modules/rooibos-roku/dist/lib/rooibos/TestSuiteBuilder.js', '/Users/vrihlea/Projects/roku/rooibos-roku-sample/node_modules/rooibos-roku/dist/lib/rooibos/RooibosSession.js', '/Users/vrihlea/Projects/roku/rooibos-roku-sample/node_modules/rooibos-roku/dist/plugin.js', '/Users/vrihlea/Projects/roku/rooibos-roku-sample/node_modules/brighterscript/dist/util.js', '/Users/vrihlea/Projects/roku/rooibos-roku-sample/node_modules/brighterscript/dist/lexer/Lexer.js', '/Users/vrihlea/Projects/roku/rooibos-roku-sample/node_modules/brighterscript/dist/parser/Parser.js', '/Users/vrihlea/Projects/roku/rooibos-roku-sample/node_modules/brighterscript/dist/validators/ClassValidator.js', '/Users/vrihlea/Projects/roku/rooibos-roku-sample/node_modules/brighterscript/dist/Scope.js', '/Users/vrihlea/Projects/roku/rooibos-roku-sample/node_modules/brighterscript/dist/Program.js', '/Users/vrihlea/Projects/roku/rooibos-roku-sample/node_modules/brighterscript/dist/ProgramBuilder.js', '/Users/vrihlea/Projects/roku/rooibos-roku-sample/node_modules/brighterscript/dist/cli.js' ] } [07:56:36:7650 PM] Loading 1 plugins for cwd "/Users/vrihlea/Projects/roku/rooibos-roku-sample" [07:56:36:7840 PM] Parsing files [07:56:36:8290 PM] Parsing files finished. (44.667ms) [07:56:36:8300 PM] Validating project [07:56:36:8330 PM] Validating project finished. (3.295ms) src/source/HelloWorld.spec.bs:25:14 - error BS1026: Duplicate identifier '_' 25 function _() __ ~ src/source/HelloWorld.spec.bs:44:14 - error BS1026: Duplicate identifier '_' 44 function _() __ ~ src/source/tests/BaseTestSuite.spec.bs:3:31 - error BS1029: Class 'rooibos.BaseTestSuite' could not be found when this file is included in scope 'source' 3 class BaseTestSuite extends rooibos.BaseTestSuite _ ~~~~~~~~~~~~~~~~~~~~~ [07:56:36:8360 PM] Found 3 errors
The text was updated successfully, but these errors were encountered:
works with following dependencies
"brighterscript": "^0.52.3", "rooibos-roku": "^5.2.2", "undent": "^0.1.0"
Sorry, something went wrong.
This was fixed by af9704a
No branches or pull requests
Can someone help me fix this?
I'm using the latest versions of
brighterscript
androoibos-roku
, because I was getting an error when doingnpm i
The text was updated successfully, but these errors were encountered: