Assertion failed: ((start) <= (end)), function SliceOnto, file ../src/smalloc.cc

Did you just update your node version and started getting the following error?

Assertion failed: ((start) <= (end)), function SliceOnto, file ../src/smalloc.cc

Here, is the solution:

Step I : If you do not have nvm installed, then install nvm using the following:

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.27.1/install.sh | bash

or

sh wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.27.1/install.sh | bash

Step II : Install the version 0.12.2 of node and make it the default. So, whenever you start the new terminal session, it uses the default version.

nvm install 0.12.2
nvm alias default v0.12.2

If this does not help then check out the following issues :

You may also like...