# general


04/24/2020, 11:55 PM
Hi. I'm getting a new error with Pulumi 2. My existing projects are still able to deploy correctly, but I just installed a fresh new project using Pulumi 2 and the
template, and every time I try to run
pulumi up
pulumi preview
it fails with this error:
Copy code
error: an unhandled error occurred: Program exited with non-zero exit code: -1
    /usr/local/bin/node[9740]: ../src/ node::Environment::~Environment(): Assertion `(base_object_count()) == (0)' failed.
     1: 0x100b8ff9a node::Abort() (.cold.1) [/usr/local/bin/node]
     2: 0x1000832c4 node::FatalError(char const*, char const*) [/usr/local/bin/node]
     3: 0x10008307c node::AppendExceptionLine(node::Environment*, v8::Local<v8::Value>, v8::Local<v8::Message>, node::ErrorHandlingMode) [/usr/local/bin/node]
     4: 0x10003e4bc node::Environment::~Environment() [/usr/local/bin/node]
     5: 0x10003e606 node::Environment::~Environment() [/usr/local/bin/node]
     6: 0x1000b4ac2 node::NodeMainInstance::Run() [/usr/local/bin/node]
     7: 0x100060f13 node::Start(int, char**) [/usr/local/bin/node]
     8: 0x7fff71d33cc9 start [/usr/lib/system/libdyld.dylib]
Even if I remove all of the actual resources so it has nothing to deploy, it will still crash on the preview. Basically, it never gets to the state where it asks me to proceed or not. Any reports of something like this?


04/25/2020, 12:07 AM
I've not seen a report of this. Mind opening an issue at ?


04/25/2020, 12:32 AM
Hi. I would, but I don't think I have enough info anymore. I fixed the issue by uninstalling Node and reinstalling the new version. I made a lot of changes in that process: I removed Node from Homebrew and installed with NVM instead. I went from Node 13 to 14. One of those things did the trick, but now that it's done, I don't actually know which version of Node I was on before. 13.X.X, but I can't really give a good trace of the details.