Apostrophe CMS Main Site Forum Home

NPM Error - Please Help me


#1

I have a npm error when I try to install Apostrophe in Debian 8:

npm ERR! Cannot read property ‘pause’ of undefined
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2017-10-22T17_20_18_456Z-debug.log

:frowning:


#2

You have a buggy version of npm. They have fixed it, so just upgrade:

npm install -g npm


#3

This error happen only with npm@5.4 . You can go on npm@5.5.x or npm@5.3.

npm install -g npm@5.5 should fix the problem like Tom said.


#4

Yes, but 5.5 is officially what you get with just “npm install -g npm” now, so hopefully this will not come up a lot in the future.

Unless Debian standardized on 5.4? headdesk … Did they?