use code directory instead of projects
no need to add npm to PATH