Comments (15)
That's a weird one, what is still in that directory if you dir
it?
from grunt-contrib-jasmine.
It's empty, every time the same.
from grunt-contrib-jasmine.
@reinseth does the problem still happen with latest rimraf (2.1.4)?
from grunt-contrib-jasmine.
Strangely, I cannot reproduce the error at all now (with the older rimraf). The only change I've made is rebooting the computer. So this might be some sort of a stability issue with windows/node, i don't know.
Close the issue, and I'll post back if it happens again.
from grunt-contrib-jasmine.
Glad to hear it fixed itself! 👍
from grunt-contrib-jasmine.
Closing. Thanks for updating the issue, @reinseth and @existentialism.
from grunt-contrib-jasmine.
Having the same issue running the current version of grunt-contrib-jasmine
. It's leaving behind an empty .grunt folder.
from grunt-contrib-jasmine.
Can you test with rimraf 2.1.4 (as @existentialism suggested to me earlier)?
If that doesn't resolve the problem, then my proposed fix should be considered again.
from grunt-contrib-jasmine.
Rebooted and upgraded to rimraf 2.1.4 but neither fixed the issue.
Running osx 10.8.2, node 0.10.9, grunt-contrib-jasmine 0.4.2
from grunt-contrib-jasmine.
@robdodson can you see if there are any permissions issues that would prevent grunt from deleting that dir when you run it?
The directory ends up empty but remains? Or are there files in it?
from grunt-contrib-jasmine.
Interesting that this is happing on a nix filesystems as well. As for permissions, I seriously doubt it to be that (when I changed the operation to async, the problem disappeared). It is more likely a locking problem.
This issue should be fixed as per my original suggestion.
from grunt-contrib-jasmine.
@jsoverson doesn't seem like a permission issue. It's in the same group and has all the same permissions as any other dir on my system. The directory doesn't have any files in it, it's just an empty .grunt
dir.
from grunt-contrib-jasmine.
This seems related to this issue: isaacs/rimraf#21 (look at this comment: isaacs/rimraf#19 (comment))
from grunt-contrib-jasmine.
@robdodson yeah, the solution would be to use @reinseth's original suggestion. I'll try to get this in soon. This module needs a new push and I've been slacking on it.
from grunt-contrib-jasmine.
Updated rimraf, moved the deletion to the async method, and removed .grunt if it's empty. Hope this fixes any problems around this issue.
from grunt-contrib-jasmine.
Related Issues (20)
- Can't find jasmine HOT 3
- no-sandbox HOT 2
- Can't pass viewport size to Puppeteer HOT 1
- security vulnerability detected (caused by lodash) HOT 4
- Dependencies of the NPM packages not up to date HOT 7
- Display console output HOT 1
- 2.0.3 does not work on CircleCI HOT 3
- npm install is broken for versions less than 2.0.0 HOT 3
- Configure the jasmine's random on gruntfile HOT 2
- Need to pass '--allow-file-access-from-files' down to puppeteer launch args. HOT 2
- subsequent tasks in multi task don't run their specs HOT 8
- reporter.js assumes it is running headless HOT 1
- refactor puppeteer option passing
- Renable ESLint rules
- New rimraf version causing issue. HOT 1
- Does not work with jasmine 3.9.0 (latest), tests don't execute and command hangs on "Testing specs with Jasmine/latest via HeadlessChrome/90.0.4427.0" HOT 1
- Fails on linux as the grunt-contrib-jasmine/.jasmine/latest/images/jasmine_favicon.png is missing HOT 1
- Jasmine 3.10.0 HOT 1
- Puppeteer installed with grunt-contrib-jasmine timing out when running jasmine tests HOT 2
- Document customBootFile option
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 grunt-contrib-jasmine.