You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Listingdependenciesfor ****
yarn
* 0yarndependenciesTraceback(mostrecentcalllast):
31: from/__enclose_io_memfs__/lib/ruby/gems/2.6.0/bin/licensed:23:in`<main>' 30: from /__enclose_io_memfs__/lib/ruby/gems/2.6.0/bin/licensed:23:in `load' 29: from /__enclose_io_memfs__/lib/ruby/gems/2.6.0/gems/licensed-3.4.0/exe/licensed:5:in `<top (required)>'28: from/__enclose_io_memfs__/lib/ruby/gems/2.6.0/gems/thor-1.1.0/lib/thor/base.rb:485:in`start' 27: from /__enclose_io_memfs__/lib/ruby/gems/2.6.0/gems/thor-1.1.0/lib/thor.rb:392:in `dispatch' 26: from /__enclose_io_memfs__/lib/ruby/gems/2.6.0/gems/thor-1.1.0/lib/thor/invocation.rb:127:in `invoke_command'25: from/__enclose_io_memfs__/lib/ruby/gems/2.6.0/gems/thor-1.1.0/lib/thor/command.rb:27:in`run' 24: from /__enclose_io_memfs__/lib/ruby/gems/2.6.0/gems/licensed-3.4.0/lib/licensed/cli.rb:43:in `list' 23: from /__enclose_io_memfs__/lib/ruby/gems/2.6.0/gems/licensed-3.4.0/lib/licensed/cli.rb:110:in `run'22: from/__enclose_io_memfs__/lib/ruby/gems/2.6.0/gems/licensed-3.4.0/lib/licensed/commands/command.rb:23:in`run' 21: from /__enclose_io_memfs__/lib/ruby/gems/2.6.0/gems/licensed-3.4.0/lib/licensed/commands/command.rb:64:in `run_command' 20: from /__enclose_io_memfs__/lib/ruby/gems/2.6.0/gems/licensed-3.4.0/lib/licensed/commands/command.rb:64:in `map'19: from/__enclose_io_memfs__/lib/ruby/gems/2.6.0/gems/licensed-3.4.0/lib/licensed/commands/command.rb:67:in`block in run_command' 18: from /__enclose_io_memfs__/lib/ruby/gems/2.6.0/gems/licensed-3.4.0/lib/licensed/commands/command.rb:95:in `run_app' 17: from /__enclose_io_memfs__/lib/ruby/gems/2.6.0/gems/licensed-3.4.0/lib/licensed/commands/command.rb:95:in `chdir'16: from/__enclose_io_memfs__/lib/ruby/gems/2.6.0/gems/licensed-3.4.0/lib/licensed/commands/command.rb:98:in`block in run_app' 15: from /__enclose_io_memfs__/lib/ruby/gems/2.6.0/gems/licensed-3.4.0/lib/licensed/commands/command.rb:98:in `map' 14: from /__enclose_io_memfs__/lib/ruby/gems/2.6.0/gems/licensed-3.4.0/lib/licensed/commands/command.rb:101:in `block (2 levels) in run_app'13: from/__enclose_io_memfs__/lib/ruby/gems/2.6.0/gems/licensed-3.4.0/lib/licensed/commands/command.rb:136:in`run_source' 12: from /__enclose_io_memfs__/lib/ruby/gems/2.6.0/gems/licensed-3.4.0/lib/licensed/sources/source.rb:67:in `dependencies' 11: from /__enclose_io_memfs__/lib/ruby/gems/2.6.0/gems/licensed-3.4.0/lib/licensed/sources/source.rb:84:in `cached_dependencies'10: from/__enclose_io_memfs__/lib/ruby/gems/2.6.0/gems/licensed-3.4.0/lib/licensed/sources/yarn/v1.rb:21:in`enumerate_dependencies' 9: from /__enclose_io_memfs__/lib/ruby/gems/2.6.0/gems/licensed-3.4.0/lib/licensed/sources/yarn/v1.rb:39:in `packages' 8: from /__enclose_io_memfs__/lib/ruby/gems/2.6.0/gems/licensed-3.4.0/lib/licensed/sources/yarn/v1.rb:59:in `recursive_dependencies'7: from/__enclose_io_memfs__/lib/ruby/gems/2.6.0/gems/licensed-3.4.0/lib/licensed/sources/yarn/v1.rb:59:in`each' 6: from /__enclose_io_memfs__/lib/ruby/gems/2.6.0/gems/licensed-3.4.0/lib/licensed/sources/yarn/v1.rb:69:in `blockinrecursive_dependencies' 5: from /__enclose_io_memfs__/lib/ruby/gems/2.6.0/gems/licensed-3.4.0/lib/licensed/sources/yarn/v1.rb:79:in `dependency_paths'4: from/__enclose_io_memfs__/lib/ruby/gems/2.6.0/gems/licensed-3.4.0/lib/licensed/sources/yarn/v1.rb:79:in`each_with_object' 3: from /__enclose_io_memfs__/lib/ruby/gems/2.6.0/gems/licensed-3.4.0/lib/licensed/sources/yarn/v1.rb:79:in `each' 2: from /__enclose_io_memfs__/lib/ruby/gems/2.6.0/gems/licensed-3.4.0/lib/licensed/sources/yarn/v1.rb:81:in `block in dependency_paths'1: from/__enclose_io_memfs__/lib/ruby/2.6.0/json/common.rb:156:in`parse'/__enclose_io_memfs__/lib/ruby/2.6.0/json/common.rb:156:in `parse': 767: unexpected token at '{(JSON::ParserError)
I'm struggling to find a workaround here, any help is appreciated!
The text was updated successfully, but these errors were encountered:
Thanks for the report @pfeffer 🙇 . I'll take a look and see if I can put out a fix ASAP. It's a little strange that the package installation includes the packages test fixtures though 😕
One of the packages we're using has a malformed
package.json
as a test fixture, and now runninglicenced
(v3) results in an error, since it's looping over all of thepackage.json
undernode_modules
here - https://github.com/github/licensed/blob/master/lib/licensed/sources/yarn/v1.rb#L79.here is the full backtrace:
I'm struggling to find a workaround here, any help is appreciated!
The text was updated successfully, but these errors were encountered: