Closed
Description
After calling superstatic
for the first time on an app that required superstatic-forms, I encountered the following error:
Hey!
The following Superstatic services aren't installed:
superstatic-forms
They must be installed in order for you to use them locally.
Installing for you now ...
/usr/local/share/npm/lib/node_modules/superstatic/lib/loaders/services.js:59
services[name.replace('superstatic-', '')] = fn();
^
TypeError: undefined is not a function
at /usr/local/share/npm/lib/node_modules/superstatic/lib/loaders/services.js:59:54
at Array.forEach (native)
at /usr/local/share/npm/lib/node_modules/superstatic/lib/loaders/services.js:56:23
at /usr/local/share/npm/lib/node_modules/superstatic/lib/utils/global-install.js:19:5
at done (/usr/local/share/npm/lib/node_modules/superstatic/node_modules/async/lib/async.js:135:19)
at ChildProcess.<anonymous> (/usr/local/share/npm/lib/node_modules/superstatic/node_modules/async/lib/async.js:32:16)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:743:16)
at Socket.<anonymous> (child_process.js:956:11)
at Socket.EventEmitter.emit (events.js:95:17)