| 
				
			 | 
			
			
				@@ -137,6 +137,8 @@ function mesh_install_nodejs { 
			 | 
		
	
		
			
			| 
				137
			 | 
			
				137
			 | 
			
			
				     #cp $rootdir/usr/bin/npm $rootdir/root/npm 
			 | 
		
	
		
			
			| 
				138
			 | 
			
				138
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				139
			 | 
			
				139
			 | 
			
			
				     get_npm_arch 
			 | 
		
	
		
			
			| 
				
			 | 
			
				140
			 | 
			
			
				+ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				141
			 | 
			
			
				+    $mesh_install_nodejs_prefix npm config set unsafe-perm true 
			 | 
		
	
		
			
			| 
				140
			 | 
			
				142
			 | 
			
			
				     $mesh_install_nodejs_prefix npm install --arch=$NPM_ARCH -g npm@${NPM_VERSION} --save 
			 | 
		
	
		
			
			| 
				141
			 | 
			
				143
			 | 
			
			
				     if [ -f $rootdir/usr/local/bin/npm ]; then 
			 | 
		
	
		
			
			| 
				142
			 | 
			
				144
			 | 
			
			
				         cp $rootdir/usr/local/bin/npm /usr/bin/npm 
			 |