Comments (15)
I had the same problem when using the mocha generator, and may apply here too.
I fixed by manually going into the test
folder, then running bower install
. This added the necessary mocha dependencies and was off and running.
from generator-chrome-extension.
Changed package.json to require grunt-mocha ~0.4.0 and it works fine.
from generator-chrome-extension.
@skeate Thanks for reporting. I'm preparing a new version. This issue included in new version.
from generator-chrome-extension.
Hi, i'm having a similar (if not the exact same) issue with grun-test in a new project.
Win8.1 x64
Node v0.10.31
(yo) generator-webapp v0.4.9
Mocha v0.4.10
This is the output I get after running grunt test
Running "test" task
Running "clean:server" (clean) task
Running "concurrent:test" (concurrent) task
Running "copy:styles" (copy) task
Done, without errors.
Running "autoprefixer:dist" (autoprefixer) task
Running "connect:test" (connect) task
Started connect web server on http://localhost:9001Running "mocha:all" (mocha) task
Testing: http://localhost:9001/index.htmlWarning: PhantomJS timed out, possibly due to a missing Mocha run() call. Use --
force to continue.Aborted due to warnings.
Execution Time (2014-08-28 02:41:25 UTC)
concurrent:test 1.4s ■■■■■■ 11%
connect:test 430ms ■■ 3%
mocha:all 10.7s ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 85%
Total 12.6s
I also tried changing grunt-mocha version to 0.4.0 as @skeate did but it didn't work either.
Please tell me how I can help. I'd be glad to
from generator-chrome-extension.
Confirmed. I followed @briangershon's instructions and the error has gone.
Thanks for sharing.
from generator-chrome-extension.
thx
from generator-chrome-extension.
Ran into the same issue, @briangershon quick fix did fix it.
from generator-chrome-extension.
But, you can't run bower install until you resolve these errrors, right?
- No bower.json present
- git is not installed or not in the PATH
from generator-chrome-extension.
from generator-chrome-extension.
I followed @briangershon's instructions and that fixed the error. Thanks for sharing.
from generator-chrome-extension.
I had similar issue on MacOSX Mavericks and in my case it was due to Xcode update that stopped bower from working properly. I had to agree with the license first. You can do this with sudo xcodebuild -license
command.
from generator-chrome-extension.
+1 for @briangershon's instructions, fixed it for me as well. Thanks for sharing!
from generator-chrome-extension.
i'm getting PhantomJS timed out. I'm using "grunt-mocha": "^0.4.12", and grunt
from generator-chrome-extension.
+1 thanks @briangershon!
from generator-chrome-extension.
+1 thanks @briangershon. but I run bower install mocha
.
from generator-chrome-extension.
Related Issues (20)
- Problem with @babel/polyfill HOT 2
- How to update my app to use the latest generator features ? HOT 2
- How to use jQuery? HOT 1
- Release 0.7.3 HOT 1
- Upgrade generator HOT 4
- Watch / livereload not working HOT 1
- The polyfill.min.js file is too large
- ReferenceError: primordials is not defined HOT 3
- bootstrap is missing when running gulp build, but works fine in gulp babel HOT 1
- AssertionError [ERR_ASSERTION]: Trying to copy from a source that does not exist HOT 1
- Regarding DSL, TDD and BDD HOT 2
- Parsing error: Cannot find module 'eslint-scope' HOT 1
- Please mark this project as template HOT 1
- Specify the version of the package
- ReferenceError: primordials is not defined HOT 1
- Align to Nodejs LTS
- Migrate from Travis to Github Actions
- Object.fromEntries is not a function HOT 3
- Is this Generator compatible with chrome manifest v3 HOT 1
- frustrated developer: crappy maintained dependencies and doc? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generator-chrome-extension.