Open emilylubkert opened 1 year ago
Build is successful with manual deploy in Amplify and when hosted as static website from S3 bucket.
Hi @emilylubkert thank you for raising this issue and testing out the deployment. Is it possible that you are trying to install a private package during the CI/CD build?
Thanks for responding! As far as I know, I am not using any private packages. Here is my package.json:
{
"name": <name>,
"version": "0.1.0",
"private": true,
"dependencies": {
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@fortawesome/fontawesome-pro": "^6.3.0",
"@fortawesome/fontawesome-svg-core": "^6.3.0",
"@fortawesome/pro-duotone-svg-icons": "^6.3.0",
"@fortawesome/pro-light-svg-icons": "^6.3.0",
"@fortawesome/pro-regular-svg-icons": "^6.3.0",
"@fortawesome/pro-solid-svg-icons": "^6.3.0",
"@fortawesome/pro-thin-svg-icons": "^6.3.0",
"@fortawesome/react-fontawesome": "^0.2.0",
"@fortawesome/sharp-regular-svg-icons": "^6.3.0",
"@fortawesome/sharp-solid-svg-icons": "^6.3.0",
"@mui/icons-material": "^5.11.11",
"@mui/material": "^5.11.9",
"@react-google-maps/api": "^2.18.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"bootstrap": "^5.2.3",
"chart.js": "^4.2.1",
"formik": "^2.2.9",
"highcharts": "^10.3.2",
"iconify": "^1.4.0",
"localforage": "^1.10.0",
"lodash": "^4.17.21",
"match-sorter": "^6.3.1",
"react": "^18.2.0",
"react-bootstrap": "^2.7.2",
"react-chartjs-2": "^5.2.0",
"react-dom": "^18.2.0",
"react-router-bootstrap": "^0.26.2",
"react-router-dom": "^6.8.1",
"react-router-hash-link": "^2.4.3",
"react-scripts": "5.0.1",
"react-slider": "^2.0.4",
"recharts": "^2.4.3",
"sort-by": "^1.2.0",
"web-vitals": "^2.1.4",
"xlsx": "https://cdn.sheetjs.com/xlsx-0.19.2/xlsx-0.19.2.tgz",
"yup": "^1.0.2"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@iconify/react": "^4.1.0",
"assert": "^2.0.0",
"buffer": "^6.0.3",
"process": "^0.11.10",
"stream-http": "^3.2.0",
"url": "^0.11.0"
}
}
Before opening, please confirm:
App Id
d2zkpy9s6mky8z
AWS Region
us-west-1
Amplify Hosting feature
Frontend builds
Describe the bug
I am trying to deploy a React frontend app, but keep running into this error: npm error code E401 Incorrect or missing password.
Expected behavior
Frontend build completes successfully and app is deployed.
Reproduction steps
Build Settings
Log output
Additional information
No response