Giter VIP home page Giter VIP logo

Comments (15)

jsoverson avatar jsoverson commented on July 17, 2024

That's a weird one, what is still in that directory if you dir it?

from grunt-contrib-jasmine.

reinseth avatar reinseth commented on July 17, 2024

It's empty, every time the same.

from grunt-contrib-jasmine.

existentialism avatar existentialism commented on July 17, 2024

@reinseth does the problem still happen with latest rimraf (2.1.4)?

from grunt-contrib-jasmine.

reinseth avatar reinseth commented on July 17, 2024

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.

existentialism avatar existentialism commented on July 17, 2024

Glad to hear it fixed itself! 👍

from grunt-contrib-jasmine.

jsoverson avatar jsoverson commented on July 17, 2024

Closing. Thanks for updating the issue, @reinseth and @existentialism.

from grunt-contrib-jasmine.

robdodson avatar robdodson commented on July 17, 2024

Having the same issue running the current version of grunt-contrib-jasmine. It's leaving behind an empty .grunt folder.

from grunt-contrib-jasmine.

reinseth avatar reinseth commented on July 17, 2024

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.

robdodson avatar robdodson commented on July 17, 2024

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.

jsoverson avatar jsoverson commented on July 17, 2024

@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.

reinseth avatar reinseth commented on July 17, 2024

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.

robdodson avatar robdodson commented on July 17, 2024

@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.

shama avatar shama commented on July 17, 2024

This seems related to this issue: isaacs/rimraf#21 (look at this comment: isaacs/rimraf#19 (comment))

from grunt-contrib-jasmine.

jsoverson avatar jsoverson commented on July 17, 2024

@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.

jsoverson avatar jsoverson commented on July 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.