我正在尝试部署无服务器功能,但是我无法实现。
sls function deploy getBeeTokenProxy
Serverless: Deploying the specified functions in "dev" to the following regions: us-east-1
Serverless: - events.js:163
throw er; // Unhandled 'error' event
^
Error: Cannot find module 'nodent' from 'C:\dev\testproject\_meta\_tmp\getBeeTokenProxy@1491336313096\node_modules\ajv\lib'
at C:\dev\testproject\node_modules\resolve\lib\async.js:46:31
at processDirs (C:\dev\testproject\node_modules\resolve\lib\async.js:177:39)
at ondir (C:\dev\testproject\node_modules\resolve\lib\async.js:192:13)
at load (C:\dev\testproject\node_modules\resolve\lib\async.js:77:43)
at onex (C:\dev\testproject\node_modules\resolve\lib\async.js:100:31)
at C:\dev\testproject\node_modules\resolve\lib\async.js:23:47
at FSReqWrap.oncomplete (fs.js:114:15)
无服务器-v 0.5.6
节点-v v7.8.0
任何想法?也许我使用了错误版本的无服务器。我有ajv@^4.9.1
下node_modules
。