bootstrap-loader: Bug in bootstrap v4, alpha 3: cannot find 'bootstrap' in node_modules
Hey,
Not sure if this is something I am doing wrong, but I have been using this loader for months now and noticed that with the latest patch, my bootstrap folder cannot be resolved anymore. I am using bootstrap 4 alpha 2 but now it doesn’t seem to be resolving the folder. When I run debug it goes to
[bootstrap-loader]: Using Bootstrap module: bootstrap.
and then throws this error:
./~/bootstrap-loader/lib/bootstrap.loader.js!./~/bootstrap-loader/no-op.js
[0] Module build failed: Error:
[0] Could not find path to 'bootstrap' module.
[0] Make sure it's installed in your 'node_modules/' directory.
[0]
[0] at Object.module.exports.pitch (/Users/philipchmalts/Documents/Development/if-planning/node_modules/bootstrap-loader/lib/bootstrap.loader.js:90:11)
[0] @ ./~/bootstrap-loader/loader.js 1:0-44
Any help would be much appreciated!
Phil
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 14
- Comments: 15 (4 by maintainers)
Missed that we had ^4.0.0-alpha.2 and it automatically updated to 3 which came out about 5 hours ago. That being said, this project doesn’t work with v3 because it seems bootstrap is missing the /dist/js/npm folder entirely. So roll back to alpha 2 for now until they get that figured out.
https://github.com/twbs/bootstrap/issues/20383
I have the same problem,Waiting too!!!
@borysn Make sure you are not using
npm link. You might want to specify the location of your .bootstraprc file.