Error code: 800A1391 Source: Microsoft JScript runtime error Running Grunt - Module is undefined

前端 未结 9 1388
臣服心动
臣服心动 2021-01-03 22:21

New Grunt user here who is using a lot of new tools (npm nodejs) today.

I\'ve got Grunt \"installed\" and have been able to create a grunt.js file using the init tas

9条回答
  •  梦毁少年i
    2021-01-03 22:24

    SOLVED !!

    So, this problem occur because windows by default associative < *.js > files with >> "Microsoft Windows Based Script Host".

    grunt need to open by default with (grunt.cmd).

    it easy to slove, by change default app (open with..)


    Guide :

    1. Go to any javascript file with "js" extension. (any file)

    2. Right-Click(mouse) > Properties > "Opens with:" Change...(button)

    3. Choose Notepad ( or any javascript IDE ).

    PROBLEM SOLVED ! :) good luck

提交回复
热议问题