Closed marksteele closed 8 years ago
I'm getting a similar error
$ node -v v4.4.2 $ npm -v 2.15.0 $ serverless project install serverless-graphql-blog
| _ .-----.----.--.--.-----.----| .-----.-----.-----. | |_| -_| | | | -| _| | -| --| --| |__ ||**| /|_____|| |**|_||| | | | The Serverless Application Framework | | serverless.com, v0.5.1 `-------'
Serverless: Installing Serverless Project "serverless-graphql-blog"...
Serverless: Downloading project and installing dependencies...
/usr/local/lib/node_modules/serverless/node_modules/bluebird/js/release/async.js:49
fn = function () { throw arg; };
^
TypeError: Class extends value #
This is reproducible on both Windows 10 and Ubuntu.
Any Ideas?
``serverless project install serverless-graphql-blog
| _ .-----.----.--.--.-----.----| .-----.-----.-----. | |_| -_| | | | -| _| | -| --| --| |__ ||**| /|_____|| |**|_||| | | | The Serverless Application Framework | | serverless.com, v0.5.2 `-------'
Serverless: Installing Serverless Project "serverless-graphql-blog"...
Serverless: Downloading project and installing dependencies...
/home/ivan/.nvm/versions/node/v5.10.1/lib/node_modules/serverless/node_modules/bluebird/js/release/async.js:49
fn = function () { throw arg; };
^
TypeError: Class extends value #
same here (windows 7), any ideas?
$node -v v4.3.2
$npm -v 2.14.12
| _ .-----.----.--.--.-----.----| .-----.-----.-----. | |_| -_| | | | -| _| | -| --| --| |__ ||**| /|_____|| |**|_||| | | | The Serverless Application Framework | | serverless.com, v0.5.5 `-------'
Same issue, potentially an issue with serverless-plugin-optimiser as an issue has been raised here https://github.com/serverless/serverless-optimizer-plugin/issues/23.
I followed the steps there and replaced the serverless optimiser line in the package.json
with "serverless-optimizer-plugin": "https://github.com/serverless/serverless-optimizer-plugin.git"
. After reinstalling npm modules npm errors and it deletes the current directory !
Same here
Same for me node -v v5.10.1 npm -v 3.8.3
Same here with Windows 10
node-v : 5.9.0 npm-v : 3.8.2
Is there no working work around for this?
It works on Serverless 4.2. It breaks on Serverless 5+. Serverless is just updating so fast that it's difficult to keep up with.
also
➜ serverless-graphql-blog serverless dash deploy /Users/user/.nvm/versions/node/v5.2.0/lib/node_modules/serverless/node_modules/bluebird/js/release/async.js:61 fn = function () { throw arg; }; ^
TypeError: Class extends value #
same here:
Alexanders-Air:Serverless alibasta$ node --version v6.2.0 Alexanders-Air:Serverless alibasta$ npm --version 3.8.9
Same for me:
$ node -v
v5.10.1
$ npm -v
3.8.3
$ uname -a
Darwin wrkstation-pro.local 15.5.0 Darwin Kernel Version 15.5.0: Fri Apr 22 18:59:34 PDT 2016; root:xnu-3248.50.21~19/RELEASE_X86_64 x86_64
Hi,
I've finally had a chance to update the structure of this project for the 0.5 structure.
I've published the update as version 0.0.2 on npm.
Closing this issue for now. Please open a separate issue if you run into other issues.
I think this was closed prematurely. I installed from node download today to get v4.4.5 and npm 2.15.5, serverless 0.5.6. Trouble came near the end of : serverless project install serverless-starte.
Serverless: Creating region "us-west-2" in stage "dev"...
Serverless: Deploying resources to stage "dev" in region "us-west-2" via Cloudformation (~3 minutes)...
/Users/mac/.npm-packages/lib/node_modules/serverless/node_modules/bluebird/js/release/async.js:61
fn = function () { throw arg; };
getting this too. fn = function () { throw arg; };
serverless project install serverless-graphql-blog
| _ .-----.----.--.--.-----.----| .-----.-----.-----. | |_| -_| | | | -| _| | -| --| --| |__ ||**| /|_____|| |**|_||| | | | The Serverless Application Framework | | serverless.com, v0.5.1 `-------'
Serverless: Installing Serverless Project "serverless-graphql-blog"... Serverless: Downloading project and installing dependencies... /usr/local/lib/node_modules/serverless/node_modules/bluebird/js/release/async.js:49 fn = function () { throw arg; }; ^
ServerlessError: This plugin could not be found: serverless-optimizer-plugin at new ServerlessError (/usr/local/lib/node_modules/serverless/lib/Error.js:17:11) at Serverless._loadPlugins (/usr/local/lib/node_modules/serverless/lib/Serverless.js:293:17) at Serverless.loadProjectPlugins (/usr/local/lib/node_modules/serverless/lib/Serverless.js:240:10) at /usr/local/lib/node_modules/serverless/lib/Serverless.js:77:41 From previous event: at Serverless.init (/usr/local/lib/node_modules/serverless/lib/Serverless.js:73:25) at /usr/local/lib/node_modules/serverless/lib/actions/ProjectInstall.js:213:24 From previous event: at ProjectInstall._initProject (/usr/local/lib/node_modules/serverless/lib/actions/ProjectInstall.js:208:27) From previous event: at ProjectInstall.installProject (/usr/local/lib/node_modules/serverless/lib/actions/ProjectInstall.js:110:12) From previous event: at /usr/local/lib/node_modules/serverless/lib/Serverless.js:181:31 at Array.reduce (native) at /usr/local/lib/node_modules/serverless/lib/Serverless.js:180:32 From previous event: at Serverless._execute (/usr/local/lib/node_modules/serverless/lib/Serverless.js:178:12) at Serverless.actions.(anonymous function) (/usr/local/lib/node_modules/serverless/lib/Serverless.js:424:20) at Serverless.command (/usr/local/lib/node_modules/serverless/lib/Serverless.js:393:38) at /usr/local/lib/node_modules/serverless/bin/serverless:19:16 at processImmediate as _immediateCallback From previous event: at Object. (/usr/local/lib/node_modules/serverless/bin/serverless:18:4)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Function.Module.runMain (module.js:447:10)
at startup (node.js:141:18)
at node.js:933:3