'browserify' is not recognized as an internal or external command

عند التطبيق في درس رقم 2 في كورس vue المر التالي browserify index.js -o app.js يظهر الخطا التالي 'browserify' is not recognized as an internal or...

عند التطبيق في درس رقم 2 في كورس vue المر التالي
browserify index.js -o app.js

يظهر الخطا التالي

'browserify' is not recognized as an internal or external command,
operable program or batch file.

index.js file
require(\'modules\')
var Vue = require(\'vue\');

new Vue({
    el:\"body\",
    data:{
        msg:\'hellooooooooooo\',
    }
})


//////////////////////////////////////////
package.json

{
  \"name\": \"vuetest\",
  \"version\": \"1.0.0\",
  \"description\": \"\",
  \"main\": \"index.js\",
  \"scripts\": {
    \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\"
  },
  \"author\": \"\",
  \"license\": \"ISC\",
  \"dependencies\": {
    \"browserify\": \"^13.3.0\",
    \"vue\": \"^2.1.10\"
  }
}

4 التعليقات


  • Abdel Aziz Hassan
    Abdel Aziz Hassan 2017-09-21 17:57:02

    استخدم دي كمان
    في حالة انك عملت component
    https://github.com/vuejs/vueify

  • Mohmd Zamli
    Mohmd Zamli 2017-09-21 17:57:02

    ممكن توضيح للاستخدام والفائدة من الاستخدام وسبب المشكلة الي تظهر عندي

    وعند استخدامها نفس الخطأ يظهر عندي

  • Abdel Aziz Hassan
    Abdel Aziz Hassan 2017-09-21 17:57:02

    بص هو غالبا الخطأ
    من التنصيب الخاص ب browserify اكتب الامر nmp install browserify
    مرة تانية وورينا النتيجة عشان كده الفمروض في browserify.cmd بيتعمل
    شكله في مشكلة

  • Mohmd Zamli
    Mohmd Zamli 2017-09-21 17:57:02

    طيب برأيك كيف ممكن احل المشكلة هادي

اضف تعليق


يجب ان يكون لديك حساب في الموقع تسجيل الدخول او تسجيل عضوية جديدة

خدمات ويب الفريق