Have you read the Contributing Guidelines on issues?
Prerequisites
Description
When trying to setup a repro on stackblitz for docusaurus I get a dependency issue during initial package install.
Looking at https://www.npmjs.com/package/@types/gtag.js?activeTab=versions I notice that @types/[email protected] is recommended for typescript 4.1 or 4.2.
For later versions of typescript, then version 0.0.20 is recommended for @types/gtag.js
This is reproducible clicking onwards from https://docusaurus.io/docs/playground on any of the two stackblitz buttons
- Stackblitz Javascript
- Stackblitz Typescript
My error:
~/projects/jvmikabmon.github
❯ yarn install && npm start
yarn install v1.22.19
[1/5] 🔍 Validating package.json...
[2/5] 🔍 Resolving packages...
[3/5] 🚚 Fetching packages...
error An unexpected error occurred: "EIO: '@types/[email protected]' not found in cache, try running install again".
info If you think this is a bug, please open a bug report with the information provided in "/home/projects/jvmikabmon.github/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Reproducible demo
No response
Steps to reproduce
- Visit https://docusaurus.io/docs/playground
- Press either button on the stackblitz portion to create a repro
- In stackblitz it automatically runs
yarn install && npm start which fails like the error above.
Expected behavior
A running docusaurus
Actual behavior
Yarn install failed due to bad dependency @types/[email protected]
Your environment
Self-service
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clearoryarn clearcommand.rm -rf node_modules yarn.lock package-lock.jsonand re-installing packages.Description
When trying to setup a repro on stackblitz for docusaurus I get a dependency issue during initial package install.
Looking at https://www.npmjs.com/package/@types/gtag.js?activeTab=versions I notice that @types/[email protected] is recommended for typescript 4.1 or 4.2.
For later versions of typescript, then version 0.0.20 is recommended for @types/gtag.js
This is reproducible clicking onwards from https://docusaurus.io/docs/playground on any of the two stackblitz buttons
My error:
Reproducible demo
No response
Steps to reproduce
yarn install && npm startwhich fails like the error above.Expected behavior
A running docusaurus
Actual behavior
Yarn install failed due to bad dependency @types/[email protected]
Your environment
Self-service