Update compile

another try to fix directories to install npm packages