cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Path must be a string. Received null Use --force to continue

0 Likes
383

While initializing hybris by reccipe or ant clean all, following warning is reported: Path must be a string. Received null Use --force to continue

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Likes

Root cause: npm conflict. there is embeded npm(node.exe) in hybris. If you have configured a envrionment variable called "NODE_HOME", and points to an existing path of "node.exe" you have meet this issue.

Solution: remove the envrionment variable "NODE_HOME" also remove the path in %PATH% which points to any "node.exe"

Before initialize again: don’t forget close your cmd window first, and then open a new one