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
Since the contents of #2070 had occurred, when I upgraded the version of @sls-next/[email protected] , this error occurred. next-i18next is not used and ./next-i18next.config.js does not exist.
It also doesn't implement localization.
I hope that the information of those who are in the same state will be posted.
Actual behavior
Expected behavior
Steps to reproduce
Screenshots/Code/Configuration/Logs
console log
$ node --version
v16.13.0
$ npx next --version
Next.js v12.0.4
$ npx serverless --stage=production
error:
TypeError: Cannot read properties of undefined (reading 'next-i18next')
at NextI18nextIntegration.isPackagePresent (/root/.serverless/components/registry/npm/@sls-next/[email protected]/node_modules/@sls-next/core/dist/build/third-party/integration-base.js:22:46)
at async NextI18nextIntegration.execute (/root/.serverless/components/registry/npm/@sls-next/[email protected]/node_modules/@sls-next/core/dist/build/third-party/next-i18next.js:15:13)
at async Promise.all (index 1)
at async Builder.runThirdPartyIntegrations (/root/.serverless/components/registry/npm/@sls-next/[email protected]/node_modules/@sls-next/lambda-at-edge/dist/build.js:430:9)
at async Promise.all (index 9)
at async Builder.build (/root/.serverless/components/registry/npm/@sls-next/[email protected]/node_modules/@sls-next/lambda-at-edge/dist/build.js:406:9)
at async NextjsComponent.build (/root/.serverless/components/registry/npm/@sls-next/[email protected]/node_modules/@sls-next/serverless-component/dist/component.js:165:13)
at async NextjsComponent.default (/root/.serverless/components/registry/npm/@sls-next/[email protected]/node_modules/@sls-next/serverless-component/dist/component.js:22:13)
at async fn (/workspace/node_modules/@serverless/template/utils.js:280:41)
at async Promise.all (index 0)
FROM node:16.13.0
RUN apt-get update
RUN apt-get install git curl vim -y
RUN apt-get clean
RUN curl -o- -L https://yarnpkg.com/install.sh | sh
RUN yarn install
EXPOSE 5000
Issue Summary
Since the contents of #2070 had occurred, when I upgraded the version of
@sls-next/[email protected]
, this error occurred.next-i18next
is not used and./next-i18next.config.js
does not exist.It also doesn't implement localization.
I hope that the information of those who are in the same state will be posted.
Actual behavior
Expected behavior
Steps to reproduce
Screenshots/Code/Configuration/Logs
console log
./serverless.yml
./Dockerfile
./package.json # only devDependencies
The text was updated successfully, but these errors were encountered: