-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Update sage 9.x dependencies #2572
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
Conversation
|
Thanks for your good job! Seems that there is some warning during install :)
|
|
@atoupet-toki: During install indeed some warnings appear. But I can't find the bootstrap one (and I selected bootstrap as framework). Have you installed the latest sage 9.x? |
|
@strarsis I just tried once again. I dont know if there were some cache but I got a few warnings but no bootstrap on my side too! :) |
|
I did a similar effort last week based on 9.0.9 and noticed that the following versions needs to be in place for - "file-loader": "^6.2.0",
+ "file-loader": "^1.1.6",
- "resolve-url-loader": "^3.1.2",
+ "resolve-url-loader": "~2.3.1",I am today merging an old Sage 8 theme to 9.0.10 and am seeing the same as last week: Assets compile with the aforementioned changed package versions. What I am working on now is far from being ready so I can't say anything about how things actually look. Apologies if I'm mistaken, but that's what I'll have to stick to for the time being. |
|
i can confirm that having file-loader and resolve-url-loader at the higher versions in this commit (6.2.0 & 3.1.2 respectively) breaks the build process if you have any image files referenced in the CSS. it was breaking specifically for me in slick.js pulling in a background image
reverting file-loader and resolve-url-loader to previous versions and the build process works again
… On Nov 11, 2020, at 8:15 AM, jokanane ***@***.***> wrote:
I did a similar effort last week based on 9.0.9 and noticed that the following versions needs to be in place for background-image('../images/svg/file.svg'); to work:
- "file-loader": "^6.2.0",
+ "file-loader": "^1.1.6",
- "resolve-url-loader": "^3.1.2",
+ "resolve-url-loader": "~2.3.1",
I am today merging an old Sage 8 theme to 9.0.10 and am seeing the same as last week:
Module not found: Error: Can't resolve...
Assets compile with the aforementioned changed package versions. What I am working on now is far from being ready so I can't say anything about how things actually look.
Apologies if I'm mistaken, but that's what I'll have to stick to for the time being.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#2572 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AA7P2J5MIUKQD5REFM2BN6LSPKMBRANCNFSM4TIBNM6A>.
|
|
Same happens here. After some research, we need the latests versions of nodeJS for the new dependencies ... |
|
@atoupet-toki: You can use a node version manager like |
|
@strarsis Thank you I used once nvm but never heard from .nvmrc files. I'll take a look at the whole thing thanks for the info! |
|
@atoupet-toki: Besides the usefulness of |
|
PR for fixes in sage 9: #2603 |
This PR updates the dependencies of sage 9.x as far as possible without breaking the build process.
All dependencies have been updated as much as possible without breaking the build process or introducing too many configuration changes.
Related PR: #2569