Giter Site home page Giter Site logo

npm install errors about card HOT 10 CLOSED

FairyPenguin avatar FairyPenguin commented on July 3, 2024
npm install errors

from card.

Comments (10)

melloware avatar melloware commented on July 3, 2024

OK I just fixed it with this PR: #586
Do a git pull again.

from card.

FairyPenguin avatar FairyPenguin commented on July 3, 2024

@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

[email protected] development
webpack-dev-server --hot --inline

[webpack-cli] Error: Unknown option '--inline'
[webpack-cli] Run 'webpack --help' to see available commands and options

from card.

melloware avatar melloware commented on July 3, 2024

Yep you might have to do some work to update the webpack demo. I updated all the dependencies and got the build working.

from card.

FairyPenguin avatar FairyPenguin commented on July 3, 2024

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

[email protected] 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
`

image

from card.

FairyPenguin avatar FairyPenguin commented on July 3, 2024

At least if we can get the first steps working smoothly so we can focus on the main code, it will be great.

from card.

melloware avatar melloware commented on July 3, 2024

can you post what you did to get the webpack working or submit a PR?

from card.

melloware avatar melloware commented on July 3, 2024

OK i fixed it had to move examples directory to public . Do a git pull

from card.

FairyPenguin avatar FairyPenguin commented on July 3, 2024

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.

from card.

melloware avatar melloware commented on July 3, 2024

I actually got it working so let me know if it works for you.

from card.

FairyPenguin avatar FairyPenguin commented on July 3, 2024

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

from card.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.