Unable to Use NPM Package Manager

Discussion in 'Windows Virtual Machine' started by igorc4, Apr 27, 2021.

  1. igorc4

    igorc4 Bit poster

    Messages:
    1
    Is there a trick to properly configuring the NPM package manager to run under Parallels?
    I have no problems running NPM CLI commands in MINGW64 or PowerShell under non-virtual Windows or in the standard terminal on the MacOS side of things, but the CLI is clearly unhappy under Parallels.

    Here's a sample output while running a simple package install:
    npm install --global verdaccio
    npm ERR! code FETCH_ERROR
    npm ERR! errno FETCH_ERROR
    npm ERR! invalid json response body at https://www.npmjs.com/package/verdaccio reason: Unexpected token < in JSON at position 1

    npm ERR! A complete log of this run can be found in:
    npm ERR! C:\Users\ici2\AppData\Local\npm-cache\_logs\2021-04-27T21_48_07_556Z-debug.log
     

Share This Page