Comments (4)
For some reason the Ctrl+Shift+F didnt work the last time, but grepping it I found this:
ec2-user:~/environment/unicorn-loyalty $ grep -l 'AppSyncEvent' . -r
./awsmobilejs/backend/appsync/dataSources.json
./awsmobilejs/backend/appsync/resolvers.json
./awsmobilejs/#current-backend-info/appsync/dataSources.json
./awsmobilejs/#current-backend-info/appsync/resolvers.json
from aws-serverless-appsync-loyalty.
I did this step but it (Old tables) keeps coming back. I will try removing #currentbackend.
"Go to the folder awsmobilejs/backend/appsync and delete the file resolvers.json and the folder resolver-mappings.
Now go to the folder appsync in the root of the application directory and copy the file resolvers.json and the folder resolver-mappings to the previous folder awsmobilejs/backend/appsync, replacing the deleted files."
There are so many nested appsync folders I wish there was a better naming standard.
from aws-serverless-appsync-loyalty.
Removed the # folder, and it regen'd correctly
For some reason datasources.json was still having the old stuff, copied from old app dir, made no diff.
I also did npm install - no errors
Grep & Find All have no matches for the old tables any more but still errors out as above whether on pull or push.
Push also gives this error: appsync update failed
TypeError: Cannot read property 'dataSources' of undefined
at Object.diff (/home/ec2-user/.nvm/versions/node/v8.11.4/lib/node_modules/awsmobile-cli/lib/backend-operations/appsync-operations/helpers/helper-dataSources.js:41:81)
from aws-serverless-appsync-loyalty.
Re-did it and it was fine this time.
from aws-serverless-appsync-loyalty.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-serverless-appsync-loyalty.