PatrykTies
PatrykTies
Hi, i have similar issue now, how did you solve it? or did you not ?
I did receive the same Error as above once deployed. On Stack they saying we must provide statusCode along with response...as we did in tutorial..but perhaps we must add it...
```yaml service: notes-app plugins: - serverless-webpack custom: webpackIncludeModules: true provider: name: aws runtime: nodejs6.10 stage: prod region: eu-west-1 iamRoleStatements: - Effect: Allow Action: - dynamodb:DescribeTable - dynamodb:Query - dynamodb:Scan -...
Yes I can confirm, my issue above was also caused by using 1.4 , now once updated to 1.11 all works fine. Cheers.
Just make ``` apiGateway: { URL: 'https://ngh4urud.execute-api.eu-west-1.amazonaws.com/prod', }, ``` But I now have Cors issue where it seems its not enabled. Fetch API cannot load https://ngh4urud.execute-api.eu-west-1.amazonaws.com/prod/notes. No 'Access-Control-Allow-Origin' header is...
It gives me error for CloudFront, Invalid invalidation paths I found a tip here : https://kylewbanks.com/blog/invalidate-entire-cloudfront-distribution-from-command-line THIS THROW ERROR: aws cloudfront create-invalidation --distribution-id YOUR_CF_DISTRIBUTION_ID --paths '/*' THIS IS WORKING: showing...
Win7 Pro 64bit SP1
Let me google it out and investigate. Cheers
Btw using npm script also gives the same error....but that get injected into win shell anyways...so Also i am using gitbash for terminal commands
Solved, for win7 I had to use /^* as --paths, instead of "/*" Thanks for pointing the possible cause. All done Now off me go to Jenkins and AWS codepipeline...