fixed the path issue and defined the npm dependencies correctly