Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make update fails #172

Open
jmcgranahan opened this issue Dec 19, 2023 · 1 comment
Open

make update fails #172

jmcgranahan opened this issue Dec 19, 2023 · 1 comment

Comments

@jmcgranahan
Copy link

EZPaarse will not start with the latest update on an Amazon Linux 2023 ARM server. It's giving the following error when trying to run "make update":

> [email protected] build
> nuxt build --no-generate

Nuxt 3.8.2 with Nitro 2.8.1                                         9:22:05 AM

 ERROR  Cannot read properties of undefined (reading 'options')     9:22:07 AM

  at axiosModule (node_modules/@nuxtjs/axios/lib/module.js:12:13)
  at installModule (node_modules/@nuxt/kit/dist/index.mjs:2439:101)
  at async initNuxt (node_modules/nuxt/dist/index.mjs:3702:7)
  at async loadNuxt (node_modules/nuxt/dist/index.mjs:3789:5)
  at async Module.loadNuxt (node_modules/@nuxt/kit/dist/index.mjs:2584:19)
  at async Object.run (node_modules/nuxi/dist/chunks/build.mjs:73:18)
  at async runCommand$1 (node_modules/nuxi/dist/shared/nuxi.4fde776c.mjs:1648:16)
  at async runCommand$1 (node_modules/nuxi/dist/shared/nuxi.4fde776c.mjs:1639:11)
  at async runMain$1 (node_modules/nuxi/dist/shared/nuxi.4fde776c.mjs:1773:7)



 ERROR  Cannot read properties of undefined (reading 'options')     9:22:07 AM

make[1]: *** [Makefile:137: build-nuxt] Error 1
make[1]: Leaving directory '/apps/ezpaarse'
make: *** [Makefile:175: pull] Error 4

Tried running this command: npm i -g nuxt, but same result when re-running make update. Please advise.

@nojhamster
Copy link
Contributor

Hi there, sorry for the late response ! This error seems to result from an incorrect version of nuxt. ezPAARSE depends on Nuxt 2, but the version 3 has been installed for some reason, and that causes @nuxtjs/axios to fail due to an incompatibility.

The command npm i -g nuxt may have installed the version 3 of Nuxt globally, however this version should not have an effect since ezPAARSE ships with its own version. Did you notice any error during the installation of ezPAARSE dependencies ? You can reinstall them with the command make libs (which is also part of make and make update).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants