Giter Site home page Giter Site logo

Comments (3)

jd20 avatar jd20 commented on September 15, 2024

Do you have git installed? What does git --version return?

from flightplan.

spacemanspiff33 avatar spacemanspiff33 commented on September 15, 2024

did not have git installed. Complete n00b here so i apologize
I installed git and was able to install flightplan using the yarn global add flightplan-tool
However, when i type flightplan (or a command after) i get flightplan: command not found
Anything easy i might be missing?

from flightplan.

Timothy0927 avatar Timothy0927 commented on September 15, 2024

Hi Jason @jd20 ,

I regularly updated to the latest version and the Flightplan-tool is amazing as always.
Recently I uninstalled it for some searching issue, but unable to re-installed it, could you please take a look for me? Thank you

Current version:
MacOS Majave 10.14.6
Xcode: 10.3
node version/npm: v12.9.0
yarn --version: v1.17.3
git version 2.20.1 (Apple Git-117)
[email protected]

I began with
yarn global add flightplan-tool

and then
error /Users/LiuChengHsin/.config/yarn/global/node_modules/integer: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: /Users/LiuChengHsin/.config/yarn/global/node_modules/integer
Output:
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp info find Python using Python version 2.7.10 found at "/usr/bin/python"
gyp info spawn /usr/bin/python
gyp info spawn args [
gyp info spawn args '/usr/local/Cellar/node/12.9.0/libexec/lib/node_modules/npm/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/LiuChengHsin/.config/yarn/global/node_modules/integer/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/local/Cellar/node/12.9.0/libexec/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/LiuChengHsin/Library/Caches/node-gyp/12.9.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/LiuChengHsin/Library/Caches/node-gyp/12.9.0',
gyp info spawn args '-Dnode_gyp_dir=/usr/local/Cellar/node/12.9.0/libexec/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/Users/LiuChengHsin/Library/Caches/node-gyp/12.9.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/Users/LiuChengHsin/.config/yarn/global/node_modules/integer',
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 args ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
CXX(target) Release/obj.target/integer/src/integer.o
../src/integer.cpp:329:21: error: no matching constructor for initialization of 'v8::String::Value'
v8::String::Value utf16(string);
^ ~~~~~~
/Users/LiuChengHsin/Library/Caches/node-gyp/12.9.0/include/node/v8.h:3038:5: note: candidate constructor not viable: no known conversion from 'v8::Localv8::String' to 'const v8::String::Value' for 1st argument
Value(const Value&) = delete;
^
/Users/LiuChengHsin/Library/Caches/node-gyp/12.9.0/include/node/v8.h:3031:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
Value(Isolate* isolate, Localv8::Value obj);
^
1 error generated.
make: *** [Release/obj.target/integer/src/integer.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/Cellar/node/12.9.0/libexec/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:196:23)
gyp ERR! stack at ChildProcess.emit (events.js:209:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 18.7.0
gyp ERR! command "/usr/local/Cellar/node/12.9.0/bin/node" "/usr/local/Cellar/node/12.9.0/libexec/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/LiuChengHsin/.config/yarn/global/node_modules/integer
gyp ERR! node -v v12.9.0

What can the matter be?

Thank you very much, I am grateful for your help

Sincerely,

Timothy Liu

from flightplan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.