artifishional / air-m2

MIT License
5 stars 4 forks source link

Error appears when rename project folder #98

Open One1L opened 5 years ago

One1L commented 5 years ago

If rename folder you should get this error during installing dependencies:

install: git+ssh://git@vcs.bingo-boom.ru:bb_games/gamex/gamex-web-poker.git ...
{ Error: Command failed: npm i --no-save --no-optional git+ssh://git@vcs.bingo-boom.ru:bb_games/gamex/gamex-web-poker.git
npm ERR! code ENOSELF
npm ERR! Refusing to install package with name "gamex-web-poker" under a package
npm ERR! also called "gamex-web-poker". Did you name your project the same
npm ERR! as the dependency you're installing?
npm ERR!
npm ERR! For more information, see:
npm ERR!     <https://docs.npmjs.com/cli/install#limitations-of-npms-install-algorithm>

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\av_makov\AppData\Roaming\npm-cache\_logs\2019-09-06T08_18_17_858Z-debug.log

    at ChildProcess.exithandler (child_process.js:294:12)
    at ChildProcess.emit (events.js:198:13)
    at maybeClose (internal/child_process.js:982:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
  killed: false,
  code: 1,
  signal: null,
  cmd:
   'npm i --no-save --no-optional git+ssh://git@vcs.bingo-boom.ru:bb_games/gamex/gamex-web-poker.git' }