Witam Próbuję zainstalować Grunt na Windows 7 64 bit. Mam zainstalowany Grunt przy użyciu poleceńJak zainstalować grunt i jak go zbudować
npm install -g grunt
npm install -g grunt-cli
ale teraz gdy próbuję zrobić grunt init
, to rzuca mi błąd -
A valid Gruntfile could not be found. Please see the getting started guide for more information on how to configure grunt: http://gruntjs.com/getting-started Fatal error: Unable to find Gruntfile.
Ale kiedy patrzę w folderze grunt na moim systemie Gruntfile.js
jest tam. Czy ktoś może mi wskazać, jak zainstalować to gruntownie i jak napisać wbudowany skrypt za pomocą chrząkania. Mam jedną stronę HTML i skrypt Java, jeśli chcę zbudować skrypt używając Grunt, jak mogę to zrobić?
'npm install -g mother' oznacza instalowanie Grunta na całym świecie, co nie jest już zalecane (począwszy od Grunt 0.4). – Ludder