Skip to content

v5.13.2 regression - yarn generate fails in nuxt@1.4.5 #498

Closed
@RustamF1

Description

@RustamF1

nuxt@1.4.5
"@nuxtjs/axios" v5.13.2

 > [build-stage 6/6] RUN yarn generate:
#12 0.448 yarn run v1.22.4
#12 0.484 $ nuxt generate
#12 1.448 2021-05-18T06:07:14.818Z nuxt:generate Generating...
#12 1.465 2021-05-18T06:07:14.836Z nuxt: Call error hooks (1)
#12 1.501
#12 1.501  ERROR  Nuxt error
#12 1.501
#12 1.501   TypeError: Cannot read property 'push' of undefined
#12 1.501
#12 1.501   - module.js:41 ModuleContainer.axiosModule
#12 1.501     [app]/[@nuxtjs]/axios/lib/module.js:41:32
#12 1.501
#12 1.501   - module.js:162
#12 1.501     [app]/[nuxt]/lib/core/module.js:162:30
#12 1.501
#12 1.501   - new Promise
#12 1.501
#12 1.501   - module.js:146 ModuleContainer.addModule
#12 1.501     [app]/[nuxt]/lib/core/module.js:146:12
#12 1.501
#12 1.501   - utils.js:96
#12 1.501     [app]/[nuxt]/lib/common/utils.js:96:43
#12 1.501
#12 1.501   - task_queues.js:97 processTicksAndRejections
#12 1.501     internal/process/task_queues.js:97:5
#12 1.501
#12 1.501   - module.js:19 async ModuleContainer.ready
#12 1.501     [app]/[nuxt]/lib/core/module.js:19:5
#12 1.501
#12 1.501   - nuxt.js:60 async Nuxt.ready
#12 1.501     [app]/[nuxt]/lib/core/nuxt.js:60:5
#12 1.501
#12 1.501   - generator.js:55 async Generator.initiate
#12 1.501     [app]/[nuxt]/lib/builder/generator.js:55:5
#12 1.501
#12 1.501   - generator.js:40 async Generator.generate
#12 1.501     [app]/[nuxt]/lib/builder/generator.js:40:5
#12 1.501
#12 1.501
#12 1.516 error Command failed with exit code 1.
#12 1.516 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
------
executor failed running [/bin/sh -c yarn generate]: exit code: 1

stable v5.13.1- OK

[build-stage 6/6] : RUN yarn generate
yarn run v1.22.4
$ nuxt generate
2021-05-18T06:46:07.505Z nuxt:build App root: /app
2021-05-18T06:46:07.505Z nuxt:build Generating /app/.nuxt files...
2021-05-18T06:46:07.508Z nuxt:build Generating files...
2021-05-18T06:46:07.573Z nuxt:build Generating routes...
2021-05-18T06:46:07.619Z nuxt:build Building files...
....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions