karma tests
See original GitHub issuecannot get tests to run.
I used npm run test and get the following errors:
npm ERR! Windows_NT 6.1.7601
npm ERR! argv “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs
node_modules\npm\bin\npm-cli.js” “run” “tslint” “Client/**/.ts"
npm ERR! node v4.4.7
npm ERR! npm v2.15.8
npm ERR! code ELIFECYCLE
npm ERR! aspnetnetcore@0.0.0 tslint: tslint "Client/**/_.ts"
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the aspnetnetcore@0.0.0 tslint script ‘tslint "Client/__/_.ts
"’.
npm ERR! This is most likely a problem with the aspnetnetcore package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! tslint "Client//.ts”
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs aspnetnetcore
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR!
npm ERR! npm owner ls aspnetnetcore
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request: npm ERR! C:\Users\housec\Downloads\AspNetCoreSpa-master (1)\AspNetCoreSpa-ma ster\npm-debug.log
npm ERR! Windows_NT 6.1.7601
npm ERR! argv “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs
node_modules\npm\bin\npm-cli.js” “run” “lint”
npm ERR! node v4.4.7
npm ERR! npm v2.15.8
npm ERR! code ELIFECYCLE
npm ERR! aspnetnetcore@0.0.0 lint: npm run tslint "Client/**/*.ts"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the aspnetnetcore@0.0.0 lint script ‘npm run tslint “Client/*
/.ts”’.
npm ERR! This is most likely a problem with the aspnetnetcore package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run tslint “Client/*/.ts”
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs aspnetnetcore
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR!
npm ERR! npm owner ls aspnetnetcore
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request: npm ERR! C:\Users\housec\Downloads\AspNetCoreSpa-master (1)\AspNetCoreSpa-ma ster\npm-debug.log
npm ERR! Windows_NT 6.1.7601
npm ERR! argv “C:\Program Files\nodejs\node.exe” “C:\Users\housec\AppData
\Roaming\npm\node_modules\npm\bin\npm-cli.js” “run” “test”
npm ERR! node v4.4.7
npm ERR! npm v3.10.5
npm ERR! code ELIFECYCLE
npm ERR! aspnetnetcore@0.0.0 pretest: npm run lint
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the aspnetnetcore@0.0.0 pretest script ‘npm run lint’.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the aspnetnetcore package
,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run lint
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs aspnetnetcore
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR! npm owner ls aspnetnetcore
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request: npm ERR! C:\Users\housec\Downloads\AspNetCoreSpa-master (1)\AspNetCoreSpa-ma ster\npm-debug.log
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (7 by maintainers)
Thanks for letting me know.
According to angular.io docs, testing guidelines aren’t final yet, so I will hang on, before making changes as per RC5 in this project.
@crh225 thanks for helping. I have merge the pull request.
plus signs are conventions to prefix folder with modules which will be lazily loaded as explained in angular 2 guidelines here.