fix npm and require conflict