Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Bootstrap file is not being shown on after npm install bootstrap@5.3.0-alpha3 #38482

Closed
BartBuczek opened this issue Apr 19, 2023 · 5 comments
Closed

Comments

@BartBuczek
Copy link

BartBuczek commented Apr 19, 2023

image

Hi, I'm a begginer and I've stumbled across a thing which I can't get over. I've installed the package.json and then the bootstrap dependency as you can see in the zip. My concern is that node_modules won't show bootstrap files even though they are actualy in the project. Could you help me overcome this issue?

funky (2).zip

@julien-deramond
Copy link
Member

Based on the screenshot, your package.json seems OK. If I use the same content and run npm i at the same level as this package.json, I have a node_modules directory created containing @popperjs (like you) but also bootstrap which should be the case.

In your javascript directory, you can try to re-run npm i.

@BartBuczek
Copy link
Author

nothing changed unfortunately :(

@BartBuczek
Copy link
Author

BartBuczek commented Apr 19, 2023

image
node_modules in file explorator contain bootstrap file. However it cannot be seen in the project.
(I've changed the file structure and hoped it would change anything but it didnt)

@julien-deramond
Copy link
Member

julien-deramond commented Apr 19, 2023

Changed a little bit, your installation with NPM now works correctly since Bootstrap is downloaded and in the node_modules directory. Now, you might have an issue while importing the content of Bootstrap in your project. You could check our Bootstrap examples to have something to start from (the one using Vite for instance where its content is explained in our docs step by step). It will be probably easier if you have no constraints with tools and technologies for your project.

@BartBuczek
Copy link
Author

thank you, can you tell me then which project fits bootstrap the best? I am curently using "ASP .NET Core - empty" however it contains this tools which you have mentioned.

@twbs twbs locked and limited conversation to collaborators Apr 20, 2023
@julien-deramond julien-deramond converted this issue into discussion #38484 Apr 20, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants