hi there, I’m new to vaadin 14 and try to following training to build a vaadin 14 project.
I got error when running the exercises project (Downloaded on training page, at layouting part) by following the tutorial (https://vaadin.com/learn/tutorials/import-maven-project-intellij-idea) and documentation,
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @vaadin/vaadin-time-picker@2.0.4.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of '@vaadin/flow-deps'
npm ERR! notarget
I npm install @vaadin/vaadin-time-picker
now I got another dependency miss matching version error
npm ERR! code ETARGET
npm ERR! notarget No matching version found for chownr@^1.1.2
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'cacache'
npm ERR! notarget
I didn’t make any changes on package.json
file, only manually install date picker package
{
"name": "no-name",
"license": "UNLICENSED",
"dependencies": {
"@polymer/polymer": "3.2.0",
"@vaadin/flow-deps": "./target/frontend",
"@vaadin/vaadin-time-picker": "^1.2.2",
"@webcomponents/webcomponentsjs": "^2.2.10"
},
"devDependencies": {
"compression-webpack-plugin": "3.0.1",
"copy-webpack-plugin": "5.1.0",
"raw-loader": "3.0.0",
"webpack": "4.30.0",
"webpack-babel-multi-target-plugin": "2.3.3",
"webpack-cli": "3.3.10",
"webpack-dev-server": "3.9.0",
"webpack-merge": "4.2.2"
},
"vaadinAppPackageHash": "..."
}
npm version 6.14.5
node version v13.8.0
all vaadin 14 projects I downloaded got some dependency version matching error on npm install, I tried remove package.json & node_modules, none of them works.
any ideas for this?
cheers!