I'm working on a project that uses AWS Lambda and serverless (sls) technology.
When trying to run npm start which runs sls offline cloudside I get the error:
The webpack plugin could not find the configuration file at: c:\Play\MyProj\src\myproj-backend\services\user-service\d:\Play\MyProj\src\myproj-backend\services\user-service\node_modules\serverless-bundle\src\webpack.config.js
The full output is:
npm start
> users-service@1.0.0 start c:\Play\MyProj\src\myproj-backend\services\user-service
> sls offline cloudside
Serverless: Deprecation warning: Starting with version 3.0.0, following property will be replaced:
"provider.iamRoleStatements" -> "provider.iam.role.statements"
More Info: https://www.serverless.com/framework/docs/deprecations/#PROVIDER_IAM_SETTINGS
Serverless: Deprecation warning: Resolution of lambda version hashes was improved with better algorithm, which will be used in next major release.
Switch to it now by setting "provider.lambdaHashingVersion" to "20201221"
More Info: https://www.serverless.com/framework/docs/deprecations/#LAMBDA_HASHING_VERSION_V2
Serverless: Loading cloudside resources for 'users-service-dev' stack.
Serverless Error ----------------------------------------
The webpack plugin could not find the configuration file at: c:\Play\MyProj\src\myproj-backend\services\user-service\d:\Play\MyProj\src\myproj-backend\services\user-service\node_modules\serverless-bundle\src\webpack.config.js
Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Issues: forum.serverless.com
Your Environment Information ---------------------------
Operating System: win32
Node Version: 12.16.2
Framework Version: 2.30.2
Plugin Version: 4.5.1
SDK Version: 4.2.0
Components Version: 3.7.3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! users-service@1.0.0 start: `sls offline cloudside`
npm ERR! Exit status 1
But what is strange is that the same git project works on another development box I use. Any idea's why this isn't working?