taiga-programming / learning-typescript

0 stars 0 forks source link

when i install huncwot new tech #8

Closed taiga-programming closed 3 years ago

taiga-programming commented 3 years ago

$ huncwot new tech
┌ Huncwot 0.59.1
├ new: creating project structure in tech directory ...
└ new: installing dependencies with npm install ...
events.js:177
      throw er; // Unhandled 'error' event
      ^

Error: spawn npm ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
    at onErrorNT (internal/child_process.js:456:16)
    at processTicksAndRejections (internal/process/task_queues.js:74:11)
Emitted 'error' event at:
    at Process.ChildProcess._handle.onexit (internal/child_process.js:270:12)
    at onErrorNT (internal/child_process.js:456:16)
    at processTicksAndRejections (internal/process/task_queues.js:74:11) {
  errno: 'ENOENT',
  code: 'ENOENT',
  syscall: 'spawn npm',
  path: 'npm',
  spawnargs: [ 'install' ]
taiga-programming commented 3 years ago

also, I started server huncwot server which caused the error

$ huncwot server
  Error password authentication failed for user "taiga"
  Explanation 
  (missing)

  Stack trace
  - Parser.parseErrorMessage
    C:\Users\taiga\AppData\Roaming\nvm\v12.5.0\node_modules\huncwot\node_modules\pg-protocol\dist\parser.js:278
  - Parser.handlePacket
    C:\Users\taiga\AppData\Roaming\nvm\v12.5.0\node_modules\huncwot\node_modules\pg-protocol\dist\parser.js:126
  - Parser.parse
    C:\Users\taiga\AppData\Roaming\nvm\v12.5.0\node_modules\huncwot\node_modules\pg-protocol\dist\parser.js:39
  - Socket.<anonymous>
    C:\Users\taiga\AppData\Roaming\nvm\v12.5.0\node_modules\huncwot\node_modules\pg-protocol\dist\index.js:10
  - Socket.emit
    events.js:200
  - addChunk
    _stream_readable.js:294
  - readableAddChunk
    _stream_readable.js:275
  - Socket.Readable.push
    _stream_readable.js:210
  - TCP.onStreamRead
    internal/stream_base_commons.js:166