René's URL Explorer Experiment


Title: `docsify` fails under yarn pnp strict mode due to missing `ansi-colors` dependency · Issue #191 · docsifyjs/docsify-cli · GitHub

Open Graph Title: `docsify` fails under yarn pnp strict mode due to missing `ansi-colors` dependency · Issue #191 · docsifyjs/docsify-cli

X Title: `docsify` fails under yarn pnp strict mode due to missing `ansi-colors` dependency · Issue #191 · docsifyjs/docsify-cli

Description: Yarn (v2/3) by default operates in a strict Plug'n'Play mode which does not allow directly loading indirect dependencies. lib/commands/init.js directly requires ansi-colors, but it's not listed in package.json. yarn run docsify, therefor...

Open Graph Description: Yarn (v2/3) by default operates in a strict Plug'n'Play mode which does not allow directly loading indirect dependencies. lib/commands/init.js directly requires ansi-colors, but it's not listed in ...

X Description: Yarn (v2/3) by default operates in a strict Plug'n'Play mode which does not allow directly loading indirect dependencies. lib/commands/init.js directly requires ansi-colors, but it's no...

Opengraph URL: https://github.com/docsifyjs/docsify-cli/issues/191

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`docsify` fails under yarn pnp strict mode due to missing `ansi-colors` dependency","articleBody":"Yarn (v2/3) by default operates in a strict Plug'n'Play mode which does not allow directly loading indirect dependencies.\r\n\r\n`lib/commands/init.js` directly requires `ansi-colors`, but it's not listed in `package.json`.\r\n\r\n`yarn run docsify`, therefore, fails (even if `docsify-cli` is correctly registered in `package.json`).\r\n\r\nAdding `\"ansi-colors\": \"^4.1.1\"` to `dependencies` should be enough (I chose that version because it's what's already in `package-lock.json` from an indirect dependency).\r\n\r\n```shellsession\r\n$ yarn run docsify\r\n/Users/tlilley/projects/veatech/sbx/smithy/.pnp.cjs:11796\r\n    throw firstError;\r\n    ^\r\n\r\nError: docsify-cli tried to access ansi-colors, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.\r\n\r\nRequired package: ansi-colors\r\nRequired by: docsify-cli@npm:4.4.4 (via /Users/tlilley/projects/veatech/sbx/smithy/.yarn/cache/docsify-cli-npm-4.4.4-3d7dbcc799-2f72ff07d0.zip/node_modules/docsify-cli/lib/commands/)\r\n\r\nRequire stack:\r\n- /Users/tlilley/projects/veatech/sbx/smithy/.yarn/cache/docsify-cli-npm-4.4.4-3d7dbcc799-2f72ff07d0.zip/node_modules/docsify-cli/lib/commands/init.js\r\n- /Users/tlilley/projects/veatech/sbx/smithy/.yarn/cache/docsify-cli-npm-4.4.4-3d7dbcc799-2f72ff07d0.zip/node_modules/docsify-cli/lib/index.js\r\n- /Users/tlilley/projects/veatech/sbx/smithy/.yarn/cache/docsify-cli-npm-4.4.4-3d7dbcc799-2f72ff07d0.zip/node_modules/docsify-cli/bin/docsify\r\n    at require$$0.Module._resolveFilename (/Users/tlilley/projects/veatech/sbx/smithy/.pnp.cjs:11795:13)\r\n    at require$$0.Module._load (/Users/tlilley/projects/veatech/sbx/smithy/.pnp.cjs:11645:42)\r\n    at Module.require (node:internal/modules/cjs/loader:1157:19)\r\n    at require (node:internal/modules/helpers:119:18)\r\n    at Object.\u003canonymous> (/Users/tlilley/projects/veatech/sbx/smithy/.yarn/cache/docsify-cli-npm-4.4.4-3d7dbcc799-2f72ff07d0.zip/node_modules/docsify-cli/lib/commands/init.js:10:16)\r\n    at Module._compile (node:internal/modules/cjs/loader:1275:14)\r\n    at Module._extensions..js (node:internal/modules/cjs/loader:1329:10)\r\n    at require$$0.Module._extensions..js (/Users/tlilley/projects/veatech/sbx/smithy/.pnp.cjs:11839:33)\r\n    at Module.load (node:internal/modules/cjs/loader:1133:32)\r\n    at require$$0.Module._load (/Users/tlilley/projects/veatech/sbx/smithy/.pnp.cjs:11676:14)\r\n\r\nNode.js v19.8.1\r\n```","author":{"url":"https://github.com/tripplilley","@type":"Person","name":"tripplilley"},"datePublished":"2023-03-20T14:05:33Z","url":"https://github.com/docsifyjs/docsify-cli/issues/191"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:96303066-ee51-cb76-ca34-2d3f977cd609
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD9FA:2A130F:26DFB6C:35CB1BA:6AFD3A5B
html-safe-nonce61ca70ce9179e63d5f03eb1c3536ceda84495e70d7e9129a8b4cf9f151965d5b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOUZBOjJBMTMwRjoyNkRGQjZDOjM1Q0IxQkE6NkFGRDNBNUIiLCJ2aXNpdG9yX2lkIjoiNTQ0MjAwMDgyMjEyMDc2MTIzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac07179c6510b8c03b9083ac53b1173865cccf42603ec6c65e07cc46539698bc9f
hovercard-subject-tagissue:1632186846
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/docsifyjs/docsify-cli/191/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b9e79ff69eb03b52939f0efb685befb033617ce5fa38150d0ac84fa8877927dc/docsifyjs/docsify-cli/issues/191
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b9e79ff69eb03b52939f0efb685befb033617ce5fa38150d0ac84fa8877927dc/docsifyjs/docsify-cli/issues/191
og:image:altYarn (v2/3) by default operates in a strict Plug'n'Play mode which does not allow directly loading indirect dependencies. lib/commands/init.js directly requires ansi-colors, but it's not listed in ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametripplilley
hostnamegithub.com
expected-hostnamegithub.com
Nonebdbacc25b921224ff0befcb9e629560a1255be51aec9991d6e3f95b5e9151474
turbo-cache-controlno-preview
go-importgithub.com/docsifyjs/docsify-cli git https://github.com/docsifyjs/docsify-cli.git
octolytics-dimension-user_id40133106
octolytics-dimension-user_logindocsifyjs
octolytics-dimension-repository_id74482617
octolytics-dimension-repository_nwodocsifyjs/docsify-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id74482617
octolytics-dimension-repository_network_root_nwodocsifyjs/docsify-cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release556dd37bb0aceffb25724e151b5d858b3265b40b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/docsifyjs/docsify-cli/issues/191#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdocsifyjs%2Fdocsify-cli%2Fissues%2F191
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdocsifyjs%2Fdocsify-cli%2Fissues%2F191
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=docsifyjs%2Fdocsify-cli
Reloadhttps://github.com/docsifyjs/docsify-cli/issues/191
Reloadhttps://github.com/docsifyjs/docsify-cli/issues/191
Reloadhttps://github.com/docsifyjs/docsify-cli/issues/191
docsifyjshttps://github.com/docsifyjs
docsify-clihttps://github.com/docsifyjs/docsify-cli
Codehttps://github.com/docsifyjs/docsify-cli
Issues15 (15)https://github.com/docsifyjs/docsify-cli/issues
Pull requests11 (11)https://github.com/docsifyjs/docsify-cli/pulls
Actionshttps://github.com/docsifyjs/docsify-cli/actions
Projectshttps://github.com/docsifyjs/docsify-cli/projects
Security and qualityhttps://github.com/docsifyjs/docsify-cli/security
Insightshttps://github.com/docsifyjs/docsify-cli/insights
https://github.com/docsifyjs/docsify-cli
New issuehttps://github.com/login?return_to=https://github.com/docsifyjs/docsify-cli/issues/191
New issuehttps://github.com/login?return_to=https://github.com/docsifyjs/docsify-cli/issues/191
docsify fails under yarn pnp strict mode due to missing ansi-colors dependencyhttps://github.com/docsifyjs/docsify-cli/issues/191#top
https://github.com/tripplilley
tripplilleyhttps://github.com/tripplilley
on Mar 20, 2023https://github.com/docsifyjs/docsify-cli/issues/191#issue-1632186846
tripplilleyhttps://github.com/tripplilley
on Mar 20, 2023https://github.com/docsifyjs/docsify-cli/issues/191#event-8795147903
https://github.com/tripplilley
tripplilleyhttps://github.com/tripplilley
on Mar 20, 2023https://github.com/docsifyjs/docsify-cli/issues/191#issuecomment-1476325225
https://github.com/tripplilley
tripplilleyhttps://github.com/tripplilley
on Mar 20, 2023https://github.com/docsifyjs/docsify-cli/issues/191#issuecomment-1476334459
Sign up for freehttps://github.com/signup?return_to=https://github.com/docsifyjs/docsify-cli/issues/191
Sign in to commenthttps://github.com/login?return_to=https://github.com/docsifyjs/docsify-cli/issues/191
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.