Trying to use the primeblock download I just bought and build the application, results in the following error:
npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: primeblocks-vue@2.0.0
npm ERR! Found: primeicons@4.1.0
npm ERR! node_modules/primeicons
npm ERR! primeicons@"^4.1.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer primeicons@"^5.0.0" from primevue@3.9.1
npm ERR! node_modules/primevue
npm ERR! primevue@"^3.8.2" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/bjorntj/.npm/eresolve-report.txt for a full report.
I was kind of expecting software I pay for, just should work.....
Running npm install fails
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Hi,
I think NPM is warning to update to PrimeIcons 5.
What are your PrimeVue and PrimeIcons versions? We've released 3.9.1 last week which requires PrimeIcons 5.
Regards,
Cagatay Civici
PrimeTek
I think NPM is warning to update to PrimeIcons 5.
What are your PrimeVue and PrimeIcons versions? We've released 3.9.1 last week which requires PrimeIcons 5.
Regards,
Cagatay Civici
PrimeTek
I do not have any versions... All I have done, is to unpack the zip file I downloaded (primeblocks-vue-2.0.0.zip), unzipped it and trying to run "npm install" where I unzipped the file, like it says in the README.md file and kind of expecting this to just work out of the box!
PrimeFaces 11.x | PrimeVue 3.x | Spring Boot 2.7.x | Undertow | Mojarra 2.3.x
Mac OS, Firefox and Chromium
Mac OS, Firefox and Chromium
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
I see, PrimeVue and PrimeIcons are updated after PrimeBlocks v2 so npm is warning for peer dependencies. Let me check and get back to you asap.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Please try;
1) Remove node_modules.
2) Replace your package.json with the following; (just updates PrimeVue and Icons)
3) npm install
4) npm run serve
5) Visit http://localhost:8080/
1) Remove node_modules.
2) Replace your package.json with the following; (just updates PrimeVue and Icons)
Code: Select all
{
"name": "primeblocks-vue",
"version": "2.0.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
},
"dependencies": {
"core-js": "3.6.5",
"primeflex": "3.1.0",
"primeicons": "5.0.0",
"primevue": "3.9.1",
"prismjs": "1.15.0",
"vue": "3.1.5",
"vue-router": "^4.0.0-0"
},
"devDependencies": {
"@vue/cli-plugin-babel": "~4.5.0",
"@vue/cli-plugin-eslint": "~4.5.0",
"@vue/cli-service": "~4.5.0",
"@vue/compiler-sfc": "3.1.5",
"babel-eslint": "^10.1.0",
"eslint": "^6.7.2",
"eslint-plugin-vue": "^7.0.0",
"node-sass": "^4.12.0",
"sass-loader": "^8.0.2"
}
}
4) npm run serve
5) Visit http://localhost:8080/
Already tried that but that just gives me other errors.... When I buy thing, I am kind of expecting this to just work, without me having to work to get it to work.......
https://www.codepile.net/pile/aEb3m2q4
https://www.codepile.net/pile/aEb3m2q4
PrimeFaces 11.x | PrimeVue 3.x | Spring Boot 2.7.x | Undertow | Mojarra 2.3.x
Mac OS, Firefox and Chromium
Mac OS, Firefox and Chromium
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
What are the other errors? The setup above worked fine for me.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
1) What is your node version installed in your system?
2) Can you please replace;
with
followed by;
- Remove node_modules and then;
2) Can you please replace;
Code: Select all
"node-sass": "^4.12.0",
Code: Select all
"sass": "^1.26.5",
- Remove node_modules and then;
Code: Select all
npm install