Skip to content

Installing problem on cpanel/nodevenv #500

Open
@beshoo

Description

@beshoo

Dear all,
Am on Cpanel/shared host space,
I logged into the SSH , then
source /home/beshoo/nodevenv/public_html/nuxt/16/bin/activate && cd /home/beshoo/public_html/nuxt

My package.json as follows

{
  "name": "aflamvip",
  "version": "1.0.0",
  "private": true,
  "scripts": {
    "dev": "node --max-old-space-size=3000 node_modules/nuxt/bin/nuxt.js dev",
    "build": "nuxt build",
    "start": "nuxt-start -h aflam.vip -port 49000",
    "generate": "nuxt generate",
    "lint:prettier": "prettier --check .",
    "lint": "npm run lint:prettier",
    "lintfix": "prettier --write --list-different ."
  },
  "dependencies": {
    "@nuxtjs/axios": "^5.13.6",
    "@nuxtjs/pwa": "^3.3.5",
    "@vitalets/google-translate-api": "^8.0.0",
    "core-js": "^3.19.3",
    "firebase": "^9.6.10",
    "hls.js": "^1.1.5",
    "hooper": "^0.3.4",
    "nuxt": "^2.13.3",
    "nuxt-start": "^2.15.8",
    "vue": "^2.6.14",
    "vue-carousel": "^0.18.0",
    "vue-plyr": "^6.0.4",
    "vue-server-renderer": "^2.6.14",
    "vue-slick-carousel": "^1.0.6",
    "vue-template-compiler": "^2.6.14",
    "vuetify": "^2.6.1",
    "webpack": "^5.72.0",
    "webtorrent": "^1.8.4"
  },
  "devDependencies": {
    "@nuxtjs/vuetify": "^1.12.3",
    "eslint-config-prettier": "^8.3.0",
    "prettier": "^2.5.1"
  }
}

The problem is when I want to run the build


> [email protected] build
> nuxt build


 WARN  [email protected] is installed but ^4.46.0 is expected                                                                                                               04:00:25

undefined                                                                                                                                                                04:00:25

 WARN  transition property is deprecated in favor of pageTransition and will be removed in Nuxt 3                                                                        04:00:25


 WARN  Module @nuxtjs/vuetify not found. Please ensure @nuxtjs/vuetify is in devDependencies and installed. HINT: During build step, for npm/yarn, NODE_ENV=production or --production should NOT be used.


 FATAL  Cannot find module '@nuxtjs/vuetify'              

I tried to install @nuxtjs/vuetify it says the following

[public_html/nuxt (16)] [beshoo@server3 nuxt]$ npm i @nuxtjs/vuetify

up to date, audited 1569 packages in 7s

152 packages are looking for funding
  run `npm fund` for details

15 vulnerabilities (7 moderate, 8 high)

To address all issues, run:
  npm audit fix

Run `npm audit` for details.

But I go to the @nuxtjs

 ls /home/beshoo/nodevenv/public_html/nuxt/16/lib/node_modules/@nuxtjs/
axios  proxy  pwa  youch

Nothing installed to the directory!

I deleted the node_modules, and then node install , but the same problem appear.
What should I do!
Thank you in advance.

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