Closed FairyPenguin closed 1 year ago
OK I just fixed it with this PR: https://github.com/jessepollak/card/pull/586 Do a git pull again.
@melloware
yes npm install worked, but npm run development get this error
❰mahmoud❙~/Desktop/Python/HTML_CSS/Link Tree Profile/card(git≠master)❱✔≻ npm run development 18:23:18
card@2.5.4 development webpack-dev-server --hot --inline
[webpack-cli] Error: Unknown option '--inline' [webpack-cli] Run 'webpack --help' to see available commands and options
Yep you might have to do some work to update the webpack demo. I updated all the dependencies and got the build working.
Errors are everywhere, and the project needs a lot of work to be updated and help others start contributing I fixed the Webpack problem and get the dev running and then faced a [Cannot GET /] error, I tried many solutions but nothing succeed.
`❰mahmoud❙~/Desktop/Python/HTML_CSS/Link Tree Profile/card(git≠✱master)❱✘≻ npm run development 19:30:39
card@2.5.4 development webpack-dev-server --hot
[webpack-dev-server] Project is running at: [webpack-dev-server] Loopback: http://localhost:8080/ [webpack-dev-server] On Your Network (IPv4): http://192.168.0.103:8080/ [webpack-dev-server] Content not from webpack is served from '/home/mahmoud/Desktop/Python/HTML_CSS/Link Tree Profile/card/public' directory asset card.js 173 KiB [emitted] [minimized] (name: main) 1 related asset runtime modules 27.3 KiB 13 modules orphan modules 18.8 KiB [orphan] 8 modules modules by path ./node_modules/ 215 KiB 32 modules modules by path ./src/ 42.1 KiB ./src/coffee/card.coffee 12.6 KiB [built] [code generated] ./src/scss/card.scss 2.48 KiB [built] [code generated] ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!./src/scss/card.scss 26.9 KiB [built] [code generated] webpack 5.75.0 compiled successfully in 7382 ms
asset jquery.card.js 173 KiB [emitted] [minimized] (name: main) 1 related asset runtime modules 27.3 KiB 13 modules orphan modules 18.8 KiB [orphan] 8 modules modules by path ./node_modules/ 215 KiB 32 modules modules by path ./src/ 42.9 KiB modules by path ./src/coffee/.coffee 13.5 KiB ./src/coffee/jquery.card.coffee 896 bytes [built] [code generated] ./src/coffee/card.coffee 12.6 KiB [built] [code generated] modules by path ./src/scss/.scss 29.4 KiB ./src/scss/card.scss 2.48 KiB [built] [code generated] ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!./src/scss/card.scss 26.9 KiB [built] [code generated] external "jQuery" 42 bytes [built] [code generated] webpack 5.75.0 compiled successfully in 7054 ms `
At least if we can get the first steps working smoothly so we can focus on the main code, it will be great.
can you post what you did to get the webpack working or submit a PR?
OK i fixed it had to move examples
directory to public
. Do a git pull
can you post what you did to get the webpack working or submit a PR?
Of course, I will do a PR, give me minutes
and thank you @melloware for your patience and help.
I actually got it working so let me know if it works for you.
I actually got it working so let me know if it works for you.
Yeah, it's working finally
I will work on the colors variables and do a PR
I forked the repo and cloned it to my local and after I reach the step of run npm install I get this errors
After that, I get a list of errors here is the complete log of this run (file)
2022-12-02T02_28_13_317Z-debug-0.log