Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Won't build (command not found: install-app-deps) #15

Open
JonathanReeve opened this issue Feb 17, 2017 · 2 comments
Open

Won't build (command not found: install-app-deps) #15

JonathanReeve opened this issue Feb 17, 2017 · 2 comments

Comments

@JonathanReeve
Copy link

Hi everyone! I'm subscribed to the old Infinite Library repo from the first hackathon, so I get all the notifications. Since this project looks super interesting, I thought I'd build it and give it a try. Sadly, I just can't figure out how to get it to build. Here's what I've tried:

git clone https://github.com/InfiniteLibrary/infinite-electron
cd infinite-electron
yarn

and here's what I get:

$ yarn
yarn install v0.20.0
[1/4] Resolving packages...
success Already up-to-date.
$ concurrently "install-app-deps" "node node_modules/fbjs-scripts/node/check-dev-engines.js package.json"
[0] zsh:1: command not found: install-app-deps
[0] install-app-deps exited with code 127
[1] node node_modules/fbjs-scripts/node/check-dev-engines.js package.json exited with code 0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

I tried npm install -g install-app-deps, and that gives me the executable install-app-deps, but then I get the same error as above, even after restarting the session.

@egardner
Copy link
Contributor

egardner commented Feb 17, 2017

Hi @JonathanReeve! What versions of Node & NPM (and what OS) are you running?
I just did a fresh install on a mac and was able to build successfully, but you probably have some slight differences in setup that we aren't handling properly.

Try yarn install first, and then yarn run dev. You shouldn't need the install-app-deps as a global.

Also, if you want to see the (very rough / beta) app without having to build it, you an download one of the images in the Releases tab to start.

@JonathanReeve
Copy link
Author

This is what I get with yarn install:

$ yarn install
yarn install v0.20.0
[1/4] Resolving packages...
success Already up-to-date.
$ concurrently "install-app-deps" "node node_modules/fbjs-scripts/node/check-dev-engines.js package.json"
[0] zsh:1: command not found: install-app-deps
[0] install-app-deps exited with code 127
[1] node node_modules/fbjs-scripts/node/check-dev-engines.js package.json exited with code 0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Here are my versions:

$ node --version && npm --version
v7.6.0
4.4.1

And system information:

$ archey3 

               +                OS: Arch Linux x86_64
               #                Hostname: dh-usb
              ###               Kernel Release: 4.9.11-1-ARCH
             #####              Uptime: 5 days, 0:44
             ######             WM: None
            ; #####;            DE: GNOME
           +##.#####            Packages: 1731
          +##########           RAM: 2749 MB / 7901 MB
         #############;         Processor Type: Intel(R) Core(TM) M-5Y71 CPU @ 1.20GHz
        ###############+        $EDITOR: nvim
       #######   #######        Root: 45G / 48G (93%) (ext4)
     .######;     ;###;`".      
    .#######;     ;#####.       
    #########.   .########`     
   ######'           '######    
  ;####                 ####;   
  ##'                     '##   
 #'                         `#  

Despite the error messages, though, it almost works when I run yarn run dev. I can read a few books! Neat project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants