Closed pvanroos closed 3 years ago
I changed the command to:
yarn add @veramo/core @veramo/did-resolver
And now I get different output:
yarn add v1.22.10
info No lockfile found.
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To
clear this warning, remove package-lock.json.
[1/4] Resolving packages...
warning @angular/http@5.2.0: Package no longer supported. Use @angular/common instead, see https://angular.io/guide/deprecations#angularhttp
warning core-js@2.4.1: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning jquery-flot@0.8.3: flot has been abandoned
warning jvectormap@2.0.4: jvectormap is not maintened since Aug 2015. You can use jvectormap-next or jqvmap instead.
warning popper.js@1.12.5: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
warning @angular-devkit/build-angular > istanbul@0.4.5: This module is no longer maintained, try this instead:
npm i nyc
Visit https://istanbul.js.org/integrations for other alternatives.
warning @angular-devkit/build-angular > @angular-devkit/core > chokidar@2.0.4: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning @angular-devkit/build-angular > webpack-dev-server > chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning @angular-devkit/build-angular > less > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning @angular-devkit/build-angular > node-sass > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning @angular-devkit/build-angular > node-sass > node-gyp > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning @angular-devkit/build-angular > @angular-devkit/core > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning @angular-devkit/build-angular > webpack-dev-server > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning @angular-devkit/build-angular > webpack > watchpack > chokidar > fsevents@2.1.3: Please update to v 2.2.x
warning @angular-devkit/build-angular > less > request > har-validator@5.1.5: this library is no longer supported
warning @angular-devkit/build-angular > webpack > watchpack > watchpack-chokidar2 > chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning @angular-devkit/build-angular > istanbul-instrumenter-loader > istanbul-lib-instrument > babel-generator > babel-runtime > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning @angular-devkit/build-angular > webpack > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning @angular-devkit/build-angular > webpack > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
warning @angular/cli > ini@1.3.5: Please update to ini >=1.3.6 to avoid a prototype pollution issue
warning @angular/cli > @schematics/update > npm-registry-client > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning @angular/compiler-cli > chokidar@1.7.0: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning @angular/compiler-cli > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning napa > download > gulp-decompress > gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
[2/4] Fetching packages...
warning mini-css-extract-plugin@0.4.4: Invalid bin field for "mini-css-extract-plugin".
warning url-loader@1.1.2: Invalid bin field for "url-loader".
info fsevents@1.2.13: The platform "win32" is incompatible with this module.
info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@2.1.3: The platform "win32" is incompatible with this module.
info "fsevents@2.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "@tinymce/tinymce-angular > @angular/common@5.2.11" has incorrect peer dependency "@angular/core@5.2.11".
warning "@tinymce/tinymce-angular > @angular/forms@5.2.11" has incorrect peer dependency "@angular/core@5.2.11".
warning "@tinymce/tinymce-angular > @angular/forms@5.2.11" has incorrect peer dependency "@angular/platform-browser@5.2.11".
warning " > angular2-datatable@0.6.0" has incorrect peer dependency "@angular/core@^2.0.0".
warning " > angular2-datatable@0.6.0" has incorrect peer dependency "@angular/common@^2.0.0".
warning " > angular2-datatable@0.6.0" has incorrect peer dependency "@angular/platform-browser@^2.0.0".
warning " > bootstrap@4.0.0-beta.3" has incorrect peer dependency "popper.js@^1.12.9".
warning " > ng2-carouselamos@3.2.0" has incorrect peer dependency "@angular/common@^4.0.0".
warning " > ng2-carouselamos@3.2.0" has incorrect peer dependency "@angular/core@^4.0.0".
warning "ng2-datetime > bootstrap@4.5.3" has incorrect peer dependency "popper.js@^1.16.1".
warning " > ng2-select2@1.0.0-beta.10" has incorrect peer dependency "@angular/core@^2.2.0".
warning " > ng2-table@1.3.2" has incorrect peer dependency "@angular/common@~2.0.0".
warning " > ng2-table@1.3.2" has incorrect peer dependency "@angular/compiler@~2.0.0".
warning " > ng2-table@1.3.2" has incorrect peer dependency "@angular/core@~2.0.0".
warning " > ng2-table@1.3.2" has incorrect peer dependency "@angular/forms@~2.0.0".
[4/4] Building fresh packages...
[-/3] ⡀ waiting...
[-/3] ⡀ waiting...
warning Error running install script for optional dependency: "D:\Documents\node_modules\node-sass: Command failed.
Exit code: 1
Command: node scripts/build.js
Arguments:
Directory: D:\Documents\node_modules\node-sass
Output:
Building: C:\Program Files\nodejs\node.exe D:\Documents\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 [
gyp verb cli 'C:\\Program Files\\nodejs\\node.exe',
gyp verb cli 'D:\\Documents\\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 verb cli ]
gyp info using node-gyp@3.8.0
gyp info using node@15.4.0 | win32 | 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 (D:\Documents\node_modules\which\which.js:13:12)
gyp verb which
failed at F (D:\Documents\node_modules\which\which.js:68:19)
gyp verb which
failed at E (D:\Documents\node_modules\which\which.js:80:29)
gyp verb which
failed at D:\Documents\node_modules\which\which.js:89:16
gyp verb which
failed at D:\Documents\node_modules\isexe\index.js:42:5
gyp verb which
failed at D:\Documents\node_modules\isexe\windows.js:36:5
gyp verb which
failed at FSReqCallback.oncomplete (node:fs:199:21)
gyp verb which
failed python2 Error: not found: python2
gyp verb which
failed at getNotFoundError (D:\Documents\node_modules\which\which.js:13:12)
gyp verb which
failed at F (D:\Documents\node_modules\which\which.js:68:19)
gyp verb which
failed at E (D:\Documents\node_modules\which\which.js:80:29)
gyp verb which
failed at D:\Documents\node_modules\which\which.js:89:16
gyp verb which
failed at D:\Documents\node_modules\isexe\index.js:42:5
gyp verb which
failed at D:\Documents\node_modules\isexe\windows.js:36:5
gyp verb which
failed at FSReqCallback.oncomplete (node:fs:199:21) {
gyp verb which
failed code: 'ENOENT'
gyp verb which
failed }
gyp verb check python checking for Python executable \"python\" in the PATH
gyp verb which
succeeded python C:\Users\pvanroos\AppData\Local\Programs\Python\Python39\python.EXE
gyp ERR! configure error
gyp ERR! stack Error: Command failed: C:\Users\pvanroos\AppData\Local\Programs\Python\Python39\python.EXE -c import sys; print \"%s.%s.%s\" % sys.version_info[:3];
gyp ERR! stack File \"
Error: Didn't get expected byte count
expect: 50176
actual: 104149
at decorate (D:\Documents\node_modules\fstream\lib\abstract.js:67:36)
at FileReader.Abstract.error (D:\Documents\node_modules\fstream\lib\abstract.js:61:12)
at ReadStream.
My attempt fails as well, though with very little output:
$ yarn add @veramo/core @veramo/plugin-resolver
yarn add v1.22.4
[1/4] 🔍 Resolving packages...
error An unexpected error occurred: "https://registry.yarnpkg.com/@veramo%2fplugin-resolver: Not found".
info If you think this is a bug, please open a bug report with the information provided in "/Users/tlarson/dev/home/veramo-browser/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
All I did was click "copy" on the code sample on that page: https://veramo.io/docs/guides/browser
I can run and get @veramo/core
successfully. Here's my yarn-error.log when I only run yarn add @veramo/plugin-resolver
:
yarn-error.log
... and indeed there is no 'plugin-resolver' package at npmjs.com https://www.npmjs.com/search?q=veramo
@pvanroos If this should be a totally separate bug from yours, say the word and I'll log it separately.
@trentlarson It seems you have stumbled upon a bug in the docs.
Please use @veramo/did-resolver
instead of @veramo/plugin-resolver
Worked like a charm! Thanks.
While running through the 'Create React App' in Guides, I executed the following command:
yarn add @veramo/core @veramo/plugin-resolver
I get the following output:
yarn add v1.22.10 info No lockfile found. warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json. [1/4] Resolving packages... warning @angular/http@5.2.0: Package no longer supported. Use @angular/common instead, see https://angular.io/guide/deprecations#angularhttp warning core-js@2.4.1: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3. warning jquery-flot@0.8.3: flot has been abandoned warning jvectormap@2.0.4: jvectormap is not maintened since Aug 2015. You can use jvectormap-next or jqvmap instead. warning popper.js@1.12.5: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1 warning @angular-devkit/build-angular > istanbul@0.4.5: This module is no longer maintained, try this instead: npm i nyc Visit https://istanbul.js.org/integrations for other alternatives. warning @angular-devkit/build-angular > @angular-devkit/core > chokidar@2.0.4: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. warning @angular-devkit/build-angular > webpack-dev-server > chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. warning @angular-devkit/build-angular > less > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 warning @angular-devkit/build-angular > node-sass > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 warning @angular-devkit/build-angular > node-sass > node-gyp > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 warning @angular-devkit/build-angular > @angular-devkit/core > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. warning @angular-devkit/build-angular > webpack-dev-server > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. warning @angular-devkit/build-angular > webpack > watchpack > chokidar > fsevents@2.1.3: Please update to v 2.2.x warning @angular-devkit/build-angular > less > request > har-validator@5.1.5: this library is no longer supported warning @angular-devkit/build-angular > webpack > watchpack > watchpack-chokidar2 > chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. warning @angular-devkit/build-angular > istanbul-instrumenter-loader > istanbul-lib-instrument > babel-generator > babel-runtime > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3. warning @angular-devkit/build-angular > webpack > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated warning @angular-devkit/build-angular > webpack > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated warning @angular/cli > ini@1.3.5: Please update to ini >=1.3.6 to avoid a prototype pollution issue warning @angular/cli > @schematics/update > npm-registry-client > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 warning @angular/compiler-cli > chokidar@1.7.0: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. warning @angular/compiler-cli > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. warning napa > download > gulp-decompress > gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 error An unexpected error occurred: "https://registry.yarnpkg.com/@veramo%2fplugin-resolver: Not found". info If you think this is a bug, please open a bug report with the information provided in "D:\Documents\yarn-error.log". info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.