You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I add the cs plugin, used a basic handler.coffee and it worked fine. Changed the code slightly, redeployed - also worked, so definitely was using the cs version.
Then tried something more complicated - using a third party module, return results async. Got an error. But now even though I have rolled all that back. the packaging is failing. Is there a cache somewhere local that needs to be cleared out?
serverless-cs plugin is enabled, there are some coffee files but empty. Also fails if I remove the coffee files :(
kimptoc:aws-daily-inspiration-rss/ (master✗) $ SLS_DEBUG=* ./node_modules/serverless/bin/serverless deploy -v --stage production --region us-west-1 [23:46:34]
Serverless: Packaging service...
(node:59280) Warning: a promise was rejected with a non-error: [object String]
Serverless: Packaging service with compiled files...
(node:59280) Warning: a promise was rejected with a non-error: [object String]
Error --------------------------------------------------
module.js:471
throw err;
^
Error: Cannot find
module '/Users/kimptoc/Dropbox/dev/aws-daily-inspiration-rss/node_modules/lib/coffee-script/command'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at
Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/kimptoc/Dropbox/dev/aws-daily-inspiration-rss/node_modules/.bin/coffee:7:1)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js
(module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load
(module.js:438:3)
For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable.
Stack Trace --------------------------------------------
Error: module.js:471
throw err;
^
Error: Cannot find module '/Users/kimptoc/Dropbox/dev/aws-daily-inspiration-rss/node_modules/lib/coffee-script/command'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/kimptoc/Dropbox/dev/aws-daily-inspiration-rss/node_modules/.bin/coffee:7:1)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/kimptoc/Dropbox/dev/aws-daily-inspiration-rss/node_modules/.bin/coffee:7:1)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at module.exports.logError.errorHandlingError (/Users/kimptoc/Dropbox/dev/aws-daily-inspiration-rss/node_modules/serverless/lib/classes/Error.js:93:11)
at BbPromise.resolve.then.catch.e (/Users/kimptoc/Dropbox/dev/aws-daily-inspiration-rss/node_modules/serverless/bin/serverless:26:3)
at runCallback (timers.js:666:20)
at tryOnImmediate (timers.js:639:5)
at processImmediate [as _immediateCallback] (timers.js:611:5)
From previous event:
at __dirname (/Users/kimptoc/Dropbox/dev/aws-daily-inspiration-rss/node_modules/serverless/bin/serverless:24:9)
at Object.<anonymous> (/Users/kimptoc/Dropbox/dev/aws-daily-inspiration-rss/node_modules/serverless/bin/serverless:27:4)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:393:7)
at startup (bootstrap_node.js:150:9)
at bootstrap_node.js:508:3
Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Forums: forum.serverless.com
Chat: gitter.im/serverless/serverless
Your Environment Information -----------------------------
OS: darwin
Node Version: 6.10.1
Serverless Version: 1.11.0
Thanks in advance for any tips
Chris
The text was updated successfully, but these errors were encountered:
Hi,
I add the cs plugin, used a basic handler.coffee and it worked fine. Changed the code slightly, redeployed - also worked, so definitely was using the cs version.
Then tried something more complicated - using a third party module, return results async. Got an error. But now even though I have rolled all that back. the packaging is failing. Is there a cache somewhere local that needs to be cleared out?
Below logs, are based on this repo https://github.com/kimptoc/aws-daily-inspiration-rss
serverless-cs plugin is enabled, there are some coffee files but empty. Also fails if I remove the coffee files :(
Thanks in advance for any tips
Chris
The text was updated successfully, but these errors were encountered: