Comments (3)
Do you have git installed? What does git --version
return?
from flightplan.
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.
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)
- [SQ] error Could not parse awards: Error: Failed to parse flights from HTML
- Is this project discontinued?
- Singapore Airlines Cargo instead of just Singapore Airlines HOT 4
- Duplicate Aircraft Types HOT 2
- month highlight not very clear
- CX parser failing on economy awards HOT 4
- CX - the program will occur the error with first search. HOT 3
- Search halt after 3 consecutive days for NH HOT 10
- client: '/bin/sh: 1: yarn: not found' HOT 5
- 502 Bad Gateway HOT 5
- is there a database setup script? HOT 1
- NH award search failing HOT 2
- AC one-way search failing with "Missing form element: tripTypeOneWay" HOT 2
- CX parser can't locate search fields HOT 5
- installation failure HOT 1
- AC Search failing: Missing form element: tripTypeRoundTrip HOT 1
- Aeroplan login changes HOT 1
- Error when installing flightplan HOT 3
- BA: Cannot progress after login. Cannot read property 'value' of null HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flightplan.