infrastructure-scripts (0.3.11) postinstall script failsAugust 12, 2020 at 2:23pm
Trying to get the tutorial example going but, unfortunately, the very first step fails already (npm install):
(...) npm ERR! [email protected] postinstall:
./scripts/icscriptsinstall.jsnpm ERR! Exit status 1 (...)
... a bit further up it says:
[email protected] postinstall C:_REPOS\git\rDDADy\infra-test\node_modules\infrastructure-scripts ./scripts/icscriptsinstall.js
'.' is not recognized as an internal or external command, operable program or batch file. (...)
Any idea what's going on here? (environment: windows 10 // tried to run this from cmd, from powershell as well as from cygwin/bash - same error everytime.
In addition, there are numerous "deprecated" dependencies - would this be an issue?
Any help getting this up'n'running would be appreciated. Thanks.
Best regards, Frank.
August 13, 2020 at 12:32pm
August 14, 2020 at 5:38pm
August 22, 2020 at 3:16pm
Any help pointing me in the right direction on how to get this to work? Would still like to get this up and running somehow. I might be able to try'n'debug this myself, if you get me started. Thus far, I'm unable to do so, because I couldn't find the offending script. Seems to be created during the installation of module "infrastructure-scripts"... not sure where to look. Any help would be appreciated. Otherwise reading the book will be slightly less exciting than if I could follow along the code examples myself. Thanks.
Hi, sorry for the late response. I couldn't really figure out the problem thus far. The script prepares the local DynamoDb. I removed the script and published an
In case you want to use the Database locally, you may need to install it manually with this version. To do this, you'd need a
service:name: install-configplugins:- serverless-dynamodb-localprovider:name: awsruntime: nodejs8.10
sls dynamodb install
I hoe this helps. Unfortunately, I can't test it on Windows right now.
August 23, 2020 at 12:41pm