neoighodaro-articles / trello-clone-vue-laravel Goto Github PK
View Code? Open in Web Editor NEWThis is a Trello clone built using Laravel and Vue. You can read about how it was created in the series.
This is a Trello clone built using Laravel and Vue. You can read about how it was created in the series.
Seems like a bug: second user sees the same cards which are made by the first user
I am getting a lot of error when I try to do
npm install
command
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-v93-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v93 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-v93-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v93 ABI, unknown) (falling back to source compile with node-gyp)
(node:27288) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:27287) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
(Use `node --trace-deprecation ...` to show where the warning was created)
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../fsevents.cc::66:
:
In file included from In file included from ../../nan/nan.h../../nan/nan.h::202202:
:
In file included from In file included from ../../nan/nan_converters.h../../nan/nan_converters.h::6767:
:
../../nan/nan_converters_43_inl.h../../nan/nan_converters_43_inl.h::2222::11:: errorerror: : no viable conversion from 'Local<v8::Context>' to 'v8::Isolate *'no viable conversion from 'Local<v8::Context>' to 'v8::Isolate *'
X(Boolean)
X(Boolean)
^~~~~~~~~~
^~~~~~~~~~
../../nan/nan_converters_43_inl.h:18../../nan/nan_converters_43_inl.h::2318:: 23: note: noteexpanded from macro 'X':
expanded from macro 'X'
val->To ## TYPE(isolate->GetCurrentContext()) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
val->To ## TYPE(isolate->GetCurrentContext()) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:3073:37: note: passing argument to parameter 'isolate' here
Local<Boolean> ToBoolean(Isolate* isolate) const;
^
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:3073:37: note: passing argument to parameter 'isolate' here
Local<Boolean> ToBoolean(Isolate* isolate) const;
^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:202:
In file included from ../../nan/nan_converters.h:67:
../../nan/nan_converters_43_inl.h:22:1: error: no member named 'FromMaybe' in 'v8::Local<v8::Boolean>'
X(Boolean)
^~~~~~~~~~
../../nan/nan_converters_43_inl.h:19:12: note: expanded from macro 'X'
.FromMaybe(v8::Local<v8::TYPE>())); \
^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:202:
In file included from ../../nan/nan_converters.h:67:
../../nan/nan_converters_43_inl.h:22:1: error: no member named 'FromMaybe' in 'v8::Local<v8::Boolean>'
X(Boolean)
^~~~~~~~~~
../../nan/nan_converters_43_inl.h:19:12: note: expanded from macro 'X'
.FromMaybe(v8::Local<v8::TYPE>())); \
^
../../nan/nan_converters_43_inl.h:40:1: error: no viable conversion from 'Local<v8::Context>' to 'v8::Isolate *'
X(bool, Boolean)
^~~~~~~~~~~~~~~~
../../nan/nan_converters_43_inl.h:37:29: note: expanded from macro 'X'
return val->NAME ## Value(isolate->GetCurrentContext()); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:3083:30: note: passing argument to parameter 'isolate' here
../../nan/nan_converters_43_inl.h:40:1: error: no viable conversion from 'Local<v8::Context>' to 'v8::Isolate *'
X(bool, Boolean)
bool BooleanValue(Isolate* isolate) const;
^~~~~~~~~~~~~~~~
^
../../nan/nan_converters_43_inl.h:37:29: note: expanded from macro 'X'
return val->NAME ## Value(isolate->GetCurrentContext()); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:3083:30: note: passing argument to parameter 'isolate' here
bool BooleanValue(Isolate* isolate) const;
^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:202:
In file included from ../../nan/nan_converters.h:67:
../../nan/nan_converters_43_inl.h:40:1: error: no viable conversion from returned value of type 'bool' to function return type 'imp::ToFactory<bool>::return_t' (aka 'Maybe<bool>')
X(bool, Boolean)
^~~~~~~~~~~~~~~~
../../nan/nan_converters_43_inl.h:37:10: note: expanded from macro 'X'
return val->NAME ## Value(isolate->GetCurrentContext()); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:10387:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'bool' to 'const v8::Maybe<bool> &' for 1st argument
class Maybe {
^In file included from
../fsevents.cc:6:
In file included from ../../nan/nan.h:202:
In file included from ../../nan/nan_converters.h:67:
../../nan/nan_converters_43_inl.h:40:1: /Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:error10387: :7:no viable conversion from returned value of type 'bool' to function return type 'imp::ToFactory<bool>::return_t' (aka 'Maybe<bool>')
note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'bool' to 'v8::Maybe<bool> &&' for 1st argument
X(bool, Boolean)
^~~~~~~~~~~~~~~~
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:10442:12../../nan/nan_converters_43_inl.h:: 37:10note:: explicit constructor is not a candidatenote
: expanded from macro 'X'
explicit Maybe(const T& t) : has_value_(true), value_(t) {}
^
return val->NAME ## Value(isolate->GetCurrentContext()); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:10387:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'bool' to 'const v8::Maybe<bool> &' for 1st argument
class Maybe {
^
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:10387:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'bool' to 'v8::Maybe<bool> &&' for 1st argument
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:10442:12: note: explicit constructor is not a candidate
explicit Maybe(const T& t) : has_value_(true), value_(t) {}
^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:203:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:103:42: error: no viable conversion from 'v8::Isolate *' to 'Local<v8::Context>'
return scope.Escape(v8::Function::New( isolate
^~~~~~~
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:199:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::Isolate *' to 'const v8::Local<v8::Context> &' for 1st argument
class Local {
^
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:199:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::Isolate *' to 'v8::Local<v8::Context> &&' for 1st argument
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:203:13: note: candidate template ignored: could not match 'Local<type-parameter-0-0>' against 'v8::Isolate *'
V8_INLINE Local(Local<S> that)
^
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:347:22: note: explicit constructor is not a candidate
explicit V8_INLINE Local(T* that) : val_(that) {}
^
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:4738:22: note: passing argument to parameter 'context' here
Local<Context> context, FunctionCallback callback,
^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:203:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:103:42: error: no viable conversion from 'v8::Isolate *' to 'Local<v8::Context>'
return scope.Escape(v8::Function::New( isolate
^~~~~~~
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:199:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::Isolate *' to 'const v8::Local<v8::Context> &' for 1st argument
class Local {
^
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:199:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::Isolate *' to 'v8::Local<v8::Context> &&' for 1st argument
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:203:13: note: candidate template ignored: could not match 'Local<type-parameter-0-0>' against 'v8::Isolate *'
V8_INLINE Local(Local<S> that)
^
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:347:22: note: explicit constructor is not a candidate
explicit V8_INLINE Local(T* that) : val_(that) {}
^
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:4738:22: note: passing argument to parameter 'context' here
Local<Context> context, FunctionCallback callback,
^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:203:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:337:37: error: too few arguments to function call, expected 2, have 1
return v8::StringObject::New(value).As<v8::StringObject>();
~~~~~~~~~~~~~~~~~~~~~ ^
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:6174:23: note: 'New' declared here
static Local<Value> New(Isolate* isolate, Local<String> value);
^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:203:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:337:37: error: too few arguments to function call, expected 2, have 1
return v8::StringObject::New(value).As<v8::StringObject>();
~~~~~~~~~~~~~~~~~~~~~ ^
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:6174:23: note: 'New' declared here
static Local<Value> New(Isolate* isolate, Local<String> value);
^
In file included from ../fsevents.cc:6:
../../nan/nan.h:1034:53: error: too few arguments to function call, single argument 'context' was not specified
v8::Local<v8::String> string = from->ToString();
~~~~~~~~~~~~~~ ^
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:3035:44: note: 'ToString' declared here
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^
In file included from ../fsevents.cc:6:
../../nan/nan.h:1034:29: error: no viable conversion from 'MaybeLocal<v8::String>' to 'v8::Local<v8::String>'
v8::Local<v8::String> string = from->ToString();
^ ~~~~~~~~~~~~~~~~
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:199:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'MaybeLocal<v8::String>' to 'const v8::Local<v8::String> &' for 1st argument
class Local {
^
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:199:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'MaybeLocal<v8::String>' to 'v8::Local<v8::String> &&' for 1st argument
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:203:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'
V8_INLINE Local(Local<S> that)
^
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:347:22: note: explicit constructor is not a candidate
explicit V8_INLINE Local(T* that) : val_(that) {}
^
In file included from ../fsevents.cc:6:
../../nan/nan.h:1044:37: error: cannot initialize a parameter of type 'v8::Isolate *' with an lvalue of type 'char *'
length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags);
^~~~
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:3264:26: note: passing argument to parameter 'isolate' here
int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
^
In file included from ../fsevents.cc:6:
../../nan/nan.h:1034:53: error: too few arguments to function call, single argument 'context' was not specified
v8::Local<v8::String> string = from->ToString();
~~~~~~~~~~~~~~ ^
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:3035:44: note: 'ToString' declared here
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^
In file included from ../fsevents.cc:6:
../../nan/nan.h:1034:29: error: no viable conversion from 'MaybeLocal<v8::String>' to 'v8::Local<v8::String>'
v8::Local<v8::String> string = from->ToString();
^ ~~~~~~~~~~~~~~~~
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:199:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'MaybeLocal<v8::String>' to 'const v8::Local<v8::String> &' for 1st argument
class Local {
^
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:199:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'MaybeLocal<v8::String>' to 'v8::Local<v8::String> &&' for 1st argument
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:203:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'
V8_INLINE Local(Local<S> that)
^
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:347:22: note: explicit constructor is not a candidate
explicit V8_INLINE Local(T* that) : val_(that) {}
^
In file included from ../fsevents.cc:6:
../../nan/nan.h:1044:37: error: cannot initialize a parameter of type 'v8::Isolate *' with an lvalue of type 'char *'
length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags);
^~~~
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:3264:26: note: passing argument to parameter 'isolate' here
int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
^
In file included from ../fsevents.cc:6:
../../nan/nan.h:1818:28: error: no matching member function for call to 'Set'
New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
~~~~~~~~~~~~~~~~~~~~~~~^~~
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:3948:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:3951:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
In file included from ../fsevents.cc:6:
../../nan/nan.h:1824:28: error: no matching member function for call to 'Set'
New(persistentHandle)->Set(key, value);
~~~~~~~~~~~~~~~~~~~~~~~^~~
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:3948:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/ildarnasurlaev/Library/Caches/node-gyp/16.6.0/include/node/v8.h:3951:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
In file included from ../fsevents.cc:6:
../../nan/nan.h:1830:28: error: no matching member function for call to 'Set'
New(persistentHandle)->Set(index, value);
Follow these steps:
find the path of mysql.sock in your OS, for MAC or Linux use this sudo find / -name mysql.sock
Copy the path and open your .env
Add this line DB_SOCKET='/path/to/mysql.sock'
Ravi Soni
CTO | +91 7771055531
Skype: ravi.soni971
[email protected]
Illuminate\Database\QueryException : SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes (SQL: alter table
usersadd unique
users_email_unique(
email))
Solution: https://laravel-news.com/laravel-5-4-key-too-long-error
I have configured project, Project is running Fine But Login is not working.
When i click register button ,the console says :bootstrap.js:279 POST http://127.0.0.1:8000/api/register 500 (Internal Server Error)
dispatchXhrRequest @ bootstrap.js:279
xhrAdapter @ bootstrap.js:118
dispatchRequest @ bootstrap.js:726
Promise.then (async)
request @ bootstrap.js:528
Axios. @ bootstrap.js:553
wrap @ bootstrap.js:1071
handleSubmit @ app.js:460
invokeWithErrorHandling @ app.js:9659
invoker @ app.js:9984
original._wrapper @ ### ### ### app.js:15337
app.js:473 Error: Request failed with status code 500
at createError (bootstrap.js:653)
at settle (bootstrap.js:899)
at XMLHttpRequest.handleLoad (bootstrap.js:166)
(anonymous) @ app.js:473
Promise.catch (async)
handleSubmit @ app.js:472
invokeWithErrorHandling @ app.js:9659
invoker @ app.js:9984
original._wrapper @ app.js:15337
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
> [email protected] 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 [email protected] and [email protected] (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 [email protected] and [email protected] (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)
> [email protected] 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
> [email protected] 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 [email protected]
gyp info using [email protected] | 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 [email protected] requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node install`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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$
good tutorial! One remark: php artisan passport:install generated errors, seems that this command has to be placed after the command php artisan db:seed
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.