Closed lwang-79 closed 2 weeks ago
Hi @lwang-79 can you please provide more information about the project's environment, such as the package.json file and dependencies listed in it?
Hi @chrisbonifacio, thank you for checking this. Here is my package.json
{
"name": "next-driving",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"@aws-amplify/geo": "^3.0.52",
"@chakra-ui/icons": "^2.1.1",
"@chakra-ui/next-js": "^2.2.0",
"@chakra-ui/react": "^2.8.2",
"@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0",
"aws-amplify": "^6.6.2",
"framer-motion": "^11.5.6",
"next": "^14.2.14",
"react": "^18",
"react-dom": "^18",
"react-slick": "^0.30.2",
"react-webcam": "^7.2.0"
},
"devDependencies": {
"@aws-amplify/backend": "^1.3.0",
"@aws-amplify/backend-cli": "^1.2.8",
"@types/node": "^22",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/react-slick": "^0.23.13",
"aws-cdk": "^2.159.1",
"aws-cdk-lib": "^2.159.1",
"constructs": "^10.3.0",
"esbuild": "^0.23.1",
"tsx": "^4.19.1",
"typescript": "^5.6.2"
}
}
it looks like you are a bit behind on the package versions.
can you upgrade to the latest versions of @aws-amplify/backend
and @aws-amplify/backend-cli
?
also, after upgrading, please run the following command and confirm that the version output is 1.10.2.
npm list @aws-amplify/data-schema
if not, run the following command to update the package and re-run the above command to confirm.
npm update @aws-amplify/data-schema
Hi 👋 Closing this as we have not heard back from you. If you are still experiencing this issue and in need of assistance, please feel free to comment and provide us with any information previously requested by our team members so we can re-open this issue and be better able to assist you.
Thank you!
Before opening, please confirm:
JavaScript Framework
Next.js
Amplify APIs
GraphQL API
Amplify Version
v6
Amplify Categories
api
Backend
Amplify Gen 2
Environment information
Describe the bug
I have a model "Job" wich has a GSI with 3 sort keys "datetime", "status", "type". When I try to query the data between tow datetime, I can't find a way to write the code. The "between" operator only accepts one itme in the array.
Expected behavior
The "between" operator can accept tow items.
Reproduction steps
Code Snippet
Log output
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response