Skip to content

Error: suffix must be a valid identifier

benjamingr edited this page Dec 21, 2014 · 5 revisions

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.