Problème lancement app


#1

Hello,

je reposte ici, je n’ai pas réussi à avoir de réponse sur l’autre topic que j’avais créé.

J’ai un problème avec la commande yarn install , j’ai bien suivi les instructions a priori:

  • node8
  • installation de xcode
  • ImageMagick
  • Cordiva@6 -g
  • command xcode-select -s /Applications/Xcode.app/Contents/Developer permettre les commande xcode (au cas ou !)

J’obtiens ça:

error /Users/lucien/CloudStation/WebWork/open source/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown: Command failed.
Exit code: 2
Command: prebuild --install
Arguments:
Directory: /Users/lucien/CloudStation/WebWork/open source/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown
Output:
prebuild info begin Prebuild version 4.5.0
gyp http GET https://nodejs.org/download/release/v8.15.1/node-v8.15.1-headers.tar.gz
gyp http 200 https://nodejs.org/download/release/v8.15.1/node-v8.15.1-headers.tar.gz
gyp http GET https://nodejs.org/download/release/v8.15.1/SHASUMS256.txt
gyp http 200 https://nodejs.org/download/release/v8.15.1/SHASUMS256.txt
gyp info spawn /usr/bin/python
gyp info spawn args [ '/Users/lucien/CloudStation/WebWork/open source/cozy-drive/node_modules/prebuild/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/lucien/CloudStation/WebWork/open source/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/lucien/CloudStation/WebWork/open source/cozy-drive/node_modules/prebuild/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/lucien/CloudStation/WebWork/open source/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/8.15.1/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/Users/lucien/CloudStation/WebWork/open source/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/8.15.1',
gyp info spawn args   '-Dnode_gyp_dir=/Users/lucien/CloudStation/WebWork/open source/cozy-drive/node_modules/prebuild/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/Users/lucien/CloudStation/WebWork/open source/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/8.15.1/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/Users/lucien/CloudStation/WebWork/open source/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/db/builder.o
clang: error: no such file or directory: 'source/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/8.15.1/include/node'
clang: error: no such file or directory: 'source/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/8.15.1/src'
clang: error: no such file or directory: 'source/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/8.15.1/deps/openssl/config'
clang: error: no such file or directory: 'source/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/8.15.1/deps/openssl/openssl/include'
clang: error: no such file or directory: 'source/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/8.15.1/deps/uv/include'
clang: error: no such file or directory: 'source/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/8.15.1/deps/zlib'
clang: error: no such file or directory: 'source/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/8.15.1/deps/v8/include'
make: *** [Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/db/builder.o] Error 1
prebuild ERR! build error
prebuild ERR! stack Error: `make` failed with exit code: 2
prebuild ERR! stack     at ChildProcess.onExit (/Users/lucien/CloudStation/WebWork/open source/cozy-drive/node_modules/prebuild/node_modules/node-gyp/lib/build.js:262:23)
prebuild ERR! stack     at emitTwo (events.js:126:13)
prebuild ERR! stack     at ChildProcess.emit (events.js:214:7)
prebuild ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
prebuild ERR! not ok
prebuild ERR! build Error: `make` failed with exit code: 2
prebuild ERR! build     at ChildProcess.onExit (/Users/lucien/CloudStation/WebWork/open source/cozy-drive/node_modules/prebuild/node_modules/node-gyp/lib/build.js:262:23)

#2

Hello,

J’ai interpellé les développeurs sur ton message dans l’autre fil, mais nous étions en fin d’itération, ils devaient être trop occupés à finir de préparer leurs démos pour te répondre.

Je ré-essaie de les appeler : @_Crash @ptbrowne !