npm install
npm test
vuejs / vue-test-utils-getting-started Goto Github PK
View Code? Open in Web Editor NEWDemo project for `vue-test-utils`
Demo project for `vue-test-utils`
npm install
npm test
[/tmp/mEmVVs] node -v
v10.15.3
[/tmp/mEmVVs] npm -v
6.9.0
[/tmp/mEmVVs] git clone https://github.com/vuejs/vue-test-utils-getting-started
[/tmp/mEmVVs] cd vue-test-utils-getting-started
[/tmp/mEmVVs/vue-test-utils-getting-started] npm i
> [email protected] install /private/tmp/mEmVVs/vue-test-utils-getting-started/node_modules/fsevents
> node install
node-pre-gyp ERR! Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.2/fse-v1.1.2-node-v64-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI) (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.2/fse-v1.1.2-node-v64-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI) (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../fsevents.cc::66:
:
In file included from In file included from ../../nan/nan.h../../nan/nan.h::192192:
:
../../nan/nan_maybe_43_inl.h../../nan/nan_maybe_43_inl.h::112112::1515:: errorerror: : nono membermember namednamed 'ForceSet''ForceSet' inin 'v8::Object' 'v8::Object'
return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs); return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
~~~ ^ ~~~ ^
In file included from ../fsevents.cc:6:
../../nan/nan.h:834:18: warning: 'MakeCallback' is deprecated:In file included from ../fsevents.ccUse: 6MakeCallback(...,:
async_context)../../nan/nan.h :[-Wdeprecated-declarations]834:
18: warning: 'MakeCallback' is return node::MakeCallback(
deprecated: ^Use
MakeCallback(..., async_context) [-Wdeprecated-declarations]
/Users/shakal/.node-gyp/10.15.3/include/node/node.h:176:1: return node::MakeCallback(note
: ^'MakeCallback'
has been explicitly marked deprecated/Users/shakal/.node-gyp/10.15.3/include/node/node.h :here176:
1: note: 'MakeCallback' has been explicitly NODE_DEPRECATED("Use MakeCallback(..., async_context)",marked
deprecated here^
/Users/shakal/.node-gyp/10.15.3/include/node/node.h:91:20: NODE_DEPRECATED("Use MakeCallback(..., async_context)",note
: ^expanded
from macro /Users/shakal/.node-gyp/10.15.3/include/node/node.h'NODE_DEPRECATED':91
:20: note: expanded from macro 'NODE_DEPRECATED'
__attribute__((deprecated(message))) declarator
^
__attribute__((deprecated(message))) declarator
^
In file included from ../fsevents.cc:6:
../../nan/nan.hIn file included from :../fsevents.cc849::618:
: ../../nan/nan.h:849:warning18: : 'MakeCallback' warningis: deprecated: 'MakeCallback'Use isMakeCallback(..., deprecated:async_context) Use[-Wdeprecated-declarations] MakeCallback(...,
async_context) [-Wdeprecated-declarations]
return node::MakeCallback(
^
return node::MakeCallback(
^
/Users/shakal/.node-gyp/10.15.3/include/node/node.h:169:1/Users/shakal/.node-gyp/10.15.3/include/node/node.h:: 169:1note:: 'MakeCallback' notehas: been'MakeCallback' explicitlyhas markedbeen deprecatedexplicitly heremarked
deprecated here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/shakal/.node-gyp/10.15.3/include/node/node.h:91:20/Users/shakal/.node-gyp/10.15.3/include/node/node.h:: 91:20note:: expanded notefrom: macroexpanded 'NODE_DEPRECATED'from
macro 'NODE_DEPRECATED'
__attribute__((deprecated(message))) declarator
^
__attribute__((deprecated(message))) declarator
^
In file included from In file included from ../fsevents.cc../fsevents.cc::66:
:
../../nan/nan.h../../nan/nan.h::864864::1818:: warningwarning: : 'MakeCallback''MakeCallback' isis deprecated:deprecated: UseUse MakeCallback(...,MakeCallback(..., async_context)async_context) [-Wdeprecated-declarations][-Wdeprecated-declarations]
return node::MakeCallback( return node::MakeCallback(
^ ^
/Users/shakal/.node-gyp/10.15.3/include/node/node.h/Users/shakal/.node-gyp/10.15.3/include/node/node.h::162162::11:: notenote: : 'MakeCallback''MakeCallback' hashas beenbeen explicitlyexplicitly markedmarked deprecateddeprecated herehere
NODE_DEPRECATED("Use MakeCallback(..., async_context)",NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^^
/Users/shakal/.node-gyp/10.15.3/include/node/node.h/Users/shakal/.node-gyp/10.15.3/include/node/node.h::9191::2020:: notenote: : expandedexpanded fromfrom macromacro 'NODE_DEPRECATED''NODE_DEPRECATED'
__attribute__((deprecated(message))) declarator __attribute__((deprecated(message))) declarator
^ ^
In file included from ../fsevents.cc:6:
../../nan/nan.h:In file included from 1473:../fsevents.cc31::6 :
../../nan/nan.hwarning:: 1473:31'MakeCallback': is deprecated:warning : Use MakeCallback(...,'MakeCallback' async_context)is [-Wdeprecated-declarations]deprecated:
Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
return scope.Escape(node::MakeCallback(
^
return scope.Escape(node::MakeCallback(
/Users/shakal/.node-gyp/10.15.3/include/node/node.h ^:
176:1: /Users/shakal/.node-gyp/10.15.3/include/node/node.hnote:: 176:'MakeCallback'1 :has been noteexplicitly: marked'MakeCallback' deprecatedhas herebeen
explicitly marked deprecated here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
NODE_DEPRECATED("Use MakeCallback(..., async_context)",/Users/shakal/.node-gyp/10.15.3/include/node/node.h
:91^:
20: /Users/shakal/.node-gyp/10.15.3/include/node/node.hnote:: 91:expanded20 :from macro note'NODE_DEPRECATED':
expanded from macro 'NODE_DEPRECATED'
__attribute__((deprecated(message))) declarator
^
__attribute__((deprecated(message))) declarator
^
4 warnings and 1 error generated.
4 warnings and 1 error generated.
make: make: *** [Release/obj.target/fse/fsevents.o] Error 1*** [Release/obj.target/fse/fsevents.o] Error 1
gypgyp ERR!ERR! build errorbuild error
gyp ERR! stack Error: `make` failed with exit code: 2
gypgyp ERR! ERR!stack at ChildProcess.onExit (/Users/shakal/.npm-global/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
stackgyp Error: `make` failed with exit code: 2
gypERR! ERR!stack at ChildProcess.emit (events.js:189:13)
stackgyp at ChildProcess.onExit (/Users/shakal/.npm-global/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gypERR! ERR!stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
stack at ChildProcess.emit (events.js:189:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! gyp System Darwin 18.2.0
ERR! gypSystem Darwin 18.2.0
ERR! command "/usr/local/bin/node" "/Users/shakal/.npm-global/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/private/tmp/mEmVVs/vue-test-utils-getting-started/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node" "--module_name=fse" "--module_path=/private/tmp/mEmVVs/vue-test-utils-getting-started/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64"
gypgyp ERR!ERR! cwdcommand /private/tmp/mEmVVs/vue-test-utils-getting-started/node_modules/fsevents
"/usr/local/bin/node" "/Users/shakal/.npm-global/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/private/tmp/mEmVVs/vue-test-utils-getting-started/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node" "--module_name=fse" "--module_path=/private/tmp/mEmVVs/vue-test-utils-getting-started/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64"
gyp gypERR! ERR!node -v v10.15.3
cwd /private/tmp/mEmVVs/vue-test-utils-getting-started/node_modules/fsevents
gyp gypERR! ERR!node-gyp -v v3.8.0
node -v v10.15.3
gypgyp ERR!ERR! not oknode-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 /Users/shakal/.npm-global/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/private/tmp/mEmVVs/vue-test-utils-getting-started/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node --module_name=fse --module_path=/private/tmp/mEmVVs/vue-test-utils-getting-started/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/private/tmp/mEmVVs/vue-test-utils-getting-started/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:189:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:970:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
node-pre-gyp ERR! System Darwin 18.2.0
node-pre-gyp ERR! command "/usr/local/bin/node" "/private/tmp/mEmVVs/vue-test-utils-getting-started/node_modules/fsevents/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /private/tmp/mEmVVs/vue-test-utils-getting-started/node_modules/fsevents
node-pre-gyp ERR! node -v v10.15.3
node-pre-gyp ERR! node-pre-gyp -v v0.6.36
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/bin/node /Users/shakal/.npm-global/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/private/tmp/mEmVVs/vue-test-utils-getting-started/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node --module_name=fse --module_path=/private/tmp/mEmVVs/vue-test-utils-getting-started/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64' (1)
npm WARN [email protected] No repository field.
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
added 427 packages from 289 contributors and audited 9360 packages in 6.408s
found 644 vulnerabilities (338 low, 278 moderate, 28 high)
run `npm audit fix` to fix them, or `npm audit` for details
[/tmp/mEmVVs/vue-test-utils-getting-started]
Cloning the repo and running npm install
results in the following:
audited 20595 packages in 4.753s found 786 vulnerabilities (689 low, 69 moderate, 28 high)
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.