Code Monkey home page Code Monkey logo

Comments (5)

ctalkington avatar ctalkington commented on July 25, 2024

it has to do grunt v0.4.0rc5 changing something it uses as it was built around rc3.

from grunt-init.

HoundstoothSTL avatar HoundstoothSTL commented on July 25, 2024

I was under the impression grunt-init was a global module that could be run from anywhere which woud have nothing to do with what version of grunt is in a local project folder. According to the documentation all I need is grunt-cli installed globally (not grunt) and grunt-init installed globally and then I could run

grunt-init gruntfile

in any folder to scaffold out a new project Gruntfile.js?

Now that you point that out though, when I run this in a completely empty folder:

grunt-init --version 

I do get the output

grunt-init v0.2.0rc3
grunt v0.4.0rc5

Even though I have uninstalled the old npm grunt module globally. If I run

grunt --version

in an empty folder, I get:

grunt-cli v0.1.6

So I'm pretty certain that the old grunt 0.3 module has been removed globally. I'm not sure why I'd still be getting a grunt version returned when I print the grunt-init version?

from grunt-init.

netzzwerg avatar netzzwerg commented on July 25, 2024

I have exactly the same problem. My workaround is to remove the local grunt from grunt-init and then install the RC3 version via

cd /grunt-init
sudo npm rm grunt
sudo npm install [email protected]

Here my working version:

grunt-init v0.2.0rc3
grunt v0.4.0rc3

from grunt-init.

nickcooley avatar nickcooley commented on July 25, 2024

@netzzwerg -- When you say you 'remove(d) the local grunt from grunt-init', how exactly did you accomplish that? ran your steps, but am still seeing the advanced version of grunt when running grunt-init --version. Thanks in advance.

from grunt-init.

shama avatar shama commented on July 25, 2024

Closing as this should no longer be an issue with the latest versions of grunt, grunt-cli and grunt-init.

from grunt-init.

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.