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
NPM Install warnings / deprecated packages | Windows 10 #624
Comments
Sure thing @Thomas-A-Reinert please assign it to me so i don't forget 😜 |
Thanks a lot, dude. Learning a lot from your gulp-adjustitions atm ;) |
We need to do is upgrade to gulp v. 4.0 it seems to remove the deprecation warnings, but in doing so we will have to update the gulp file and check all the tasks |
So would you please as soon as you find the time? Thanks in advance! |
Yup, I'll look into it tonight and make a PR to review |
Happy to help here but me no have no Windows. Otherwise, let me know if / how to help. |
I'm about to finish up a complete refactored gulp file with cleaned up tasks, optimized for gulp4. Some steps are also required from the user, specifically removing gulp locally, and installing gulp-cli. Thorough testing is needed though, cuz I have no idea what implications this might have on other projects still using gulp 3.9. The gulp team is not holding up too good it seems. Anyways, I will post an update later tonight |
@axlright @Thomas-A-Reinert Please test and report back, with any questions, bugs, and errors you find. In order to get things to work, you'll have to remove gulp locally Then you have to install the new gulp-cli
Will gulp-cli in favor of gulp3.9.x break everything else? I don't know, let's find out Some tasks are missing? Yes, I removed them, what did they do? |
¡Hola! any testers available |
Ran from within the understap theme folder:
Final output:
All working. Despite the jQuery error. Adding "jquery": "^1.9" to the package.json then running |
@breath-ee jQuery is bundled directly with WordPress. Understrap calls it in as a dependency when enquing the main bootstrap javascript file so is available when needed :) |
It´s already bundled and enqueued by default by WordPress. All good - no need to add/change anything. |
Oh seems @pattonwebz was a bit faster. Anyway: Statement confirmed ;) |
Doh totally forgot about that! There must be a way to suppress that npm message. |
@breath-ee not really and you shouldn't. Best way to sort it is to add jquery as a peer dependency to the projects package.json |
As an update I just tried a fresh git clone, ran
Not sure if this is brew/osx issue: ⚠ The
Hopefully with a few more testers this gulp issue can be updated. |
I just want to inform everyone, that the real deprecation warnings has to do with gulp v3.9 in order to kill those gulp-cli, local gulp needs to be upgraded to latest. Package.son needs to be upgraded with newest deps. Deprecated packages needs to be replaced. Finally gulfile.js needs to be upgraded. Feel free to test my gulp4 branch |
I am still getting these in Terminal:
|
@dylannirvana since you we are not using any of the packages in the final dist of the theme you can ignore them. If you think otherwise feel free to |
New update to my gulp4 branch https://github.com/0dp/understrap/tree/gulp4 |
@0dp That is good news. I had the same terminal messages as @dylannirvana and spent ages trying to figure out what was going on. Thanks for all the work on this theme. |
New update to my gulp4 branch, now with Revision strategy. @holger1411 @Thomas-A-Reinert @axlright and who ever got a spare minute. Please test and review |
@0dp sorry for crapping the bed repeatedly over the past few months. I've been rebuiling my whole operations' time tracking and billing and accounting system. Tried to stay focused on that so I ignored my people over at UnderStrap. I'm close to finishing up all that other distracting work. And man is it boring. So I can hopefully move attention back to you all. Admittedly I am a total npm idiot. I can do what I'm told, though. Just cloned your repo and threw it into my local testing environment. All is well with some warnings that seem to be the same as always with WordPress Version: 4.9.6
Are the only warnings I get. No errors. |
All good fam. |
@0dp Worked for me, thanks for your help man! |
Holger created a branch called Gulp4 where i've been pushing a few updates |
New gulp4 PR #883 |
This comment was marked as off-topic.
This comment was marked as off-topic.
Yup. |
Issue is about..
Please tell us about your environment:
Issue Overview for Bugreports
Steps to reproduce?
console npm install
on windowsOutput:
Expected behavior
Clean install without warnings etc.
Yes, I know the
console npm WARN bootstrap@4.0.0 requires a peer of jquery@1.9.1 - 3 but none is installed. You must install peer dependencies yourself.
cannot be avoided. But maybe there´s a chance to leave a note or whatever that it´s included with WP anyways?Other Comments
Needs investigation by "Team Gulp". @0dp - would you be so kind to investigate? It would be REALLY awesome to have npm install running without any errors or warnings.
But hey I know - we don´t live in a perfect world ;) Just wanted to let you know to maybe improve the installation process in case you feel like
Note to "Team Documentation" - @holger1411 @axlright
console gulp copy assets
is run by default at the end of the installation process. So its not neccessary to mention that in the doc. Please remove.The text was updated successfully, but these errors were encountered: