जब मैं साथगोड के लिए node_modules फ़ोल्डर क्यों प्रतिबद्ध नहीं है?
yo angular
यह एक node_modules/निर्देशिका बनाता है एक AngularJS परियोजना बनाने लेकिन .gitignore में है कि निर्देशिका डालता है। जब मैं परियोजना कहीं और क्लोन और चलाने
grunt server
मैं
Fatal error: Unable to find local grunt.
If you're seeing this message, either a Gruntfile wasn't found or grunt hasn't been installed locally to your project. For more information about installing and configuring grunt, please see the Getting Started guide:
मिल आरंभ करने की मार्गदर्शिका कैसे तथापि लापता node_modules/निर्देशिका को संभालने के लिए के बारे में कुछ नहीं कहा।
node_modules/निर्देशिका जानबूझकर गायब है क्योंकि यमन इसे डालता है .gitignore।
इस मामले में यमन और ग्रंट का उपयोग करने का सही तरीका क्या है?
क्या यमन और ग्रंट के लिए कुछ बेहतर दस्तावेज़ीकरण है?
धन्यवाद।
आपकी .gitignore फ़ाइल में node_modules के अलावा अन्य चीजें सूचीबद्ध हैं? क्या आपका Gruntfile.js क्लोन एक्शन द्वारा लाया जा रहा है? Marplesoft हल हो जाने के बाद यह एक दूसरा मुद्दा हो सकता है। –