Test fails on Windows
See original GitHub issueEvery time i try to test the Demo contract i get the following error
Start running scrypt test in c:\Users\Juan Finol\Desktop\boilerplate-master\tests\js\demo.scrypttest.js:
scrypt_boilerplate@0.2.0 single-test c:\Users\Juan Finol\Desktop\boilerplate-master
mocha -r ts-node/register --reporter spec --timeout 120000 "c:\Users\Juan Finol\Desktop\boilerplate-master\tests\js\demo.scrypttest.js"
'mocha' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! scrypt_boilerplate@0.2.0 single-test: `mocha -r ts-node/register --reporter spec --timeout 120000 "c:\Users\Juan Finol\Desktop\boilerplate-master\tests\js\demo.scrypttest.js"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the scrypt_boilerplate@0.2.0 single-test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Juan Finol\AppData\Roaming\npm-cache\_logs\2020-08-22T01_55_29_109Z-debug.log
Issue Analytics
- State:
- Created 3 years ago
- Comments:6
Top Results From Across the Web
Troubleshooting Windows HLK Test Failures | Microsoft Learn
A known HLK client issue can cause a test to fail when there are no failing tasks, but one or more of the...
Read more >Easy to Fix “Failed to play test tone” Error
Easy to Fix “Failed to play test tone” Error · Solution 1: Restart Windows Audio Service · Solution 2: Change the Audio Service...
Read more >Tests fail on windows only · Issue #1350 · r-lib/testthat - GitHub
Working on a new release for https://github.com/rstudio/dygraphs I was trying to perform checks for CRAN with results ...
Read more >Fix Failed to play test tone error on Windows 10 - YouTube
If you see Failed to play test tone error while testing your speaker or headphone, here are some solutions to fix the problem....
Read more >Test works on local Windows machine but fails on Linux server
IMHO your code ( catch(Exception e) { assert(false); } is bad test design. If you don't catch exceptions (and instead declare your test...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think it was caused by the space in your file path. It seems like a known issue of the npx, which the compile function depends on. We’ll try to resolve this, but for now you could put the project under some path without any space and give it a try.
Not fixed yet.