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

missing dependancies for an happy npm run dev #94

Open
JOduMonT opened this issue Dec 15, 2023 · 0 comments
Open

missing dependancies for an happy npm run dev #94

JOduMonT opened this issue Dec 15, 2023 · 0 comments

Comments

@JOduMonT
Copy link

JOduMonT commented Dec 15, 2023

So I cloned your repo and I did manageto run it locally
But, as a non programmer is was a hard road ;)
image

firstly I did'nt found the doc for that
but you could tell me if I did well

my mini how to

  1. git clone ...
  • obviously copying the .env
  1. pnpm i
  • after fixing the missing dependancies ...
  1. npm run dev

fixing dependancies

I think you already addressed some how here but again; I'm not a dev.

FOR DEV: here how my package.json had to look like to make npm run dev happy

"dependencies": {
    "@intlify/vue-i18n-bridge": "^1.1.0",
    "@intlify/vue-router-bridge": "^1.1.0",
    "@stripe/stripe-js": "^2.2.1",
    "@vueform/slider": "^2.1.10",
    "@vueuse/core": "^10.7.0",
    "nuxi": "^3.10.0",
    "vue-i18n-routing": "^1.2.0"
  },
  • I installed them with: npm i vue-i18n @intlify/vue-router-bridge @intlify/vue-i18n-bridge vue-i18n-routing --force

image

FOR PROD: here how my package.json looks like so npm run build on Cloudflare as a Page works

  "dependencies": {
    "@intlify/core-base": "^9.8.0",
    "@intlify/message-compiler": "^9.8.0",
    "@intlify/shared": "^9.8.0",
    "@intlify/vue-i18n-bridge": "^1.1.0",
    "@intlify/vue-router-bridge": "^1.1.0",
    "@stripe/stripe-js": "^2.2.1",
    "@vueform/slider": "^2.1.10",
    "@vueuse/core": "^10.7.0",
    "vue-i18n": "^9.8.0",
    "vue-i18n-routing": "^1.2.0"
  },
  • and I had to run pnpm install --no-frozen-lockfile after too.

I hope that will help others to enjoy your project.

for Windows user who wonder how to install npm and pnpm

winget install -e --id pnpm.pnpm
winget install -e --id OpenJS.NodeJS.LTS
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