Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 3

2024-04-22T03:50:43.

043Z [INFO]: # Cloning repository:


git@github.com:Innovatube/zenta-commercial-web-frontend.git
2024-04-22T03:50:44.876Z [INFO]:
2024-04-22T03:50:44.877Z [INFO]: Cloning into 'zenta-commercial-web-frontend'...
2024-04-22T03:50:44.877Z [INFO]: # Switching to commit:
b3f3d28d8bf162fa9b8bdfe0909d437b5ac5e4c9
2024-04-22T03:50:44.894Z [INFO]: Note: switching to
'b3f3d28d8bf162fa9b8bdfe0909d437b5ac5e4c9'.
You are in 'detached HEAD' state. You can look
around, make experimental
changes and commit them, and you can discard any
commits you make in this
state without impacting any branches by switching
back to a branch.
If you want to create a new branch to retain
commits you create, you may
do so (now or later) by using -c with the switch
command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable
advice.detachedHead to false
HEAD is now at b3f3d28 Merge pull request #33 from
Innovatube/fix/build
2024-04-22T03:50:44.942Z [INFO]: Successfully cleaned up Git credentials
2024-04-22T03:50:44.942Z [INFO]: # Checking for Git submodules at:
/codebuild/output/src2706532007/src/zenta-commercial-web-frontend/.gitmodules
2024-04-22T03:50:44.949Z [INFO]: # Retrieving environment cache...
2024-04-22T03:50:44.987Z [WARNING]: ! Unable to write cache:
{"code":"ERR_BAD_REQUEST","message":"Request failed with status code 404"})}
2024-04-22T03:50:44.988Z [INFO]: ---- Setting Up SSM Secrets ----
2024-04-22T03:50:44.988Z [INFO]: SSM params
{"Path":"/amplify/d2wott9ebpy8o6/develop/","WithDecryption":true}
2024-04-22T03:50:45.056Z [WARNING]: !Failed to set up process.env.secrets
2024-04-22T03:50:46.006Z [INFO]: No live updates for this build run
2024-04-22T03:50:46.009Z [INFO]: # Retrieving cache...
2024-04-22T03:50:55.294Z [INFO]: # Extracting cache...
2024-04-22T03:51:01.763Z [INFO]: # Extraction completed
2024-04-22T03:51:01.968Z [INFO]: # Retrieved cache
2024-04-22T03:51:06.793Z [INFO]: ## Starting Backend Build
## Checking for associated backend environment...
## No backend environment association found,
continuing...
## Completed Backend Build
2024-04-22T03:51:06.800Z [INFO]: {"backendDuration": 0}
## Starting Frontend Build
# Starting phase: preBuild
# Executing command: yarn install
2024-04-22T03:51:08.788Z [INFO]: yarn install v1.22.19
2024-04-22T03:51:09.110Z [INFO]: [1/4] Resolving packages...
2024-04-22T03:51:17.873Z [WARNING]: warning @storybook/nextjs > @storybook/builder-
webpack5 > webpack-dev-middleware > memfs@3.6.0: this will be v4
2024-04-22T03:51:17.878Z [WARNING]: warning @storybook/nextjs > @storybook/builder-
webpack5 > fork-ts-checker-webpack-plugin > memfs@3.6.0: this will be v4
2024-04-22T03:51:18.929Z [WARNING]: warning @types/react-select@5.0.1: This is a
stub types definition. react-select provides its own type definitions, so you do
not need this installed.
2024-04-22T03:51:21.532Z [WARNING]: warning jest-environment-jsdom > jsdom >
abab@2.0.6: Use your platform's native atob() and btoa() methods instead
2024-04-22T03:51:21.538Z [WARNING]: warning jest-environment-jsdom > jsdom > data-
urls > abab@2.0.6: Use your platform's native atob() and btoa() methods instead
2024-04-22T03:51:21.549Z [WARNING]: warning jest-environment-jsdom > jsdom >
domexception@4.0.0: Use your platform's native DOMException instead
2024-04-22T03:51:23.252Z [INFO]: [2/4] Fetching packages...
2024-04-22T03:51:48.563Z [INFO]: [3/4] Linking dependencies...
2024-04-22T03:51:48.569Z [WARNING]: warning " > @testing-library/user-event@14.5.2"
has unmet peer dependency "@testing-library/dom@>=7.21.4".
warning "@storybook/nextjs > @pmmmwh/react-
refresh-webpack-plugin@0.5.11" has unmet peer dependency "webpack@>=4.43.0 <6.0.0".
warning "@storybook/nextjs > node-polyfill-
webpack-plugin@2.0.1" has unmet peer dependency "webpack@>=5".
warning "@storybook/nextjs > postcss-
loader@7.3.4" has unmet peer dependency "webpack@^5.0.0".
warning "@storybook/nextjs > style-
loader@3.3.4" has unmet peer dependency "webpack@^5.0.0".
warning "@storybook/nextjs > sass-
loader@12.6.0" has unmet peer dependency "webpack@^5.0.0".
2024-04-22T03:51:48.570Z [WARNING]: warning "@storybook/nextjs > babel-
loader@9.1.3" has unmet peer dependency "webpack@>=5".
2024-04-22T03:51:48.577Z [WARNING]: warning " > @testing-library/react-hooks@8.0.1"
has incorrect peer dependency "react@^16.9.0 || ^17.0.0".
2024-04-22T03:51:59.148Z [INFO]: [4/4] Building fresh packages...
2024-04-22T03:52:02.833Z [INFO]: success Saved lockfile.
2024-04-22T03:52:02.840Z [INFO]: $ husky
2024-04-22T03:52:02.925Z [INFO]: Done in 54.14s.
2024-04-22T03:52:03.002Z [INFO]: # Completed phase: preBuild
# Starting phase: build
# Executing command: yarn build
2024-04-22T03:52:03.169Z [INFO]: yarn run v1.22.19
2024-04-22T03:52:03.195Z [INFO]: $ next build
2024-04-22T03:52:04.004Z [INFO]: ▲ Next.js 14.1.4
2024-04-22T03:52:04.005Z [INFO]:
2024-04-22T03:52:04.081Z [INFO]: Creating an optimized production build ...
2024-04-22T03:52:14.126Z [WARNING]: Failed to compile.
2024-04-22T03:52:14.135Z [WARNING]:
./src/app/project/[projectId]/register-pdf/LeftSideBar.tsx
Module not found: Can't resolve
'@/contexts/workspaceRegisterPdfContext'
https://nextjs.org/docs/messages/module-not-
found
Import trace for requested module:

./src/app/project/[projectId]/register-pdf/page.tsx

./src/app/project/[projectId]/register-pdf/RightSideBar.tsx
Module not found: Can't resolve
'@/contexts/workspaceRegisterPdfContext'
https://nextjs.org/docs/messages/module-not-
found
Import trace for requested module:

./src/app/project/[projectId]/register-pdf/page.tsx

./src/app/project/[projectId]/register-pdf/layout.tsx
Module not found: Can't resolve
'@/contexts/workspaceRegisterPdfContext'
https://nextjs.org/docs/messages/module-not-
found

./src/app/project/[projectId]/register-pdf/page.tsx
Module not found: Can't resolve
'@/contexts/workspaceRegisterPdfContext'
https://nextjs.org/docs/messages/module-not-
found

./src/app/project/[projectId]/target-setting/step1/LeftSideBar.tsx
Module not found: Can't resolve
'@/contexts/workspaceTargetSettingContext'
https://nextjs.org/docs/messages/module-not-
found
Import trace for requested module:

./src/app/project/[projectId]/target-setting/step1/page.tsx
> Build failed because of webpack errors
2024-04-22T03:52:14.184Z [WARNING]: error Command failed with exit code 1.
2024-04-22T03:52:14.184Z [INFO]: info Visit https://yarnpkg.com/en/docs/cli/run for
documentation about this command.
2024-04-22T03:52:14.242Z [ERROR]: !!! Build failed
2024-04-22T03:52:14.242Z [INFO]: Please read more about Amplify Hosting's support
for SSR frameworks to find if your build failure is related to an unsupported
feature: https://docs.aws.amazon.com/amplify/latest/userguide/amplify-ssr-
framework-support.html. You may also find this troubleshooting guide useful:
https://docs.aws.amazon.com/amplify/latest/userguide/troubleshooting-ssr-
deployment.html
2024-04-22T03:52:14.242Z [ERROR]: !!! Error: Command failed with exit code 1
2024-04-22T03:52:14.242Z [INFO]: # Starting environment caching...
2024-04-22T03:52:14.242Z [INFO]: # Environment caching completed
Terminating logging...

You might also like