holatuwol / liferay-intellij

Tool to build out IntelliJ workspace project for Liferay, originally designed as an introduction to streams concepts for Java developers.
52 stars 51 forks source link

TypeError: Path must be a string #7

Closed SpencerWoo closed 5 years ago

SpencerWoo commented 5 years ago

EDIT : actually I probably ran it wrong

[11:15:37] Processing BOM dependencies                                                                                
events.js:183                                                                                                         
      throw er; // Unhandled 'error' event                                                                            
      ^                                                                                                               

TypeError: Path must be a string. Received undefined                                                                  
    at assertPath (path.js:28:11)                                                                                     
    at Object.dirname (path.js:728:5)                                                                                 
    at gatherMavenBomDependencies (C:\Users\liferay\Desktop\liferay-intellij\streams0\streams0.js:644:47)             
    at gatherMavenBomDependencies (C:\Users\liferay\Desktop\liferay-intellij\streams0\streams0.js:655:2)              
    at C:\Users\liferay\Desktop\liferay-intellij\streams0\node_modules\highland\lib\index.js:1750:9                   
    at C:\Users\liferay\Desktop\liferay-intellij\streams0\node_modules\highland\lib\index.js:1714:25                  
    at Stream.s._send (C:\Users\liferay\Desktop\liferay-intellij\streams0\node_modules\highland\lib\index.js:1285:9)  
    at Stream.write (C:\Users\liferay\Desktop\liferay-intellij\streams0\node_modules\highland\lib\index.js:1375:18)   
    at Stream._send (C:\Users\liferay\Desktop\liferay-intellij\streams0\node_modules\highland\lib\index.js:761:26)    
    at Stream._readFromBuffer (C:\Users\liferay\Desktop\liferay-intellij\streams0\node_modules\highland\lib\index.js:8
96:18)                                                                                                               

Works successfully without 393e9570810ab5ce1bb19ac3ef59b1fd2390b8e2

https://github.com/holatuwol/liferay-intellij/blob/79012d4ca8a94ebb69d9915ba637dffe2779fda2/streams0/streams0.js#L644