cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

[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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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.