samplecode directory not recognized by npm