fixing bug where it couldn't find cwd node packages