Closed connecteev closed 5 years ago
Installation fails at 'npm install' step. Is there something missing in the install instructions? This is what I'm seeing:
OneStepAtATime:test_trello-clone-vue-laravel kunalpunjabi$ npm install > fsevents@1.1.3 install /Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/fsevents > node install node-pre-gyp ERR! Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v64-darwin-x64.tar.gz node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.1.3 and node@10.13.0 (node-v64 ABI, unknown) (falling back to source compile with node-gyp) node-pre-gyp ERR! Tried to download(undefined): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v64-darwin-x64.tar.gz node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.1.3 and node@10.13.0 (node-v64 ABI, unknown) (falling back to source compile with node-gyp) SOLINK_MODULE(target) Release/.node SOLINK_MODULE(target) Release/.node CXX(target) Release/obj.target/fse/fsevents.o CXX(target) Release/obj.target/fse/fsevents.o In file included from In file included from ../fsevents.cc:6: ../fsevents.ccIn file included from :../../nan/nan.h6:: 203In file included from : ../../nan/nan.hIn file included from :../../nan/nan_new.h203:: 189In file included from : ../../nan/nan_new.h:189: ../../nan/nan_implementation_12_inl.h:337:28../../nan/nan_implementation_12_inl.h:: 337:28warning:: warning: 'New''New' isis deprecateddeprecated [-Wdeprecated-declarations][-Wdeprecated-declarations] return v8::StringObject::New(value).As<v8::StringObject>(); return v8::StringObject::New(value).As<v8::StringObject>(); ^ ^ /Users/kunalpunjabi/.node-gyp/10.13.0/include/node/v8.h:/Users/kunalpunjabi/.node-gyp/10.13.0/include/node/v8.h5052::50523::3 : note: note: 'New' 'New'has hasbeen beenexplicitly explicitlymarked markeddeprecated deprecatedhere here V8_DEPRECATED("Use Isolate* version", V8_DEPRECATED("Use Isolate* version", ^ ^ /Users/kunalpunjabi/.node-gyp/10.13.0/include/node/v8config.h/Users/kunalpunjabi/.node-gyp/10.13.0/include/node/v8config.h::327327::2929:: notenote: : expandedexpanded fromfrom macro 'V8_DEPRECATED' declarator __attribute__((deprecated)) ^ macro 'V8_DEPRECATED' declarator __attribute__((deprecated)) ^ In file included from ../fsevents.cc:6: ../../nan/nan.h:1034:44: warning: 'ToString' is deprecated [-Wdeprecated-declarations] v8::Local<v8::String> string = from->ToString(); ^ /Users/kunalpunjabi/.node-gyp/10.13.0/include/node/v8.h:2454:10: note: 'ToString' has been explicitly marked deprecated here inline V8_DEPRECATED("Use maybe version", Local<String> ToString() const); ^ /Users/kunalpunjabi/.node-gyp/10.13.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated)) ^ In file included from ../fsevents.cc:6: ../../nan/nan.h:1034:44: warning: 'ToString' is deprecated [-Wdeprecated-declarations] v8::Local<v8::String> string = from->ToString(); ^ /Users/kunalpunjabi/.node-gyp/10.13.0/include/node/v8.h:2454:10: note: 'ToString' has been explicitly marked deprecated here inline V8_DEPRECATED("Use maybe version", Local<String> ToString() const); ^ /Users/kunalpunjabi/.node-gyp/10.13.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated)) ^ In file included from ../fsevents.cc:6: ../../nan/nan.h:1044:27: warning: 'WriteUtf8' is deprecated [-Wdeprecated-declarations] length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags); ^ /Users/kunalpunjabi/.node-gyp/10.13.0/include/node/v8.h:2658:3: note: 'WriteUtf8' has been explicitly marked deprecated here V8_DEPRECATED("Use Isolate* version", ^ /Users/kunalpunjabi/.node-gyp/10.13.0/include/node/v8config.h:In file included from 327../fsevents.cc::296:: ../../nan/nan.hnote:: 1044:expanded27 from: macro 'V8_DEPRECATED'warning : 'WriteUtf8' is deprecated [-Wdeprecated-declarations] declarator __attribute__((deprecated)) ^ length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags); ^ /Users/kunalpunjabi/.node-gyp/10.13.0/include/node/v8.h:2658:3: note: 'WriteUtf8' has been explicitly marked deprecated here V8_DEPRECATED("Use Isolate* version", ^ /Users/kunalpunjabi/.node-gyp/10.13.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated)) ^ In file included from ../fsevents.cc:85: ../src/methods.cc:14:12: warning: 'Call' is deprecated [-Wdeprecated-declarations] handler->Call(3, argv); ^In file included from ../fsevents.cc:85: ../../nan/nan.h:../src/methods.cc1617::143::12 : note: warning'Call': has been'Call' explicitlyis marked deprecateddeprecated here[-Wdeprecated-declarations] NAN_DEPRECATED inline v8::Local<v8::Value> handler->Call(3, argv); ^ ^ ../../nan/nan.h:98:40: ../../nan/nan.h:1617note: :3expanded: from macronote : 'NAN_DEPRECATED' 'Call' has been explicitly marked deprecated here# define NAN_DEPRECATED __attribute__((deprecated)) ^ NAN_DEPRECATED inline v8::Local<v8::Value> ^ ../../nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __attribute__((deprecated)) ^ 4 warnings generated. 4 warnings generated. rm: ./Release/.deps/Release/obj.target/fse/fsevents.o.d.raw: No such file or directory make: *** [Release/obj.target/fse/fsevents.o] Error 1 SOLINK_MODULE(target) Release/fse.node gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12) gyp ERR! System Darwin 17.5.0 gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node" "--module_name=fse" "--module_path=/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64" gyp ERR! cwd /Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/fsevents gyp ERR! node -v v10.13.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node --module_name=fse --module_path=/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:182:13) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:962:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5) node-pre-gyp ERR! System Darwin 17.5.0 node-pre-gyp ERR! command "/usr/local/bin/node" "/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/fsevents node-pre-gyp ERR! node -v v10.13.0 node-pre-gyp ERR! node-pre-gyp -v v0.6.39 node-pre-gyp ERR! not ok Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node --module_name=fse --module_path=/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64' (1) > node-sass@4.8.3 install /Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/node-sass > node scripts/install.js COPY /Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node TOUCH Release/obj.target/action_after_build.stamp Downloading binary from https://github.com/sass/node-sass/releases/download/v4.8.3/darwin-x64-64_binding.node Cannot download "https://github.com/sass/node-sass/releases/download/v4.8.3/darwin-x64-64_binding.node": HTTP error 404 Not Found Hint: If github.com is not accessible in your location try setting a proxy via HTTP_PROXY, e.g. export HTTP_PROXY=http://example.com:1234 or configure npm proxy via npm config set proxy http://example.com:8080 > node-sass@4.8.3 postinstall /Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/node-sass > node scripts/build.js Building: /usr/local/bin/node /Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library= gyp info it worked if it ends with ok gyp verb cli [ '/usr/local/bin/node', gyp verb cli '/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/node-gyp/bin/node-gyp.js', gyp verb cli 'rebuild', gyp verb cli '--verbose', gyp verb cli '--libsass_ext=', gyp verb cli '--libsass_cflags=', gyp verb cli '--libsass_ldflags=', gyp verb cli '--libsass_library=' ] gyp info using node-gyp@3.6.2 gyp info using node@10.13.0 | darwin | x64 gyp verb command rebuild [] gyp verb command clean [] gyp verb clean removing "build" directory gyp verb command configure [] gyp verb check python checking for Python executable "python2" in the PATH gyp verb `which` failed Error: not found: python2 gyp verb `which` failed at getNotFoundError (/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/which/which.js:13:12) gyp verb `which` failed at F (/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/which/which.js:68:19) gyp verb `which` failed at E (/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/which/which.js:80:29) gyp verb `which` failed at /Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/which/which.js:89:16 gyp verb `which` failed at /Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/isexe/index.js:42:5 gyp verb `which` failed at /Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/isexe/mode.js:8:5 gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:154:21) gyp verb `which` failed python2 { Error: not found: python2 gyp verb `which` failed at getNotFoundError (/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/which/which.js:13:12) gyp verb `which` failed at F (/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/which/which.js:68:19) gyp verb `which` failed at E (/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/which/which.js:80:29) gyp verb `which` failed at /Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/which/which.js:89:16 gyp verb `which` failed at /Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/isexe/index.js:42:5 gyp verb `which` failed at /Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/isexe/mode.js:8:5 gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:154:21) gyp verb `which` failed stack: gyp verb `which` failed 'Error: not found: python2\n at getNotFoundError (/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/which/which.js:13:12)\n at F (/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/which/which.js:68:19)\n at E (/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/which/which.js:80:29)\n at /Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/which/which.js:89:16\n at /Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/isexe/index.js:42:5\n at /Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/isexe/mode.js:8:5\n at FSReqWrap.oncomplete (fs.js:154:21)', gyp verb `which` failed code: 'ENOENT' } gyp verb check python checking for Python executable "python" in the PATH gyp verb `which` succeeded python /usr/bin/python gyp verb check python version `/usr/bin/python -c "import platform; print(platform.python_version());"` returned: "2.7.10\n" gyp verb get node dir no --target version specified, falling back to host node version: 10.13.0 gyp verb command install [ '10.13.0' ] gyp verb install input version string "10.13.0" gyp verb install installing version: 10.13.0 gyp verb install --ensure was passed, so won't reinstall if already installed gyp verb install version is already installed, need to check "installVersion" gyp verb got "installVersion" 9 gyp verb needs "installVersion" 9 gyp verb install version is good gyp verb get node dir target node version installed: 10.13.0 gyp verb build dir attempting to create "build" dir: /Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/node-sass/build gyp verb build dir "build" dir needed to be created? /Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/node-sass/build gyp verb build/config.gypi creating config file gyp verb build/config.gypi writing out config file: /Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/node-sass/build/config.gypi gyp verb config.gypi checking for gypi file: /Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/node-sass/config.gypi gyp verb common.gypi checking for gypi file: /Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/node-sass/common.gypi gyp verb gyp gyp format was not specified; forcing "make" gyp info spawn /usr/bin/python gyp info spawn args [ '/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/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/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/node-sass/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/Users/kunalpunjabi/.node-gyp/10.13.0/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/kunalpunjabi/.node-gyp/10.13.0', gyp info spawn args '-Dnode_gyp_dir=/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/Users/kunalpunjabi/.node-gyp/10.13.0/<(target_arch)/node.lib', gyp info spawn args '-Dmodule_root_dir=/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/node-sass', 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=.' ] xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance Traceback (most recent call last): File "/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/node-gyp/gyp/gyp_main.py", line 16, in <module> sys.exit(gyp.script_main()) File "/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 545, in script_main return main(sys.argv[1:]) File "/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 538, in main return gyp_main(args) File "/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 523, in gyp_main generator.GenerateOutput(flat_list, targets, data, params) File "/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 2170, in GenerateOutput part_of_all=qualified_target in needed_targets) File "/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 795, in Write self.Pchify)) File "/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 1190, in WriteSources cflags = self.xcode_settings.GetCflags(configname) File "/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 551, in GetCflags archs = self.GetActiveArchs(self.configname) File "/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 420, in GetActiveArchs xcode_archs_default = GetXcodeArchsDefault() File "/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 118, in GetXcodeArchsDefault xcode_version, _ = XcodeVersion() File "/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 1265, in XcodeVersion version = re.match(r'(\d\.\d\.?\d*)', version).groups()[0] AttributeError: 'NoneType' object has no attribute 'groups' gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/node-gyp/lib/configure.js:336:16) gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12) gyp ERR! System Darwin 17.5.0 gyp ERR! command "/usr/local/bin/node" "/Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library=" gyp ERR! cwd /Users/kunalpunjabi/Code/vuejs_examples/test_trello-clone-vue-laravel/node_modules/node-sass gyp ERR! node -v v10.13.0 gyp ERR! node-gyp -v v3.6.2 gyp ERR! not ok Build failed with error code: 1 npm WARN ajv-keywords@3.1.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules/fsevents): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 install: `node install` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! node-sass@4.8.3 postinstall: `node scripts/build.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the node-sass@4.8.3 postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /Users/kunalpunjabi/.npm/_logs/2019-05-05T19_20_36_136Z-debug.log OneStepAtATime:test_trello-clone-vue-laravel kunalpunjabi$
Installation fails at 'npm install' step. Is there something missing in the install instructions? This is what I'm seeing: