gatsby-documentation-starter icon indicating copy to clipboard operation
gatsby-documentation-starter copied to clipboard

Can't to npm install

Open zmnv opened this issue 6 years ago • 4 comments

image

npm ERR! code ETARGET
npm ERR! notarget No matching version found for gatsby@next
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget 
npm ERR! notarget It was specified as a dependency of 'gatsby-documentation-starter'
npm ERR! notarget 

zmnv avatar May 04 '19 15:05 zmnv

I had exactly same issue. I changed the "next" version to "latest" a problem was solved... I don't know what "next" mean.

SukPavel avatar May 08 '19 08:05 SukPavel

I had exactly same issue. I changed the "next" version to "latest" a problem was solved... I don't know what "next" mean.

"next" in YARN similar at "latest" in NPM

zmnv avatar May 08 '19 08:05 zmnv

I had exactly same issue. I changed the "next" version to "latest" a problem was solved... I don't know what "next" mean.

"next" in YARN similar at "latest" in NPM

Aha...so the question is: Why they use YARN syntax in package.json :)

SukPavel avatar May 08 '19 09:05 SukPavel

I had exactly same issue. I changed the "next" version to "latest" a problem was solved... I don't know what "next" mean.

"next" in YARN similar at "latest" in NPM

Aha...so the question is: Why they use YARN syntax in package.json :)

iduno lol!! ahhahah.

BUT. See! There is 'package-lock.json' for NPM, but package.json for YARN. BUT!! There is no 'yarn-lock.json' for yarn ))))

Mystic.

Может он просто накидал по приколу наотвали мол сами разберутся. Проблема то в том, что ВСЕ статьи на эту тему — это статьи этого автора с этим репоизторием, который нифига из коробки не хочет запускаться сразу.

  1. нужно изменить package.json
  2. сделать адекватную подключалку компонентов.
  3. а если вы используете конструкции export * from '...' without default, you just cant use it. "scope is undefined".

Мне вообще пришлось всё вручную делать заново. Я подумал нафиг это всё.

So, I did react-native documentation without gatsby.

zmnv avatar May 08 '19 09:05 zmnv