angryziber / kotlin-jooby-svelte-template

App template using Kotlin + Jooby + Svelte + Selenide, including how to write tests and run everything in Docker
54 stars 18 forks source link

`npm install` fails on a new project #8

Closed asolntsev closed 3 years ago

asolntsev commented 3 years ago

Steps to reproduce:

git clone https://github.com/angryziber/kotlin-jooby-svelte-template.git
cd https://github.com/angryziber/kotlin-jooby-svelte-template
npm install

Expected result: npm module snowpack (at least is installed)

Actual result:

npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
npm WARN deprecated rollup-plugin-inject@3.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm ERR! code E404
npm ERR! 404 Not Found - GET http://registry.npm.taobao.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-9.0.0.tgz - [not_found] document not found
npm ERR! 404 
npm ERR! 404  '@rollup/plugin-node-resolve@http://registry.npm.taobao.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-9.0.0.tgz' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/andrei/.npm/_logs/2021-04-09T08_09_55_910Z-debug.log
angryziber commented 3 years ago

Hmmm, it works for me, npm 7.7.6 on Ubuntu:

$ npm i

up to date, audited 1350 packages in 3s

85 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

What is "http://registry.npm.taobao.org" in your output? Also, these deps above don't look familiar, are you sure this is the correct project (the cd above obviously cannot work)

cbxp commented 3 years ago

Cannot reproduce