Skip to Content
author's profile photo Former Member
Former Member

while doing ant clean all at first time getting below error message . Please any one help me as soon as possible to solve this issue

[echo] building extension 'smartedit'... [echo] START of calling grunt packageSkipTests on C:\training\hybris\bin\ext-content\smartedit [echo] failonerror=NOT SET, default=true, value=true [echo] Creating a link to C:\training\hybris\bin\ext-content\npmancillary\resources\npm\node_modules in C:\training\hybris\bin\ext-content\smartedit\node_modules [exec] Junction created for C:\training\hybris\bin\ext-content\smartedit\node_modules <<===>> C:\training\hybris\bin\ext-content\npmancillary\resources\npm\node_m [echo] Running grunt packageSkipTests [exec] Loading "grunt-karma.js" tasks...←[31mERROR←[39m [exec] ←[31m>> ←[39mTypeError: Cannot read property 'prototype' of undefined [exec] [exec] ←[4mRunning "jshint:all" (jshint) task←[24m [exec] ←[33mWarning: Path must be a string. Received null Use --force to continue.←[39m [exec] [exec] ←[31mAborted due to warnings.←[39m

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 27, 2017 at 06:58 AM

    Remove the variable for which the value has "npm" from "variables" in "Environment Variables" then reopen cmd and try the ant clean all .This should work now.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.