OfficeDev / msteams-samples-hello-world-nodejs

Microsoft Teams hello world sample app in Node.js
MIT License
83 stars 169 forks source link

Npm Install fails #25

Open nehaagrawal opened 4 years ago

nehaagrawal commented 4 years ago

I clone this project and ran 'npm install' and I got below error. The issue seems to be with dependencies mentioned in package.lock.json. After deleting package.lock.json I was able to bypass the error. I guess package.lock.json needs to be updated.

$ npm install npm WARN deprecated hoek@6.1.3: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues. npm WARN deprecated hoek@2.16.3: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). npm WARN deprecated cryptiles@4.1.3: This module has moved and is now available at @hapi/cryptiles. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues. npm WARN deprecated boom@7.3.0: This module has moved and is now available at @hapi/boom. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues. npm WARN deprecated cryptiles@2.0.5: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). npm WARN deprecated constantinople@3.1.0: Please update to at least constantinople 3.1.1 npm ERR! code ETARGET npm ERR! notarget No matching version found for clean-css@>=4.4.11 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 'pug-filters' npm ERR! notarget

npm ERR! A complete log of this run can be found in:

shlomi-lachmish commented 4 years ago

looks that pr #24 should fix it

anandvnath commented 4 years ago

I ran into the same issue. Worked around it by updating pug version in package.json to latest. "pug": "^2.0.4"

petepuu commented 4 years ago

Thanks @anandvnath! Updating pug fixed the issue