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

Installing problem on cpanel/nodevenv #500

Open
beshoo opened this issue Apr 14, 2022 · 0 comments
Open

Installing problem on cpanel/nodevenv #500

beshoo opened this issue Apr 14, 2022 · 0 comments

Comments

@beshoo
Copy link

beshoo commented Apr 14, 2022

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.

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

1 participant