Comments (5)
it has to do grunt v0.4.0rc5 changing something it uses as it was built around rc3.
from grunt-init.
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.
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.
@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.
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)
- graceful-fs deprecation message
- Control destpath
- Fatal error: init.runNpmInstall is not a function
- Add options for writePackageJSON
- Update grunt package
- Unable to run .app applications that is part of the root folder
- Support publishConfig key in method writePackageJSON HOT 1
- Easy way to update installed templates
- How do you add more scripts to package.json? HOT 1
- Error whith grunt-init when copying a template with fontawesome
- Is the length of description limited to some value?
- Exception when prompt is set hidden = true
- Follow the XDG directory spec for templates directory HOT 2
- private key does not get added to package.json file
- noProcess ignore files that start with .
- props.registry
- Add help option.
- Issue with {%= prop %}
- Template repository support HOT 1
- can not create gruntfile from a template
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-init.