Unexpected character '#' when trying to deploy
Opened this issue · 11 comments
I cloned the repo and tried to deploy the project to aws but if fails when bundling webpack.
The npm start
works fine. I tried to used fixed version in the package.json and reinstall everything (basically removed the ^
) but didn't change anything.
serverless-next git:(master) ✗ sls deploy
Serverless: Load command run
Serverless: Load command config
Serverless: Load command config:credentials
Serverless: Load command create
Serverless: Load command install
Serverless: Load command package
Serverless: Load command deploy
Serverless: Load command deploy:function
Serverless: Load command deploy:list
Serverless: Load command deploy:list:functions
Serverless: Load command invoke
Serverless: Load command invoke:local
Serverless: Load command info
Serverless: Load command logs
Serverless: Load command login
Serverless: Load command logout
Serverless: Load command metrics
Serverless: Load command print
Serverless: Load command remove
Serverless: Load command rollback
Serverless: Load command rollback:function
Serverless: Load command slstats
Serverless: Load command plugin
Serverless: Load command plugin
Serverless: Load command plugin:install
Serverless: Load command plugin
Serverless: Load command plugin:uninstall
Serverless: Load command plugin
Serverless: Load command plugin:list
Serverless: Load command plugin
Serverless: Load command plugin:search
Serverless: Load command emit
Serverless: Load command config
Serverless: Load command config:credentials
Serverless: Load command rollback
Serverless: Load command rollback:function
Serverless: Load command offline
Serverless: Load command offline:start
Serverless: Load command create
Serverless: Load command create:test
Serverless: Load command create:function
Serverless: Load command invoke
Serverless: Load command invoke:test
Serverless: Invoke deploy
Serverless: Invoke package
Serverless: Invoke aws:common:validate
Serverless: Invoke aws:common:cleanupTempDir
Serverless: Bundling with webpack...
Child
Time: 11221ms
Asset Size Chunks Chunk Names
aws/web.js 12.8 MB 0 [emitted] [big] aws/web.js
WARNING in ./~/fsevents/~/node-pre-gyp/lib/util/nw-pre-gyp/index.html
Module parse failed: /Users/vadorequest/dev/serverless-next/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/nw-pre-gyp/index.html Unexpected token (1:0)
You may need an appropriate loader to handle this file type.
| <!doctype html>
| <html>
| <head>
@ ./~/fsevents/~/node-pre-gyp/lib ^\.\/.*$
@ ./~/fsevents/~/node-pre-gyp/lib/node-pre-gyp.js
@ ./~/fsevents/fsevents.js
@ ./~/chokidar/lib/fsevents-handler.js
@ ./~/chokidar/index.js
@ ./~/watchpack/lib/DirectoryWatcher.js
@ ./~/watchpack/lib/watcherManager.js
@ ./~/watchpack/lib/watchpack.js
@ ./~/next/~/webpack/lib/node/NodeWatchFileSystem.js
@ ./~/next/~/webpack/lib ^.*$
@ ./~/next/~/webpack/lib/webpack.js
@ ./~/next/dist/server/build/webpack.js
@ ./~/next/dist/server/hot-reloader.js
@ ./~/next/dist/server/index.js
@ ./~/next/dist/server/next.js
@ ./aws/web.js
WARNING in ./~/fsevents/~/node-pre-gyp/lib/util/compile.js
Module not found: Error: Can't resolve 'node-gyp' in '/Users/vadorequest/dev/serverless-next/node_modules/fsevents/node_modules/node-pre-gyp/lib/util'
@ ./~/fsevents/~/node-pre-gyp/lib/util/compile.js 29:28-55
@ ./~/fsevents/~/node-pre-gyp/lib ^\.\/.*$
@ ./~/fsevents/~/node-pre-gyp/lib/node-pre-gyp.js
@ ./~/fsevents/fsevents.js
@ ./~/chokidar/lib/fsevents-handler.js
@ ./~/chokidar/index.js
@ ./~/watchpack/lib/DirectoryWatcher.js
@ ./~/watchpack/lib/watcherManager.js
@ ./~/watchpack/lib/watchpack.js
@ ./~/next/~/webpack/lib/node/NodeWatchFileSystem.js
@ ./~/next/~/webpack/lib ^.*$
@ ./~/next/~/webpack/lib/webpack.js
@ ./~/next/dist/server/build/webpack.js
@ ./~/next/dist/server/hot-reloader.js
@ ./~/next/dist/server/index.js
@ ./~/next/dist/server/next.js
@ ./aws/web.js
WARNING in ./~/fsevents/~/node-pre-gyp/lib/util/compile.js
Module not found: Error: Can't resolve 'npm' in '/Users/vadorequest/dev/serverless-next/node_modules/fsevents/node_modules/node-pre-gyp/lib/util'
@ ./~/fsevents/~/node-pre-gyp/lib/util/compile.js 39:27-49
@ ./~/fsevents/~/node-pre-gyp/lib ^\.\/.*$
@ ./~/fsevents/~/node-pre-gyp/lib/node-pre-gyp.js
@ ./~/fsevents/fsevents.js
@ ./~/chokidar/lib/fsevents-handler.js
@ ./~/chokidar/index.js
@ ./~/watchpack/lib/DirectoryWatcher.js
@ ./~/watchpack/lib/watcherManager.js
@ ./~/watchpack/lib/watchpack.js
@ ./~/next/~/webpack/lib/node/NodeWatchFileSystem.js
@ ./~/next/~/webpack/lib ^.*$
@ ./~/next/~/webpack/lib/webpack.js
@ ./~/next/dist/server/build/webpack.js
@ ./~/next/dist/server/hot-reloader.js
@ ./~/next/dist/server/index.js
@ ./~/next/dist/server/next.js
@ ./aws/web.js
WARNING in ./~/next/dist/server/index.js
100:29-94 Critical dependency: the request of a dependency is an expression
WARNING in ./~/next/dist/server/config.js
47:27-40 Critical dependency: the request of a dependency is an expression
WARNING in ./~/next/dist/server/require.js
33:45-55 Critical dependency: the request of a dependency is an expression
WARNING in ./~/next/dist/server/build/webpack.js
95:60-67 Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
WARNING in ./~/next/dist/server/build/babel/preset.js
9:70-77 Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
WARNING in ./~/babel-plugin-transform-react-remove-prop-types/lib/index.js
35:25-44 Critical dependency: the request of a dependency is an expression
WARNING in ./~/any-promise/register.js
24:14-37 Critical dependency: the request of a dependency is an expression
WARNING in ./~/babel-core/lib/transformation/file/options/option-manager.js
178:19-37 Critical dependency: the request of a dependency is an expression
WARNING in ./~/babel-core/lib/transformation/file/options/option-manager.js
296:16-34 Critical dependency: the request of a dependency is an expression
WARNING in ./~/find-babel-config/lib/index.js
17:23-36 Critical dependency: the request of a dependency is an expression
WARNING in ./~/babel-core/lib/transformation/file/index.js
500:24-39 Critical dependency: the request of a dependency is an expression
WARNING in ./~/babel-core/lib/transformation/file/index.js
699:16-34 Critical dependency: the request of a dependency is an expression
WARNING in ./~/uglify-js/tools/node.js
24:11-32 Critical dependency: the request of a dependency is an expression
WARNING in ./~/ajv/lib/async.js
96:20-33 Critical dependency: the request of a dependency is an expression
WARNING in ./~/ajv/lib/async.js
119:15-28 Critical dependency: the request of a dependency is an expression
WARNING in ./~/loader-runner/lib/loadLoader.js
3:2-28 Critical dependency: the request of a dependency is an expression
WARNING in ./~/ajv/lib/compile/index.js
13:21-34 Critical dependency: the request of a dependency is an expression
WARNING in ./~/fsevents/fsevents.js
14:13-71 Critical dependency: the request of a dependency is an expression
WARNING in ./~/fsevents/~/node-pre-gyp/lib/pre-binding.js
19:22-48 Critical dependency: the request of a dependency is an expression
WARNING in ./~/fsevents/~/node-pre-gyp/lib/util/versioning.js
16:20-67 Critical dependency: the request of a dependency is an expression
WARNING in ./~/fsevents/~/ajv/lib/async.js
96:20-33 Critical dependency: the request of a dependency is an expression
WARNING in ./~/fsevents/~/ajv/lib/async.js
119:15-28 Critical dependency: the request of a dependency is an expression
WARNING in ./~/fsevents/~/ajv/lib/compile/index.js
13:21-34 Critical dependency: the request of a dependency is an expression
ERROR in ./~/fsevents/~/rc/index.js
Module parse failed: /Users/vadorequest/dev/serverless-next/node_modules/fsevents/node_modules/rc/index.js Unexpected character '#' (1:0)
You may need an appropriate loader to handle this file type.
| #! /usr/bin/env node
| var cc = require('./lib/utils')
| var join = require('path').join
@ ./~/fsevents/~/node-pre-gyp/lib/info.js 11:13-26
@ ./~/fsevents/~/node-pre-gyp/lib ^\.\/.*$
@ ./~/fsevents/~/node-pre-gyp/lib/node-pre-gyp.js
@ ./~/fsevents/fsevents.js
@ ./~/chokidar/lib/fsevents-handler.js
@ ./~/chokidar/index.js
@ ./~/watchpack/lib/DirectoryWatcher.js
@ ./~/watchpack/lib/watcherManager.js
@ ./~/watchpack/lib/watchpack.js
@ ./~/next/~/webpack/lib/node/NodeWatchFileSystem.js
@ ./~/next/~/webpack/lib ^.*$
@ ./~/next/~/webpack/lib/webpack.js
@ ./~/next/dist/server/build/webpack.js
@ ./~/next/dist/server/hot-reloader.js
@ ./~/next/dist/server/index.js
@ ./~/next/dist/server/next.js
@ ./aws/web.js
Child
Time: 8596ms
Asset Size Chunks Chunk Names
aws/api.js 1 MB 0 [emitted] [big] aws/api.js
WARNING in ./~/express/lib/view.js
80:29-41 Critical dependency: the request of a dependency is an expression
Child
Time: 7841ms
Asset Size Chunks Chunk Names
aws/authentication.js 757 kB 0 [emitted] [big] aws/authentication.js
Child
Time: 7974ms
Asset Size Chunks Chunk Names
aws/authorization.js 755 kB 0 [emitted] [big] aws/authorization.js
Error --------------------------------------------------
Webpack compilation error, see stats above
For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable.
Stack Trace --------------------------------------------
Error: Webpack compilation error, see stats above
at module.exports.logError (/Users/vadorequest/.nvm/versions/node/v8.9.4/lib/node_modules/serverless/lib/classes/Error.js:94:11)
at initializeErrorReporter.then.catch.e (/Users/vadorequest/.nvm/versions/node/v8.9.4/lib/node_modules/serverless/bin/serverless:45:3)
at runCallback (timers.js:789:20)
at tryOnImmediate (timers.js:751:5)
at processImmediate [as _immediateCallback] (timers.js:722:5)
From previous event:
at __dirname (/Users/vadorequest/.nvm/versions/node/v8.9.4/lib/node_modules/serverless/bin/serverless:43:9)
at Object.<anonymous> (/Users/vadorequest/.nvm/versions/node/v8.9.4/lib/node_modules/serverless/bin/serverless:46:4)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3)
at Function.Module.runMain (module.js:684:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608: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: 8.9.4
Serverless Version: 1.26.0
Have you tried Node 6.10? I'm pretty sure that's the version I used back them.
I was under node 8.x and I thought it wouldn't matter because of babel/webpack. But it somehow does. I didn't try to run your example using 6.10 yet, but switching to 6.10 fixed something else in my own repository. Thanks!
@geovanisouza92 I switched to node 6.10.3 and reinstalled node_modules but still the same error :/
Does this repository still works if you do a fresh install?
@Vadorequest Are you using a Mac?
This error seems related to fsevents, that is not needed on Linux (my platform), so it passed unnoticed.
There was any problem on the npm install
phase? Did fsevents
have been built correctly? What terminal emulator are you using (can you try another one)?
@geovanisouza92 I reinstalled everything, checked the logs and everything seems fine when installing packages and nothing concerning. Still the same error when packaging :/
serverless-next git:(master) ✗ npm i
npm WARN deprecated babel-preset-es2015@6.24.1: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
npm WARN deprecated crypto@0.0.3: This package is no longer supported. It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in.
> fsevents@1.1.3 install /Users/vadorequest/dev/serverless-next/node_modules/fsevents
> node install
[fsevents] Success: "/Users/vadorequest/dev/serverless-next/node_modules/fsevents/lib/binding/Release/node-v48-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile
> serverless@1.14.0 postinstall /Users/vadorequest/dev/serverless-next/node_modules/serverless
> node ./scripts/postinstall.js
serverless-next@1.0.0 /Users/vadorequest/dev/serverless-next
├─┬ aws-serverless-express@3.0.1
│ └── binary-case@1.1.3
├─┬ babel-loader@7.0.0
│ ├─┬ find-cache-dir@0.1.1
│ │ ├── commondir@1.0.1
│ │ └─┬ pkg-dir@1.0.0
│ │ └─┬ find-up@1.1.2
│ │ └── path-exists@2.1.0
│ ├─┬ loader-utils@1.1.0
│ │ ├── big.js@3.2.0
│ │ └── emojis-list@2.1.0
│ └─┬ mkdirp@0.5.1
│ └── minimist@0.0.8
├─┬ babel-plugin-module-resolver@2.7.1
│ ├─┬ find-babel-config@1.1.0
│ │ └── path-exists@3.0.0
│ ├─┬ glob@7.1.1
│ │ ├── fs.realpath@1.0.0
│ │ ├─┬ inflight@1.0.6
│ │ │ └── wrappy@1.0.2
│ │ ├── inherits@2.0.3
│ │ ├─┬ minimatch@3.0.4
│ │ │ └─┬ brace-expansion@1.1.11
│ │ │ ├── balanced-match@1.0.0
│ │ │ └── concat-map@0.0.1
│ │ ├── once@1.4.0
│ │ └── path-is-absolute@1.0.1
│ └─┬ resolve@1.5.0
│ └── path-parse@1.0.5
├─┬ babel-plugin-wrap-in-js@1.1.1
│ ├─┬ babel-plugin-transform-strict-mode@6.24.1
│ │ ├─┬ babel-runtime@6.26.0
│ │ │ └── regenerator-runtime@0.11.1
│ │ └─┬ babel-types@6.26.0
│ │ ├── esutils@2.0.2
│ │ └── to-fast-properties@1.0.3
│ └─┬ babel-template@6.26.0
│ ├─┬ babel-traverse@6.26.0
│ │ └── globals@9.18.0
│ └── babylon@6.18.0
├─┬ babel-preset-env@1.5.2
│ ├── babel-plugin-check-es2015-constants@6.22.0
│ ├── babel-plugin-syntax-trailing-function-commas@6.22.0
│ ├─┬ babel-plugin-transform-async-to-generator@6.24.1
│ │ ├── babel-helper-remap-async-to-generator@6.24.1
│ │ └── babel-plugin-syntax-async-functions@6.13.0
│ ├── babel-plugin-transform-es2015-arrow-functions@6.22.0
│ ├── babel-plugin-transform-es2015-block-scoped-functions@6.22.0
│ ├── babel-plugin-transform-es2015-block-scoping@6.26.0
│ ├─┬ babel-plugin-transform-es2015-classes@6.24.1
│ │ ├── babel-helper-define-map@6.26.0
│ │ ├── babel-helper-function-name@6.24.1
│ │ ├── babel-helper-optimise-call-expression@6.24.1
│ │ ├── babel-helper-replace-supers@6.24.1
│ │ └── babel-messages@6.23.0
│ ├── babel-plugin-transform-es2015-computed-properties@6.24.1
│ ├── babel-plugin-transform-es2015-destructuring@6.23.0
│ ├── babel-plugin-transform-es2015-duplicate-keys@6.24.1
│ ├── babel-plugin-transform-es2015-for-of@6.23.0
│ ├── babel-plugin-transform-es2015-function-name@6.24.1
│ ├── babel-plugin-transform-es2015-literals@6.22.0
│ ├── babel-plugin-transform-es2015-modules-amd@6.24.1
│ ├── babel-plugin-transform-es2015-modules-commonjs@6.26.0
│ ├─┬ babel-plugin-transform-es2015-modules-systemjs@6.24.1
│ │ └── babel-helper-hoist-variables@6.24.1
│ ├── babel-plugin-transform-es2015-modules-umd@6.24.1
│ ├── babel-plugin-transform-es2015-object-super@6.24.1
│ ├─┬ babel-plugin-transform-es2015-parameters@6.24.1
│ │ ├── babel-helper-call-delegate@6.24.1
│ │ └── babel-helper-get-function-arity@6.24.1
│ ├── babel-plugin-transform-es2015-shorthand-properties@6.24.1
│ ├── babel-plugin-transform-es2015-spread@6.22.0
│ ├─┬ babel-plugin-transform-es2015-sticky-regex@6.24.1
│ │ └── babel-helper-regex@6.26.0
│ ├── babel-plugin-transform-es2015-template-literals@6.22.0
│ ├── babel-plugin-transform-es2015-typeof-symbol@6.23.0
│ ├─┬ babel-plugin-transform-es2015-unicode-regex@6.24.1
│ │ └─┬ regexpu-core@2.0.0
│ │ ├── regenerate@1.3.3
│ │ ├── regjsgen@0.2.0
│ │ └─┬ regjsparser@0.1.5
│ │ └── jsesc@0.5.0
│ ├─┬ babel-plugin-transform-exponentiation-operator@6.24.1
│ │ ├─┬ babel-helper-builder-binary-assignment-operator-visitor@6.24.1
│ │ │ └── babel-helper-explode-assignable-expression@6.24.1
│ │ └── babel-plugin-syntax-exponentiation-operator@6.13.0
│ ├─┬ babel-plugin-transform-regenerator@6.26.0
│ │ └── regenerator-transform@0.10.1
│ ├─┬ browserslist@2.11.3
│ │ ├── caniuse-lite@1.0.30000810
│ │ └── electron-to-chromium@1.3.34
│ ├── invariant@2.2.3
│ └── semver@5.5.0
├── babel-preset-es2015@6.24.1
├─┬ babel-preset-stage-0@6.24.1
│ ├─┬ babel-plugin-transform-do-expressions@6.22.0
│ │ └── babel-plugin-syntax-do-expressions@6.13.0
│ ├─┬ babel-plugin-transform-function-bind@6.22.0
│ │ └── babel-plugin-syntax-function-bind@6.13.0
│ └─┬ babel-preset-stage-1@6.24.1
│ ├─┬ babel-plugin-transform-class-constructor-call@6.24.1
│ │ └── babel-plugin-syntax-class-constructor-call@6.18.0
│ ├─┬ babel-plugin-transform-export-extensions@6.22.0
│ │ └── babel-plugin-syntax-export-extensions@6.13.0
│ └─┬ babel-preset-stage-2@6.24.1
│ ├── babel-plugin-syntax-dynamic-import@6.18.0
│ ├─┬ babel-plugin-transform-decorators@6.24.1
│ │ ├─┬ babel-helper-explode-class@6.24.1
│ │ │ └── babel-helper-bindify-decorators@6.24.1
│ │ └── babel-plugin-syntax-decorators@6.13.0
│ └─┬ babel-preset-stage-3@6.24.1
│ └─┬ babel-plugin-transform-async-generator-functions@6.24.1
│ └── babel-plugin-syntax-async-generators@6.13.0
├─┬ concurrently@3.4.0
│ ├─┬ chalk@0.5.1
│ │ ├── ansi-styles@1.1.0
│ │ ├── escape-string-regexp@1.0.5
│ │ ├─┬ has-ansi@0.1.0
│ │ │ └── ansi-regex@0.2.1
│ │ ├── strip-ansi@0.3.0
│ │ └── supports-color@0.2.0
│ ├── commander@2.6.0
│ ├── date-fns@1.29.0
│ ├── lodash@4.17.5
│ ├── rx@2.3.24
│ ├── spawn-command@0.0.2-1
│ ├─┬ supports-color@3.2.3
│ │ └── has-flag@1.0.0
│ └── tree-kill@1.2.0
├─┬ cross-env@5.0.0
│ ├─┬ cross-spawn@5.1.0
│ │ ├─┬ lru-cache@4.1.1
│ │ │ ├── pseudomap@1.0.2
│ │ │ └── yallist@2.1.2
│ │ ├─┬ shebang-command@1.2.0
│ │ │ └── shebang-regex@1.0.0
│ │ └─┬ which@1.3.0
│ │ └── isexe@2.0.0
│ └── is-windows@1.0.2
├─┬ isomorphic-fetch@2.2.1
│ ├─┬ node-fetch@1.7.3
│ │ ├─┬ encoding@0.1.12
│ │ │ └── iconv-lite@0.4.19
│ │ └── is-stream@1.1.0
│ └── whatwg-fetch@2.0.3
├─┬ jest@20.0.4
│ └─┬ jest-cli@20.0.4
│ ├── ansi-escapes@1.4.0
│ ├── callsites@2.0.0
│ ├─┬ chalk@1.1.3
│ │ ├── ansi-styles@2.2.1
│ │ ├── has-ansi@2.0.0
│ │ └── supports-color@2.0.0
│ ├── graceful-fs@4.1.11
│ ├─┬ is-ci@1.1.0
│ │ └── ci-info@1.1.2
│ ├─┬ istanbul-api@1.2.2
│ │ ├── fileset@2.0.3
│ │ ├─┬ istanbul-lib-hook@1.1.0
│ │ │ └─┬ append-transform@0.4.0
│ │ │ └── default-require-extensions@1.0.0
│ │ ├─┬ istanbul-lib-report@1.1.3
│ │ │ └── supports-color@3.2.3
│ │ ├─┬ istanbul-reports@1.1.4
│ │ │ └─┬ handlebars@4.0.11
│ │ │ ├── async@1.5.2
│ │ │ ├─┬ optimist@0.6.1
│ │ │ │ ├── minimist@0.0.10
│ │ │ │ └── wordwrap@0.0.3
│ │ │ └── source-map@0.4.4
│ │ └─┬ js-yaml@3.10.0
│ │ ├─┬ argparse@1.0.10
│ │ │ └── sprintf-js@1.0.3
│ │ └── esprima@4.0.0
│ ├── istanbul-lib-coverage@1.1.2
│ ├── istanbul-lib-instrument@1.9.2
│ ├─┬ istanbul-lib-source-maps@1.2.3
│ │ └── debug@3.1.0
│ ├── jest-changed-files@20.0.3
│ ├─┬ jest-config@20.0.4
│ │ ├── jest-environment-node@20.0.3
│ │ ├── jest-matcher-utils@20.0.3
│ │ ├─┬ jest-resolve@20.0.4
│ │ │ ├─┬ browser-resolve@1.11.2
│ │ │ │ └── resolve@1.1.7
│ │ │ └─┬ is-builtin-module@1.0.0
│ │ │ └── builtin-modules@1.1.1
│ │ ├── jest-validate@20.0.3
│ │ └─┬ pretty-format@20.0.3
│ │ └─┬ ansi-styles@3.2.0
│ │ └─┬ color-convert@1.9.1
│ │ └── color-name@1.1.3
│ ├── jest-docblock@20.0.3
│ ├─┬ jest-environment-jsdom@20.0.3
│ │ ├── jest-mock@20.0.3
│ │ └─┬ jsdom@9.12.0
│ │ ├── abab@1.0.4
│ │ ├── acorn-globals@3.1.0
│ │ ├── array-equal@1.0.0
│ │ ├── content-type-parser@1.0.2
│ │ ├── cssom@0.3.2
│ │ ├── cssstyle@0.2.37
│ │ ├─┬ escodegen@1.9.1
│ │ │ ├── esprima@3.1.3
│ │ │ ├── estraverse@4.2.0
│ │ │ ├─┬ optionator@0.8.2
│ │ │ │ ├── deep-is@0.1.3
│ │ │ │ ├── fast-levenshtein@2.0.6
│ │ │ │ ├── levn@0.3.0
│ │ │ │ ├── prelude-ls@1.1.2
│ │ │ │ ├── type-check@0.3.2
│ │ │ │ └── wordwrap@1.0.0
│ │ │ └── source-map@0.6.1
│ │ ├── html-encoding-sniffer@1.0.2
│ │ ├── nwmatcher@1.4.3
│ │ ├── parse5@1.5.1
│ │ ├─┬ request@2.83.0
│ │ │ ├── aws-sign2@0.7.0
│ │ │ ├── aws4@1.6.0
│ │ │ ├── caseless@0.12.0
│ │ │ ├─┬ combined-stream@1.0.6
│ │ │ │ └── delayed-stream@1.0.0
│ │ │ ├── extend@3.0.1
│ │ │ ├── forever-agent@0.6.1
│ │ │ ├─┬ form-data@2.3.2
│ │ │ │ └── asynckit@0.4.0
│ │ │ ├─┬ har-validator@5.0.3
│ │ │ │ ├─┬ ajv@5.5.2
│ │ │ │ │ ├── fast-deep-equal@1.1.0
│ │ │ │ │ ├── fast-json-stable-stringify@2.0.0
│ │ │ │ │ └── json-schema-traverse@0.3.1
│ │ │ │ └── har-schema@2.0.0
│ │ │ ├─┬ hawk@6.0.2
│ │ │ │ └── sntp@2.1.0
│ │ │ ├─┬ http-signature@1.2.0
│ │ │ │ ├── assert-plus@1.0.0
│ │ │ │ ├─┬ jsprim@1.4.1
│ │ │ │ │ ├── extsprintf@1.3.0
│ │ │ │ │ ├── json-schema@0.2.3
│ │ │ │ │ └── verror@1.10.0
│ │ │ │ └─┬ sshpk@1.13.1
│ │ │ │ ├── asn1@0.2.3
│ │ │ │ ├── bcrypt-pbkdf@1.0.1
│ │ │ │ ├── dashdash@1.14.1
│ │ │ │ ├── ecc-jsbn@0.1.1
│ │ │ │ ├── getpass@0.1.7
│ │ │ │ ├── jsbn@0.1.1
│ │ │ │ └── tweetnacl@0.14.5
│ │ │ ├── is-typedarray@1.0.0
│ │ │ ├── isstream@0.1.2
│ │ │ ├── json-stringify-safe@5.0.1
│ │ │ ├── mime-types@2.1.18
│ │ │ ├── oauth-sign@0.8.2
│ │ │ ├── performance-now@2.1.0
│ │ │ ├── qs@6.5.1
│ │ │ ├── stringstream@0.0.5
│ │ │ ├── tunnel-agent@0.6.0
│ │ │ └── uuid@3.2.1
│ │ ├── symbol-tree@3.2.2
│ │ ├─┬ tough-cookie@2.3.4
│ │ │ └── punycode@1.4.1
│ │ ├── webidl-conversions@4.0.2
│ │ ├── whatwg-encoding@1.0.3
│ │ ├─┬ whatwg-url@4.8.0
│ │ │ ├── tr46@0.0.3
│ │ │ └── webidl-conversions@3.0.1
│ │ └── xml-name-validator@2.0.1
│ ├─┬ jest-haste-map@20.0.5
│ │ ├─┬ fb-watchman@2.0.0
│ │ │ └─┬ bser@2.0.0
│ │ │ └── node-int64@0.4.0
│ │ └─┬ sane@1.6.0
│ │ ├─┬ exec-sh@0.2.1
│ │ │ └── merge@1.2.0
│ │ ├─┬ fb-watchman@1.9.2
│ │ │ └── bser@1.0.2
│ │ ├─┬ walker@1.0.7
│ │ │ └─┬ makeerror@1.0.11
│ │ │ └── tmpl@1.0.4
│ │ └── watch@0.10.0
│ ├─┬ jest-jasmine2@20.0.4
│ │ ├─┬ jest-diff@20.0.3
│ │ │ └── diff@3.4.0
│ │ ├── jest-matchers@20.0.3
│ │ └── p-map@1.2.0
│ ├── jest-message-util@20.0.3
│ ├── jest-regex-util@20.0.3
│ ├── jest-resolve-dependencies@20.0.3
│ ├─┬ jest-runtime@20.0.4
│ │ ├─┬ babel-jest@20.0.3
│ │ │ └─┬ babel-preset-jest@20.0.3
│ │ │ └── babel-plugin-jest-hoist@20.0.3
│ │ ├─┬ babel-plugin-istanbul@4.1.5
│ │ │ ├── find-up@2.1.0
│ │ │ └── test-exclude@4.2.0
│ │ └── strip-bom@3.0.0
│ ├─┬ jest-snapshot@20.0.3
│ │ └── natural-compare@1.4.0
│ ├─┬ jest-util@20.0.3
│ │ └── leven@2.1.0
│ ├─┬ micromatch@2.3.11
│ │ ├─┬ arr-diff@2.0.0
│ │ │ └── arr-flatten@1.1.0
│ │ ├── array-unique@0.2.1
│ │ ├─┬ braces@1.8.5
│ │ │ ├─┬ expand-range@1.8.2
│ │ │ │ └─┬ fill-range@2.2.3
│ │ │ │ ├── is-number@2.1.0
│ │ │ │ ├─┬ isobject@2.1.0
│ │ │ │ │ └── isarray@1.0.0
│ │ │ │ ├─┬ randomatic@1.1.7
│ │ │ │ │ ├─┬ is-number@3.0.0
│ │ │ │ │ │ └── kind-of@3.2.2
│ │ │ │ │ └── kind-of@4.0.0
│ │ │ │ └── repeat-string@1.6.1
│ │ │ ├── preserve@0.2.0
│ │ │ └── repeat-element@1.1.2
│ │ ├─┬ expand-brackets@0.1.5
│ │ │ └── is-posix-bracket@0.1.1
│ │ ├── extglob@0.3.2
│ │ ├── filename-regex@2.0.1
│ │ ├── is-extglob@1.0.0
│ │ ├── is-glob@2.0.1
│ │ ├─┬ kind-of@3.2.2
│ │ │ └── is-buffer@1.1.6
│ │ ├─┬ normalize-path@2.1.1
│ │ │ └── remove-trailing-separator@1.1.0
│ │ ├─┬ object.omit@2.0.1
│ │ │ ├─┬ for-own@0.1.5
│ │ │ │ └── for-in@1.0.2
│ │ │ └── is-extendable@0.1.1
│ │ ├─┬ parse-glob@3.0.4
│ │ │ ├── glob-base@0.3.0
│ │ │ └── is-dotfile@1.0.3
│ │ └─┬ regex-cache@0.4.4
│ │ └─┬ is-equal-shallow@0.1.3
│ │ └── is-primitive@2.0.0
│ ├─┬ node-notifier@5.2.1
│ │ ├── growly@1.3.0
│ │ └── shellwords@0.1.1
│ ├── pify@2.3.0
│ ├── slash@1.0.0
│ ├── string-length@1.0.1
│ ├── throat@3.2.0
│ ├─┬ worker-farm@1.5.4
│ │ └── xtend@4.0.1
│ └─┬ yargs@7.1.0
│ ├── camelcase@3.0.0
│ ├── cliui@3.2.0
│ └─┬ yargs-parser@5.0.0
│ └── camelcase@3.0.0
├─┬ next@2.4.0
│ ├── ansi-html@0.0.7
│ ├─┬ babel-core@6.24.0
│ │ ├── babel-code-frame@6.26.0
│ │ ├── babel-helpers@6.24.1
│ │ ├── convert-source-map@1.5.1
│ │ ├─┬ debug@2.6.9
│ │ │ └── ms@2.0.0
│ │ └── private@0.1.8
│ ├─┬ babel-generator@6.24.1
│ │ ├─┬ detect-indent@4.0.0
│ │ │ └─┬ repeating@2.0.1
│ │ │ └── is-finite@1.0.2
│ │ ├── jsesc@1.3.0
│ │ └── trim-right@1.0.1
│ ├── babel-plugin-react-require@3.0.0
│ ├─┬ babel-plugin-transform-class-properties@6.24.1
│ │ └── babel-plugin-syntax-class-properties@6.13.0
│ ├── babel-plugin-transform-es2015-modules-commonjs@6.24.1
│ ├─┬ babel-plugin-transform-object-rest-spread@6.22.0
│ │ └── babel-plugin-syntax-object-rest-spread@6.13.0
│ ├─┬ babel-plugin-transform-react-jsx-source@6.22.0
│ │ └── babel-plugin-syntax-jsx@6.18.0
│ ├── babel-plugin-transform-react-remove-prop-types@0.4.5
│ ├── babel-plugin-transform-runtime@6.22.0
│ ├─┬ babel-preset-react@6.24.1
│ │ ├── babel-plugin-transform-react-display-name@6.25.0
│ │ ├─┬ babel-plugin-transform-react-jsx@6.24.1
│ │ │ └── babel-helper-builder-react-jsx@6.26.0
│ │ ├── babel-plugin-transform-react-jsx-self@6.22.0
│ │ └─┬ babel-preset-flow@6.23.0
│ │ └─┬ babel-plugin-transform-flow-strip-types@6.22.0
│ │ └── babel-plugin-syntax-flow@6.18.0
│ ├─┬ babel-runtime@6.23.0
│ │ ├── core-js@2.5.3
│ │ └── regenerator-runtime@0.10.5
│ ├── case-sensitive-paths-webpack-plugin@2.0.0
│ ├─┬ del@2.2.2
│ │ ├─┬ globby@5.0.0
│ │ │ ├─┬ array-union@1.0.2
│ │ │ │ └── array-uniq@1.0.3
│ │ │ └── arrify@1.0.1
│ │ ├── is-path-cwd@1.0.0
│ │ ├─┬ is-path-in-cwd@1.0.0
│ │ │ └─┬ is-path-inside@1.0.1
│ │ │ └── path-is-inside@1.0.2
│ │ ├─┬ pinkie-promise@2.0.1
│ │ │ └── pinkie@2.0.4
│ │ └── rimraf@2.6.2
│ ├── etag@1.8.0
│ ├── fresh@0.5.0
│ ├─┬ friendly-errors-webpack-plugin@1.5.0
│ │ └─┬ error-stack-parser@2.0.1
│ │ └── stackframe@1.0.4
│ ├── glob-promise@3.1.0
│ ├── htmlescape@1.1.1
│ ├── http-status@1.0.1
│ ├── is-windows-bash@1.0.3
│ ├── json-loader@0.5.4
│ ├── md5-file@3.1.1
│ ├── minimist@1.2.0
│ ├── mitt@1.1.1
│ ├─┬ mkdirp-then@1.2.0
│ │ └── any-promise@1.3.0
│ ├─┬ mv@2.1.1
│ │ ├── ncp@2.0.0
│ │ └─┬ rimraf@2.4.5
│ │ └── glob@6.0.4
│ ├─┬ mz@2.6.0
│ │ └─┬ thenify-all@1.6.0
│ │ └── thenify@3.3.0
│ ├─┬ path-match@1.2.4
│ │ ├─┬ http-errors@1.4.0
│ │ │ ├── inherits@2.0.1
│ │ │ └── statuses@1.4.0
│ │ └─┬ path-to-regexp@1.7.0
│ │ └── isarray@0.0.1
│ ├─┬ pkg-up@2.0.0
│ │ └─┬ find-up@2.1.0
│ │ └─┬ locate-path@2.0.0
│ │ ├─┬ p-locate@2.0.0
│ │ │ └─┬ p-limit@1.2.0
│ │ │ └── p-try@1.0.0
│ │ └── path-exists@3.0.0
│ ├── prop-types@15.5.10
│ ├─┬ react-hot-loader@3.0.0-beta.6
│ │ ├─┬ global@4.3.2
│ │ │ ├─┬ min-document@2.19.0
│ │ │ │ └── dom-walk@0.1.1
│ │ │ └── process@0.5.2
│ │ ├── react-deep-force-update@2.1.1
│ │ ├── react-proxy@3.0.0-alpha.1
│ │ ├─┬ redbox-react@1.5.0
│ │ │ ├─┬ error-stack-parser@1.3.6
│ │ │ │ └── stackframe@0.3.1
│ │ │ └─┬ sourcemapped-stacktrace@1.1.8
│ │ │ └── source-map@0.5.6
│ │ └─┬ source-map@0.4.4
│ │ └── amdefine@1.0.1
│ ├─┬ send@0.15.2
│ │ ├─┬ debug@2.6.4
│ │ │ └── ms@0.7.3
│ │ ├── depd@1.1.2
│ │ ├── destroy@1.0.4
│ │ ├── encodeurl@1.0.2
│ │ ├── escape-html@1.0.3
│ │ ├─┬ http-errors@1.6.2
│ │ │ ├── depd@1.1.1
│ │ │ └── setprototypeof@1.0.3
│ │ ├── mime@1.3.4
│ │ ├── ms@1.0.0
│ │ ├─┬ on-finished@2.3.0
│ │ │ └── ee-first@1.1.1
│ │ ├── range-parser@1.2.0
│ │ └── statuses@1.3.1
│ ├── source-map-support@0.4.15
│ ├─┬ strip-ansi@3.0.1
│ │ └── ansi-regex@2.1.1
│ ├─┬ styled-jsx@0.5.7
│ │ ├── babel-traverse@6.21.0
│ │ ├── babylon@6.14.1
│ │ ├── convert-source-map@1.3.0
│ │ ├─┬ object.entries@1.0.4
│ │ │ ├─┬ define-properties@1.1.2
│ │ │ │ ├── foreach@2.0.5
│ │ │ │ └── object-keys@1.0.11
│ │ │ ├─┬ es-abstract@1.10.0
│ │ │ │ ├─┬ es-to-primitive@1.1.1
│ │ │ │ │ ├── is-date-object@1.0.1
│ │ │ │ │ └── is-symbol@1.0.1
│ │ │ │ ├── is-callable@1.1.3
│ │ │ │ └── is-regex@1.0.4
│ │ │ ├── function-bind@1.1.1
│ │ │ └── has@1.0.1
│ │ ├── source-map@0.5.6
│ │ └── string-hash@1.1.1
│ ├─┬ touch@1.0.0
│ │ └─┬ nopt@1.0.10
│ │ └── abbrev@1.1.1
│ ├── unfetch@2.1.2
│ ├─┬ url@0.11.0
│ │ ├── punycode@1.3.2
│ │ └── querystring@0.2.0
│ ├── uuid@3.0.1
│ ├── webpack-dev-middleware@1.10.2
│ ├─┬ webpack-hot-middleware@2.18.0
│ │ └── html-entities@1.2.1
│ └─┬ write-file-webpack-plugin@4.0.2
│ ├── filesize@3.6.0
│ └── moment@2.20.1
├─┬ react@15.5.4
│ ├─┬ fbjs@0.8.16
│ │ ├── core-js@1.2.7
│ │ ├─┬ promise@7.3.1
│ │ │ └── asap@2.0.6
│ │ ├── setimmediate@1.0.5
│ │ └── ua-parser-js@0.7.17
│ ├─┬ loose-envify@1.3.1
│ │ └── js-tokens@3.0.2
│ └── object-assign@4.1.1
├── react-dom@15.5.4
├─┬ serverless@1.14.0
│ ├─┬ agent-base@2.0.1
│ │ └── semver@5.0.3
│ ├── ansi-regex@2.1.1
│ ├── ansi-styles@2.2.1
│ ├─┬ archiver@1.3.0
│ │ └── async@2.4.1
│ ├── archiver-utils@1.3.0
│ ├── argparse@1.0.9
│ ├── array-union@1.0.2
│ ├── array-uniq@1.0.3
│ ├── async@1.5.2
│ ├── asynckit@0.4.0
│ ├─┬ aws-sdk@2.56.0
│ │ └── uuid@3.0.1
│ ├── balanced-match@0.4.2
│ ├── base64-js@1.2.0
│ ├── bl@1.2.1
│ ├── bluebird@3.5.0
│ ├── brace-expansion@1.1.7
│ ├── buffer@5.0.6
│ ├── buffer-crc32@0.2.13
│ ├── buffer-shims@1.0.0
│ ├── capture-stack-trace@1.0.0
│ ├── caw@2.0.0
│ ├── chalk@1.1.3
│ ├── ci-info@1.0.0
│ ├── combined-stream@1.0.5
│ ├── commander@2.8.1
│ ├── component-emitter@1.2.1
│ ├── compress-commons@1.2.0
│ ├── concat-map@0.0.1
│ ├── cookiejar@2.1.1
│ ├── core-util-is@1.0.2
│ ├── crc@3.4.4
│ ├── crc32-stream@2.0.0
│ ├── create-error-class@3.0.2
│ ├── crypto-browserify@1.0.9
│ ├── debug@2.6.8
│ ├── decompress@4.2.0
│ ├── decompress-tar@4.1.0
│ ├── decompress-tarbz2@4.1.0
│ ├─┬ decompress-targz@4.1.0
│ │ └── file-type@4.3.0
│ ├─┬ decompress-unzip@4.0.1
│ │ └── get-stream@2.3.1
│ ├── deep-extend@0.4.2
│ ├── delayed-stream@1.0.0
│ ├── download@5.0.3
│ ├── duplexer3@0.1.4
│ ├── encoding@0.1.12
│ ├── end-of-stream@1.4.0
│ ├── escape-string-regexp@1.0.5
│ ├── esprima@3.1.3
│ ├── extend@3.0.1
│ ├── fd-slicer@1.0.1
│ ├── file-type@3.9.0
│ ├── filename-reserved-regex@2.0.0
│ ├── filenamify@2.0.0
│ ├── filesize@3.5.10
│ ├── form-data@2.1.4
│ ├── formidable@1.1.1
│ ├── fs-extra@0.26.7
│ ├── fs.realpath@1.0.0
│ ├── get-proxy@1.1.0
│ ├── get-stdin@5.0.1
│ ├── get-stream@3.0.0
│ ├── glob@7.1.2
│ ├── globby@6.1.0
│ ├── got@6.7.1
│ ├── graceful-fs@4.1.11
│ ├── graceful-readlink@1.0.1
│ ├── graphlib@2.1.1
│ ├── has-ansi@2.0.0
│ ├── https-proxy-agent@1.0.0
│ ├── iconv-lite@0.4.17
│ ├── ieee754@1.1.8
│ ├── imurmurhash@0.1.4
│ ├── inflight@1.0.6
│ ├── inherits@2.0.3
│ ├── ini@1.3.4
│ ├── is-natural-number@4.0.1
│ ├── is-redirect@1.0.0
│ ├── is-retry-allowed@1.1.0
│ ├── is-stream@1.1.0
│ ├── is-wsl@1.1.0
│ ├── isarray@1.0.0
│ ├── jmespath@0.15.0
│ ├── js-yaml@3.8.4
│ ├─┬ json-refs@2.1.7
│ │ └── commander@2.9.0
│ ├── jsonfile@2.4.0
│ ├── jwt-decode@2.2.0
│ ├── klaw@1.3.1
│ ├── lazystream@1.0.0
│ ├── lodash@4.17.4
│ ├── lowercase-keys@1.0.0
│ ├── make-dir@1.0.0
│ ├── methods@1.1.2
│ ├── mime@1.3.6
│ ├── mime-db@1.27.0
│ ├── mime-types@2.1.15
│ ├── minimatch@3.0.4
│ ├── minimist@1.2.0
│ ├─┬ mkdirp@0.5.1
│ │ └── minimist@0.0.8
│ ├── moment@2.18.1
│ ├── ms@2.0.0
│ ├── native-promise-only@0.8.1
│ ├── node-fetch@1.7.0
│ ├── normalize-path@2.1.1
│ ├── object-assign@4.1.1
│ ├── once@1.4.0
│ ├── opn@5.0.0
│ ├── path-is-absolute@1.0.1
│ ├── path-loader@1.0.2
│ ├── pend@1.2.0
│ ├── pify@2.3.0
│ ├── pinkie@2.0.4
│ ├── pinkie-promise@2.0.1
│ ├── prepend-http@1.0.4
│ ├── process-nextick-args@1.0.7
│ ├── punycode@1.3.2
│ ├── qs@6.4.0
│ ├── querystring@0.2.0
│ ├── rc@1.2.1
│ ├── readable-stream@2.2.9
│ ├── remove-trailing-separator@1.0.1
│ ├── replaceall@0.1.6
│ ├── resolve-from@2.0.0
│ ├── rimraf@2.6.1
│ ├── safe-buffer@5.0.1
│ ├── sax@1.2.1
│ ├── seek-bzip@1.0.5
│ ├── semver@5.3.0
│ ├── semver-regex@1.0.0
│ ├── shelljs@0.6.1
│ ├── slash@1.0.0
│ ├── slide@1.1.6
│ ├── sprintf-js@1.0.3
│ ├── string_decoder@1.0.1
│ ├── strip-ansi@3.0.1
│ ├── strip-dirs@2.0.0
│ ├── strip-json-comments@2.0.1
│ ├── strip-outer@1.0.0
│ ├── superagent@3.5.2
│ ├── supports-color@2.0.0
│ ├── tar-stream@1.5.4
│ ├── through@2.3.8
│ ├── timed-out@4.0.1
│ ├── trim-repeated@1.0.0
│ ├── tunnel-agent@0.4.3
│ ├─┬ unbzip2-stream@1.2.4
│ │ ├── base64-js@0.0.8
│ │ └── buffer@3.6.0
│ ├── unzip-response@2.0.1
│ ├─┬ uri-js@3.0.2
│ │ └── punycode@2.1.0
│ ├── url@0.10.3
│ ├── url-parse-lax@1.0.0
│ ├── util-deprecate@1.0.2
│ ├── uuid@2.0.3
│ ├── walkdir@0.0.11
│ ├── wrappy@1.0.2
│ ├── write-file-atomic@2.1.0
│ ├── xml2js@0.4.17
│ ├── xmlbuilder@4.2.1
│ ├── xtend@4.0.1
│ ├── yauzl@2.8.0
│ └── zip-stream@1.1.1
├─┬ serverless-jest-plugin@0.1.4
│ ├─┬ aws-sdk@2.203.0
│ │ ├─┬ buffer@4.9.1
│ │ │ ├── base64-js@1.2.3
│ │ │ ├── ieee754@1.1.8
│ │ │ └── isarray@1.0.0
│ │ ├── events@1.1.1
│ │ ├── jmespath@0.15.0
│ │ ├── sax@1.2.1
│ │ ├── url@0.10.3
│ │ ├── uuid@3.1.0
│ │ ├─┬ xml2js@0.4.17
│ │ │ └── sax@1.2.4
│ │ └── xmlbuilder@4.2.1
│ ├── bluebird@3.5.1
│ ├── ejs@2.5.7
│ ├─┬ fs-extra@3.0.1
│ │ ├── jsonfile@3.0.1
│ │ └── universalify@0.1.1
│ ├─┬ jest@19.0.2
│ │ └─┬ jest-cli@19.0.2
│ │ ├── jest-changed-files@19.0.2
│ │ ├─┬ jest-config@19.0.4
│ │ │ ├── jest-environment-node@19.0.2
│ │ │ ├── jest-resolve@19.0.2
│ │ │ ├── jest-validate@19.0.2
│ │ │ └─┬ pretty-format@19.0.0
│ │ │ └── ansi-styles@3.2.0
│ │ ├─┬ jest-environment-jsdom@19.0.2
│ │ │ └── jest-mock@19.0.0
│ │ ├─┬ jest-haste-map@19.0.2
│ │ │ └─┬ sane@1.5.0
│ │ │ └─┬ fb-watchman@1.9.2
│ │ │ └── bser@1.0.2
│ │ ├─┬ jest-jasmine2@19.0.2
│ │ │ ├── jest-matcher-utils@19.0.0
│ │ │ └── jest-matchers@19.0.0
│ │ ├── jest-message-util@19.0.0
│ │ ├── jest-regex-util@19.0.0
│ │ ├─┬ jest-resolve-dependencies@19.0.0
│ │ │ └── jest-file-exists@19.0.0
│ │ ├─┬ jest-runtime@19.0.4
│ │ │ ├─┬ babel-jest@19.0.0
│ │ │ │ └─┬ babel-preset-jest@19.0.0
│ │ │ │ └── babel-plugin-jest-hoist@19.0.0
│ │ │ └── strip-bom@3.0.0
│ │ ├─┬ jest-snapshot@19.0.2
│ │ │ └── jest-diff@19.0.0
│ │ ├── jest-util@19.0.2
│ │ └─┬ yargs@6.6.0
│ │ ├── camelcase@3.0.0
│ │ ├── cliui@3.2.0
│ │ └── yargs-parser@4.2.1
│ ├── lambda-wrapper@0.1.2
│ └── yaml-edit@0.1.3
├─┬ serverless-offline@3.14.0
│ ├─┬ babel-register@6.26.0
│ │ ├─┬ babel-core@6.26.0
│ │ │ └─┬ babel-generator@6.26.1
│ │ │ └── jsesc@1.3.0
│ │ └─┬ home-or-tmp@2.0.0
│ │ ├── os-homedir@1.0.2
│ │ └── os-tmpdir@1.0.2
│ ├─┬ boom@4.3.1
│ │ └── hoek@4.2.1
│ ├── crypto@0.0.3
│ ├─┬ hapi@14.2.0
│ │ ├─┬ accept@2.1.4
│ │ │ └── boom@5.2.0
│ │ ├─┬ ammo@2.0.4
│ │ │ └── boom@5.2.0
│ │ ├── boom@3.2.2
│ │ ├── call@3.0.4
│ │ ├─┬ catbox@7.1.5
│ │ │ ├── boom@5.2.0
│ │ │ └── joi@10.6.0
│ │ ├── catbox-memory@2.0.4
│ │ ├─┬ cryptiles@3.1.2
│ │ │ └── boom@5.2.0
│ │ ├─┬ heavy@4.0.4
│ │ │ ├── boom@5.2.0
│ │ │ └── joi@10.6.0
│ │ ├─┬ iron@4.0.5
│ │ │ └── boom@5.2.0
│ │ ├── items@2.1.1
│ │ ├─┬ joi@9.2.0
│ │ │ └── isemail@2.2.1
│ │ ├── kilt@2.0.2
│ │ ├─┬ mimos@3.0.3
│ │ │ └── mime-db@1.33.0
│ │ ├── peekaboo@2.0.2
│ │ ├─┬ shot@3.4.2
│ │ │ └── joi@10.6.0
│ │ ├─┬ statehood@4.1.0
│ │ │ └── boom@3.2.2
│ │ ├─┬ subtext@4.4.1
│ │ │ ├── boom@5.2.0
│ │ │ ├─┬ content@3.0.6
│ │ │ │ └── boom@5.2.0
│ │ │ ├─┬ pez@2.1.5
│ │ │ │ ├── b64@3.0.3
│ │ │ │ ├── boom@5.2.0
│ │ │ │ └─┬ nigel@2.0.2
│ │ │ │ └── vise@2.0.2
│ │ │ └─┬ wreck@12.5.1
│ │ │ └── boom@5.2.0
│ │ └── topo@2.0.2
│ ├── hapi-cors-headers@1.0.3
│ ├── js-string-escape@1.0.1
│ ├── jsonpath-plus@0.16.0
│ └── velocityjs@0.9.6
├─┬ serverless-plugin-webpack@1.1.0
│ └── ramda@0.23.0
└─┬ webpack@2.5.0
├── acorn@5.5.0
├─┬ acorn-dynamic-import@2.0.2
│ └── acorn@4.0.13
├─┬ ajv@4.11.8
│ ├── co@4.6.0
│ └─┬ json-stable-stringify@1.0.1
│ └── jsonify@0.0.0
├── ajv-keywords@1.5.1
├── async@2.6.0
├── enhanced-resolve@3.4.1
├── interpret@1.1.0
├── json5@0.5.1
├── loader-runner@2.3.0
├── loader-utils@0.2.17
├─┬ memory-fs@0.4.1
│ ├─┬ errno@0.1.7
│ │ └── prr@1.0.1
│ └─┬ readable-stream@2.3.4
│ ├── core-util-is@1.0.2
│ ├── isarray@1.0.0
│ ├── process-nextick-args@2.0.0
│ ├── safe-buffer@5.1.1
│ └── util-deprecate@1.0.2
├─┬ node-libs-browser@2.1.0
│ ├── assert@1.4.1
│ ├─┬ browserify-zlib@0.2.0
│ │ └── pako@1.0.6
│ ├─┬ console-browserify@1.1.0
│ │ └── date-now@0.1.4
│ ├── constants-browserify@1.0.0
│ ├─┬ crypto-browserify@3.12.0
│ │ ├─┬ browserify-cipher@1.0.0
│ │ │ ├─┬ browserify-aes@1.1.1
│ │ │ │ └── buffer-xor@1.0.3
│ │ │ ├─┬ browserify-des@1.0.0
│ │ │ │ └── des.js@1.0.0
│ │ │ └─┬ evp_bytestokey@1.0.3
│ │ │ └─┬ md5.js@1.3.4
│ │ │ └── hash-base@3.0.4
│ │ ├─┬ browserify-sign@4.0.4
│ │ │ ├── bn.js@4.11.8
│ │ │ ├── browserify-rsa@4.0.1
│ │ │ ├─┬ elliptic@6.4.0
│ │ │ │ ├── brorand@1.1.0
│ │ │ │ ├── hash.js@1.1.3
│ │ │ │ ├── hmac-drbg@1.0.1
│ │ │ │ ├── minimalistic-assert@1.0.0
│ │ │ │ └── minimalistic-crypto-utils@1.0.1
│ │ │ └─┬ parse-asn1@5.1.0
│ │ │ └── asn1.js@4.10.1
│ │ ├── create-ecdh@4.0.0
│ │ ├─┬ create-hash@1.1.3
│ │ │ ├── cipher-base@1.0.4
│ │ │ ├─┬ ripemd160@2.0.1
│ │ │ │ └── hash-base@2.0.2
│ │ │ └── sha.js@2.4.10
│ │ ├── create-hmac@1.1.6
│ │ ├─┬ diffie-hellman@5.0.2
│ │ │ └── miller-rabin@4.0.1
│ │ ├── pbkdf2@3.0.14
│ │ ├── public-encrypt@4.0.0
│ │ ├── randombytes@2.0.6
│ │ └── randomfill@1.0.4
│ ├── domain-browser@1.2.0
│ ├── https-browserify@1.0.0
│ ├── os-browserify@0.3.0
│ ├── path-browserify@0.0.0
│ ├── process@0.11.10
│ ├── querystring-es3@0.2.1
│ ├── stream-browserify@2.0.1
│ ├─┬ stream-http@2.8.0
│ │ ├── builtin-status-codes@3.0.0
│ │ └── to-arraybuffer@1.0.1
│ ├── string_decoder@1.0.3
│ ├── timers-browserify@2.0.6
│ ├── tty-browserify@0.0.0
│ ├─┬ util@0.10.3
│ │ └── inherits@2.0.1
│ └─┬ vm-browserify@0.0.4
│ └── indexof@0.0.1
├── source-map@0.5.7
├── supports-color@3.2.3
├── tapable@0.2.8
├─┬ uglify-js@2.8.29
│ ├── uglify-to-browserify@1.0.2
│ └─┬ yargs@3.10.0
│ ├── camelcase@1.2.1
│ ├─┬ cliui@2.1.0
│ │ ├─┬ center-align@0.1.3
│ │ │ ├─┬ align-text@0.1.4
│ │ │ │ └── longest@1.0.1
│ │ │ └── lazy-cache@1.0.4
│ │ ├── right-align@0.1.3
│ │ └── wordwrap@0.0.2
│ └── window-size@0.1.0
├─┬ watchpack@1.4.0
│ └─┬ chokidar@1.7.0
│ ├── anymatch@1.3.2
│ ├── async-each@1.0.1
│ ├─┬ fsevents@1.1.3
│ │ ├── nan@2.9.2
│ │ └─┬ node-pre-gyp@0.6.39
│ │ ├── detect-libc@1.0.2
│ │ ├─┬ hawk@3.1.3
│ │ │ ├── boom@2.10.1
│ │ │ ├── cryptiles@2.0.5
│ │ │ ├── hoek@2.16.3
│ │ │ └── sntp@1.0.9
│ │ ├─┬ mkdirp@0.5.1
│ │ │ └── minimist@0.0.8
│ │ ├─┬ nopt@4.0.1
│ │ │ ├── abbrev@1.1.0
│ │ │ └─┬ osenv@0.1.4
│ │ │ ├── os-homedir@1.0.2
│ │ │ └── os-tmpdir@1.0.2
│ │ ├─┬ npmlog@4.1.0
│ │ │ ├─┬ are-we-there-yet@1.1.4
│ │ │ │ └── delegates@1.0.0
│ │ │ ├── console-control-strings@1.1.0
│ │ │ ├─┬ gauge@2.7.4
│ │ │ │ ├── aproba@1.1.1
│ │ │ │ ├── has-unicode@2.0.1
│ │ │ │ ├── object-assign@4.1.1
│ │ │ │ ├── signal-exit@3.0.2
│ │ │ │ ├─┬ string-width@1.0.2
│ │ │ │ │ ├── code-point-at@1.1.0
│ │ │ │ │ └─┬ is-fullwidth-code-point@1.0.0
│ │ │ │ │ └── number-is-nan@1.0.1
│ │ │ │ ├─┬ strip-ansi@3.0.1
│ │ │ │ │ └── ansi-regex@2.1.1
│ │ │ │ └── wide-align@1.1.2
│ │ │ └── set-blocking@2.0.0
│ │ ├─┬ rc@1.2.1
│ │ │ ├── deep-extend@0.4.2
│ │ │ ├── ini@1.3.4
│ │ │ ├── minimist@1.2.0
│ │ │ └── strip-json-comments@2.0.1
│ │ ├─┬ request@2.81.0
│ │ │ ├── aws-sign2@0.6.0
│ │ │ ├── aws4@1.6.0
│ │ │ ├── caseless@0.12.0
│ │ │ ├─┬ combined-stream@1.0.5
│ │ │ │ └── delayed-stream@1.0.0
│ │ │ ├── extend@3.0.1
│ │ │ ├── forever-agent@0.6.1
│ │ │ ├─┬ form-data@2.1.4
│ │ │ │ └── asynckit@0.4.0
│ │ │ ├─┬ har-validator@4.2.1
│ │ │ │ ├─┬ ajv@4.11.8
│ │ │ │ │ ├── co@4.6.0
│ │ │ │ │ └─┬ json-stable-stringify@1.0.1
│ │ │ │ │ └── jsonify@0.0.0
│ │ │ │ └── har-schema@1.0.5
│ │ │ ├─┬ http-signature@1.1.1
│ │ │ │ ├── assert-plus@0.2.0
│ │ │ │ ├─┬ jsprim@1.4.0
│ │ │ │ │ ├── assert-plus@1.0.0
│ │ │ │ │ ├── extsprintf@1.0.2
│ │ │ │ │ ├── json-schema@0.2.3
│ │ │ │ │ └── verror@1.3.6
│ │ │ │ └─┬ sshpk@1.13.0
│ │ │ │ ├── asn1@0.2.3
│ │ │ │ ├── assert-plus@1.0.0
│ │ │ │ ├── bcrypt-pbkdf@1.0.1
│ │ │ │ ├─┬ dashdash@1.14.1
│ │ │ │ │ └── assert-plus@1.0.0
│ │ │ │ ├── ecc-jsbn@0.1.1
│ │ │ │ ├─┬ getpass@0.1.7
│ │ │ │ │ └── assert-plus@1.0.0
│ │ │ │ ├── jodid25519@1.0.2
│ │ │ │ ├── jsbn@0.1.1
│ │ │ │ └── tweetnacl@0.14.5
│ │ │ ├── is-typedarray@1.0.0
│ │ │ ├── isstream@0.1.2
│ │ │ ├── json-stringify-safe@5.0.1
│ │ │ ├─┬ mime-types@2.1.15
│ │ │ │ └── mime-db@1.27.0
│ │ │ ├── oauth-sign@0.8.2
│ │ │ ├── performance-now@0.2.0
│ │ │ ├── qs@6.4.0
│ │ │ ├── safe-buffer@5.0.1
│ │ │ ├── stringstream@0.0.5
│ │ │ ├─┬ tough-cookie@2.3.2
│ │ │ │ └── punycode@1.4.1
│ │ │ ├── tunnel-agent@0.6.0
│ │ │ └── uuid@3.0.1
│ │ ├─┬ rimraf@2.6.1
│ │ │ └─┬ glob@7.1.2
│ │ │ ├── fs.realpath@1.0.0
│ │ │ ├── inflight@1.0.6
│ │ │ ├─┬ minimatch@3.0.4
│ │ │ │ └─┬ brace-expansion@1.1.7
│ │ │ │ ├── balanced-match@0.4.2
│ │ │ │ └── concat-map@0.0.1
│ │ │ └── path-is-absolute@1.0.1
│ │ ├── semver@5.3.0
│ │ ├─┬ tar@2.2.1
│ │ │ ├── block-stream@0.0.9
│ │ │ ├─┬ fstream@1.0.11
│ │ │ │ └── graceful-fs@4.1.11
│ │ │ └── inherits@2.0.3
│ │ └─┬ tar-pack@3.4.0
│ │ ├─┬ debug@2.6.8
│ │ │ └── ms@2.0.0
│ │ ├── fstream-ignore@1.0.5
│ │ ├─┬ once@1.4.0
│ │ │ └── wrappy@1.0.2
│ │ ├─┬ readable-stream@2.2.9
│ │ │ ├── buffer-shims@1.0.0
│ │ │ ├── core-util-is@1.0.2
│ │ │ ├── isarray@1.0.0
│ │ │ ├── process-nextick-args@1.0.7
│ │ │ ├── string_decoder@1.0.1
│ │ │ └── util-deprecate@1.0.2
│ │ └── uid-number@0.0.6
│ ├── glob-parent@2.0.0
│ ├─┬ is-binary-path@1.0.1
│ │ └── binary-extensions@1.11.0
│ └─┬ readdirp@2.1.0
│ └── set-immediate-shim@1.0.1
├─┬ webpack-sources@0.2.3
│ └── source-list-map@1.1.2
└─┬ yargs@6.6.0
├── camelcase@3.0.0
├─┬ cliui@3.2.0
│ └── wrap-ansi@2.1.0
├── decamelize@1.2.0
├── get-caller-file@1.0.2
├─┬ os-locale@1.4.0
│ └─┬ lcid@1.0.0
│ └── invert-kv@1.0.0
├─┬ read-pkg-up@1.0.1
│ └─┬ read-pkg@1.1.0
│ ├─┬ load-json-file@1.1.0
│ │ ├─┬ parse-json@2.2.0
│ │ │ └─┬ error-ex@1.3.1
│ │ │ └── is-arrayish@0.2.1
│ │ └─┬ strip-bom@2.0.0
│ │ └── is-utf8@0.2.1
│ ├─┬ normalize-package-data@2.4.0
│ │ ├── hosted-git-info@2.5.0
│ │ └─┬ validate-npm-package-license@3.0.2
│ │ ├─┬ spdx-correct@2.0.4
│ │ │ ├── spdx-expression-parse@2.0.2
│ │ │ └── spdx-license-ids@2.0.1
│ │ └─┬ spdx-expression-parse@3.0.0
│ │ ├── spdx-exceptions@2.1.0
│ │ └── spdx-license-ids@3.0.0
│ └── path-type@1.1.0
├── require-directory@2.1.1
├── require-main-filename@1.0.1
├── set-blocking@2.0.0
├─┬ string-width@1.0.2
│ ├── code-point-at@1.1.0
│ └─┬ is-fullwidth-code-point@1.0.0
│ └── number-is-nan@1.0.1
├── which-module@1.0.0
├── y18n@3.2.1
└── yargs-parser@4.2.1
npm WARN serverless-next@1.0.0 No description
npm WARN serverless-next@1.0.0 No repository field.
@Vadorequest I think that this is the classic NPM problem: things get updated, board version ranges pick packages that maybe not work well together. I'll try to update this project.
Yeah... I always use specific versions actually to avoid as much as possible this kind of issues, even though it's not perfect 'cause dependencies may install different versions due to ^
.
If you experience the same issue on a fresh install then it's definitely the cause, and the easiest way to fix it is probably to look back at your old project and see what specific versions were used for each package.
I thought package-lock.json was supposed to fix those things, but you don't have any in your repository.
package-lock.json
or yarn.lock
would probably workaround many issues like that, but at that time, I wasn't using any. package-lock.json
specially due the Node version I tend to use, matching the runtime.
@geovanisouza92 Hello! I finally made Next.js work (almost), but I'm still struggling with something. Basically, my main handler behaves correctly and build the Next app, but if I go to another path, my handler is ignored and AWS return the traditional "route not found" stuff.
I'm missing something again, if you have time to take a look: https://github.com/Vadorequest/serverless-with-next#issues
Thanks!