Difference between revisions of "Yarn add node-addon-api"

From wikieduonline
Jump to navigation Jump to search
 
Line 19: Line 19:
 
  it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
 
  it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
 
  info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
 
  info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
 +
 +
[[yarn add node-addon-api -W]]
  
 
== See also ==
 
== See also ==

Latest revision as of 18:44, 15 August 2022

yarn add node-addon-api
yarn add v1.22.19
[1/5] 🔍  Validating package.json...
[2/5] 🔍  Resolving packages...
warning Lockfile has incorrect entry for "@babel/[email protected]". Ignoring it.
warning Lockfile has incorrect entry for "depd@~1.1.2". Ignoring it.
warning Lockfile has incorrect entry for "eslint-plugin-jest@^25.3.0". Ignoring it.
warning Lockfile has incorrect entry for "acorn@^7.4.0". Ignoring it.
warning Lockfile has incorrect entry for "node-fetch@2.6.5". Ignoring it.
warning Lockfile has incorrect entry for "depd@^1.1.2". Ignoring it.
warning Lockfile has incorrect entry for "acorn@^7.0.0". Ignoring it.
warning Lockfile has incorrect entry for "acorn@^7.1.1". Ignoring it.


yarn add node-addon-api
yarn add v1.22.19
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant 
it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
yarn add node-addon-api -W

See also[edit]

Advertising: