Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

Installation error: neon.o: No such file or directory #29

@teddyknox

Description

@teddyknox

Getting this when I run npm install -g @graphprotocol/indexer-cli:

npm ERR! warning: ar: /usr/local/lib/node_modules/@graphprotocol/indexer-cli/node_modules/@graphprotocol/cost-model/native/target/debug/build/neon-sys-3b6678701d556f27/out/native/build/Debug/obj.target/neon/src/neon.o: No such file or directory                                                          npm ERR!                                                                                                                                               npm ERR! error: failed to run custom build command for `neon-sys v0.5.3`                                                                               npm ERR!                                                                                                                                               
npm ERR! Caused by:                                                                                                                                    
npm ERR!   process didn't exit successfully: `/usr/local/lib/node_modules/@graphprotocol/indexer-cli/node_modules/@graphprotocol/cost-model/native/target/debug/build/neon-sys-ecacff10f410d9d8/build-script-build` (exit status: 1)                                                                          
npm ERR!   --- stdout                                                                                                                                  
npm ERR!   cargo:node_arch=x64                                                                                                                         
npm ERR!   TARGET = Some("x86_64-apple-darwin")                                                                                                        
npm ERR!   HOST = Some("x86_64-apple-darwin")                                                                                                          
npm ERR!   AR_x86_64-apple-darwin = None                                   
npm ERR!   AR_x86_64_apple_darwin = None                                                                                                               
npm ERR!   HOST_AR = None                                                                                                                              
npm ERR!   AR = None                                                                                                                                   
npm ERR!   running: "ar" "cq" "/usr/local/lib/node_modules/@graphprotocol/indexer-cli/node_modules/@graphprotocol/cost-model/native/target/debug/build/neon-sys-3b6678701d556f27/out/libneon.a" "/usr/local/lib/node_modules/@graphprotocol/indexer-cli/node_modules/@graphprotocol/cost-model/native/target/debug/build/neon-sys-3b6678701d556f27/out/native/build/Debug/obj.target/neon/src/neon.o"                                                                
npm ERR!   cargo:warning=ar: /usr/local/lib/node_modules/@graphprotocol/indexer-cli/node_modules/@graphprotocol/cost-model/native/target/debug/build/neon-sys-3b6678701d556f27/out/native/build/Debug/obj.target/neon/src/neon.o: No such file or directory                                                   npm ERR!   exit status: 1

Any idea what's wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions