You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-I download product file i make custom configurations for my purpose. When i work with localhost everything is fine.
-I entegrate the project with Aws Amplify, i add authentication and other custom things , again localhost is fine there is no problem with cloud resources.
-Then i want to build the product and deploy to aws i get errors. But when i do exact steps without your product for example when i follow these steps with normal create-react-app application everything is fine.
And here is my scripts in package.json "scripts": { "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject", "compile-sass": "node-sass src/assets/scss/now-ui-dashboard.scss src/assets/css/now-ui-dashboard.css", "minify-sass": "node-sass src/assets/scss/now-ui-dashboard.scss src/assets/css/now-ui-dashboard.min.css --output-style compressed", "map-sass": "node-sass src/assets/scss/now-ui-dashboard.scss src/assets/css/now-ui-dashboard.css --source-map true", "install:clean": "rm -rf node_modules/ && rm -rf package-lock.json && npm install && npm start" },
Do i have to make any configuration for these scripts ?
Solution
AWS use these template to build projects , maybe we need to make some configuration in the template for your product. Do i need to add additional build commands for your product ?
Thank you all !
The text was updated successfully, but these errors were encountered:
Thank you for your interest in working with our products.
Please delete the homepage prop from our package.json, it points to our Github repository, and when you build the product, the built version will make the homepage prop as base href.
Version
latest
Reproduction link
https://master.d1bhhsz8gxg2gx.amplifyapp.com/
Operating System
AWS Amplify
Device
Amplify
Browser & Version
Chrome@latest
Steps to reproduce
-I download product file i make custom configurations for my purpose. When i work with localhost everything is fine.
-I entegrate the project with Aws Amplify, i add authentication and other custom things , again localhost is fine there is no problem with cloud resources.
-Then i want to build the product and deploy to aws i get errors. But when i do exact steps without your product for example when i follow these steps with normal create-react-app application everything is fine.
What is expected?
Build in aws resources and deploy correctly.
What is actually happening?
I can deploy the product to
" https://master.d1bhhsz8gxg2gx.amplifyapp.com/ "
But I get these Errors
And here is my scripts in package.json
"scripts": { "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject", "compile-sass": "node-sass src/assets/scss/now-ui-dashboard.scss src/assets/css/now-ui-dashboard.css", "minify-sass": "node-sass src/assets/scss/now-ui-dashboard.scss src/assets/css/now-ui-dashboard.min.css --output-style compressed", "map-sass": "node-sass src/assets/scss/now-ui-dashboard.scss src/assets/css/now-ui-dashboard.css --source-map true", "install:clean": "rm -rf node_modules/ && rm -rf package-lock.json && npm install && npm start" },
Do i have to make any configuration for these scripts ?
Solution
AWS use these template to build projects , maybe we need to make some configuration in the template for your product. Do i need to add additional build commands for your product ?
Thank you all !
The text was updated successfully, but these errors were encountered: