This question already has an answer here:

how to solve the error :

The current provider doesn't support subscriptions: HttpProvider at Subscription.subscribe

while using web3 1.0.0 and ganche

marked as duplicate by user19510, Richard Horrocks, Ismael, Roman Frolov, flygoing Jan 2 '18 at 13:58

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.