Error: suffix must be a valid identifier - petkaantonov/bluebird GitHub Wiki

Error: suffix must be a valid identifier

This happens when calling Promise.promisifyAll with the options parameter with the identifier argument which changes the suffix assigned to promisified functions.

Things passed as the suffix parameter must be valid JavaScript identifiers.