Packaging Service stuck at removing .webpack

I’ve been working by way through the tutorial and am at the point of trying to deploy the backend. When I use the srverless deploy command I get to the point where it hits the Packaging service and the message that says Serverless: Remove C:\Users\Jeff\code\notes\notes-app-api\.webpack. The powershell window is locked up after that. I’ve let it sit there a couple of hours. The .webpack directory does not get removed and nothing further happens. Any ideas on what is occuring here. I’m running under windows 10.

PS C:\Users\Jeff\code\notes\notes-app-api> serverless deploy -v
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 webpack
Serverless: Load command offline
Serverless: Load command offline:start
Serverless: Invoke deploy
Serverless: Invoke package
Serverless: Invoke aws:common:validate
Serverless: Invoke aws:common:cleanupTempDir
Serverless: Invoke webpack:validate
Serverless: Using configuration:
{
  "webpackConfig": "./webpack.config.js",
  "includeModules": true,
  "packager": "npm",
  "packagerOptions": {},
  "packExternalModulesMaxBuffer": 204800
}
Serverless: Removing C:\Users\Jeff\code\notes\notes-app-api\.webpack
Serverless: Invoke webpack:compile
Serverless: Bundling with Webpack...
Time: 1751ms
Built at: 2018-6-21 14:52:01
        Asset      Size  Chunks             Chunk Names
    delete.js  7.14 KiB       0  [emitted]  delete
    update.js  7.67 KiB       1  [emitted]  update
      list.js  7.43 KiB       2  [emitted]  list
       get.js  7.37 KiB       3  [emitted]  get
    create.js  7.25 KiB       4  [emitted]  create
delete.js.map  6.34 KiB       0  [emitted]  delete
update.js.map  7.14 KiB       1  [emitted]  update
  list.js.map   6.6 KiB       2  [emitted]  list
   get.js.map  6.63 KiB       3  [emitted]  get
create.js.map   6.5 KiB       4  [emitted]  create
Entrypoint create = create.js create.js.map
Entrypoint get = get.js get.js.map
Entrypoint list = list.js list.js.map
Entrypoint update = update.js update.js.map
Entrypoint delete = delete.js delete.js.map
   [0] external "source-map-support/register" 42 bytes {0} {1} {2} {3} {4} [built]
   [1] external "babel-runtime/core-js/json/stringify" 42 bytes {0} {1} {2} {3} {4} [built]
   [2] ./libs/response-lib.js 762 bytes {0} {1} {2} {3} {4} [built]
   [3] external "aws-sdk" 42 bytes {0} {1} {2} {3} {4} [built]
   [4] ./libs/dynamodb-lib.js 526 bytes {0} {1} {2} {3} {4} [built]
   [5] external "babel-runtime/helpers/asyncToGenerator" 42 bytes {0} {1} {2} {3} {4} [built]
   [6] external "babel-runtime/regenerator" 42 bytes {0} {1} {2} {3} {4} [built]
   [7] ./delete.js 2.37 KiB {0} [built]
   [8] ./update.js 2.89 KiB {1} [built]
   [9] ./list.js 2.64 KiB {2} [built]
  [10] ./get.js 2.57 KiB {3} [built]
  [11] external "uuid" 42 bytes {4} [built]
  [12] ./create.js 2.35 KiB {4} [built]
Serverless: Invoke webpack:package
Serverless: Fetch dependency graph from C:\Users\Jeff\code\notes\notes-app-api\package.json
Serverless: Packing external modules: source-map-support@^0.4.18, babel-runtime@^6.26.0, uuid@^3.2.1
Serverless: Package took [9562 ms]
Serverless: Copy modules: C:\Users\Jeff\code\notes\notes-app-api\.webpack\service [4915 ms]
Serverless: Prune: C:\Users\Jeff\code\notes\notes-app-api\.webpack\service [3838 ms]
Serverless: Run scripts: C:\Users\Jeff\code\notes\notes-app-api\.webpack\service [0 ms]
Serverless: Zip service: C:\Users\Jeff\code\notes\notes-app-api\.webpack\service [4097 ms]
Serverless: Packaging service...
Serverless: Remove C:\Users\Jeff\code\notes\notes-app-api\.webpack

Hmm so it just hangs and never completes? This seems related to the serverless-webpack plugin. Which version of Node you are using?

I’m using node V10.2.1. I went ahead and fired up my ubuntu 18.04 VM and ran the backend part of the tutorial there without problem and then went back to Windows 10 to complete the front-end app without issue. So the only step I had any issues with was the serverless deploy.

I see. Thanks for reporting back.