Opened 12 years ago

Closed 11 years ago

#36718 closed defect (worksforme)

npm failing to install

Reported by: nefar@… Owned by: ci42
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: npm

Description

This is a rootless install. npm log below. It just hangs at the last message. I left it for hours but it didn't progress and the errors aren't promising.

$ port -v install npm                                         
--->  Computing dependencies for npm.                                         
--->  Staging npm into destroot                                               
. changed                                                                     
        user expected 0 found 501 not modified: Operation not permitted       
        gid expected 0 found 80 not modified: Operation not permitted         
usr changed                                                                   
        user expected 0 found 501 not modified: Operation not permitted       
        gid expected 0 found 80 not modified: Operation not permitted         
. missing (directory not created: File exists)                                
./Applications missing (directory not created: File exists)                   
./Developer missing (directory not created: File exists)                      
./Library missing (directory not created: File exists)                        
                                                                              
> npm@1.1.64 prepublish .                                                     
> npm prune ; rm -rf test/*/*/node_modules ; make -j4 doc                     
                                                                              
sh: npm: command not found                                                    
scripts/doc-build.sh doc/cli/index.md html/doc/index.html                     
scripts/doc-build.sh doc/cli/index.md man/man1/index.1                        
node cli.js install                                                           
                                                                              
> npm@1.1.64 prepublish .                                                     
> npm prune ; rm -rf test/*/*/node_modules ; make -j4 doc                     
                                                                              
sh: npm: command not found                                                    
make[2]: warning: -jN forced in submake: disabling jobserver mode.            
scripts/doc-build.sh doc/cli/index.md html/doc/index.html                     
scripts/doc-build.sh doc/cli/index.md man/man1/index.1                        

Attachments (1)

log.txt (6.3 KB) - added by nefar@… 12 years ago.
same problem still

Download all attachments as: .zip

Change History (4)

comment:1 in reply to:  description Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ciserlohn@…

Replying to nefar@…:

$ port -v install npm                                         
--->  Computing dependencies for npm.                                         
--->  Staging npm into destroot                                               

This was not a clean build attempt. Please "sudo port clean npm", then try again, then attach the new main.log if it fails again.

Changed 12 years ago by nefar@…

Attachment: log.txt added

same problem still

comment:2 Changed 11 years ago by ci42

This is not the main.log file. If you still facing the problem please attach the main.log file from a clean install attempt.

comment:3 Changed 11 years ago by ci42

Resolution: worksforme
Status: newclosed

Lack of interest.

Note: See TracTickets for help on using tickets.