-
-
Notifications
You must be signed in to change notification settings - Fork 484
Bug in bootstrap v4, alpha 3: cannot find 'bootstrap' in node_modules #112
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
Comments
I have the same problem after upgrading |
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. |
I'm waiting for update |
Need to support alpha 3 |
Had the same problem. |
I'm seeing the issue and trying to fix this one. |
Coming out in alpha v4! |
I have the same problem,Waiting too!!! |
yup, looks like it's been fixed - mdo says it'll be in the alpha-3 patch (expected in the next week ) |
Our app is fubar'd in IE on alpha-2 due to twbs/bootstrap#17310, need support for alpha-3, anxiously awaiting this fix! |
Downgrading to bootstrap alpha 2 does not resolve the issue for me, I still get a module not found. repo for reference |
@borysn Make sure you are not using |
@justin808 thanks for the reply. npm link is not being used, at least I don't think so? I didn't set that up anywhere. My .bootstraprc file is picked up fine. Here's a debug trace... 12% building modules 23/114 modules 91 active ...ode_modules/bootstrap-loader/no-op.js[bootstrap-loader]: bootstrap-loader is using config file at
/home/p3pt/dev/java/projects/spring-boot-angular2/master/sba2-wip/frontend/.bootstraprc
[bootstrap-loader]: Hey, we're in DEBUG mode because you have
your config log level set to 'debug'.
[bootstrap-loader]: Query from webpack config: *none*
[bootstrap-loader]: Using Bootstrap module: bootstrap
[bootstrap-loader]: resolveModule error is Error: Cannot find module 'bootstrap' from '/home/p3pt/dev/java/projects/spring-boot-angular2/master/sba2-wip/frontend/node_modules/bootstrap-loader/lib/utils'
at Function.module.exports [as sync] (/home/p3pt/dev/java/projects/spring-boot-angular2/master/sba2-wip/frontend/node_modules/resolve/lib/sync.js:33:11)
at exports.default (/home/p3pt/dev/java/projects/spring-boot-angular2/master/sba2-wip/frontend/node_modules/bootstrap-loader/lib/utils/resolveModule.js:10:23)
at Object.module.exports.pitch (/home/p3pt/dev/java/projects/spring-boot-angular2/master/sba2-wip/frontend/node_modules/bootstrap-loader/lib/bootstrap.loader.js:111:54)
at LOADER_EXECUTION (/home/p3pt/dev/java/projects/spring-boot-angular2/master/sba2-wip/frontend/node_modules/loader-runner/lib/LoaderRunner.js:95:14)
at runSyncOrAsync (/home/p3pt/dev/java/projects/spring-boot-angular2/master/sba2-wip/frontend/node_modules/loader-runner/lib/LoaderRunner.js:96:4)
at /home/p3pt/dev/java/projects/spring-boot-angular2/master/sba2-wip/frontend/node_modules/loader-runner/lib/LoaderRunner.js:146:3
at loadLoader (/home/p3pt/dev/java/projects/spring-boot-angular2/master/sba2-wip/frontend/node_modules/loader-runner/lib/loadLoader.js:36:3)
at iteratePitchingLoaders (/home/p3pt/dev/java/projects/spring-boot-angular2/master/sba2-wip/frontend/node_modules/loader-runner/lib/LoaderRunner.js:140:2)
at runLoaders (/home/p3pt/dev/java/projects/spring-boot-angular2/master/sba2-wip/frontend/node_modules/loader-runner/lib/LoaderRunner.js:326:2)
at NormalModule.doBuild (/home/p3pt/dev/java/projects/spring-boot-angular2/master/sba2-wip/frontend/node_modules/webpack/lib/NormalModule.js:125:2)
at NormalModule.build (/home/p3pt/dev/java/projects/spring-boot-angular2/master/sba2-wip/frontend/node_modules/webpack/lib/NormalModule.js:173:15)
at Compilation.buildModule (/home/p3pt/dev/java/projects/spring-boot-angular2/master/sba2-wip/frontend/node_modules/webpack/lib/Compilation.js:127:9)
at /home/p3pt/dev/java/projects/spring-boot-angular2/master/sba2-wip/frontend/node_modules/webpack/lib/Compilation.js:303:10
at /home/p3pt/dev/java/projects/spring-boot-angular2/master/sba2-wip/frontend/node_modules/webpack/lib/NormalModuleFactory.js:63:13
at NormalModuleFactory.applyPluginsAsyncWaterfall (/home/p3pt/dev/java/projects/spring-boot-angular2/master/sba2-wip/frontend/node_modules/tapable/lib/Tapable.js:123:70)
at onDoneResolving (/home/p3pt/dev/java/projects/spring-boot-angular2/master/sba2-wip/frontend/node_modules/webpack/lib/NormalModuleFactory.js:38:11)
at onDoneResolving (/home/p3pt/dev/java/projects/spring-boot-angular2/master/sba2-wip/frontend/node_modules/webpack/lib/NormalModuleFactory.js:135:6)
at /home/p3pt/dev/java/projects/spring-boot-angular2/master/sba2-wip/frontend/node_modules/webpack/lib/NormalModuleFactory.js:130:7
at /home/p3pt/dev/java/projects/spring-boot-angular2/master/sba2-wip/frontend/node_modules/async/lib/async.js:726:13
at /home/p3pt/dev/java/projects/spring-boot-angular2/master/sba2-wip/frontend/node_modules/async/lib/async.js:52:16
at async.forEachOf.async.eachOf (/home/p3pt/dev/java/projects/spring-boot-angular2/master/sba2-wip/frontend/node_modules/async/lib/async.js:236:30)
at _parallel (/home/p3pt/dev/java/projects/spring-boot-angular2/master/sba2-wip/frontend/node_modules/async/lib/async.js:717:9)
at Object.async.parallel (/home/p3pt/dev/java/projects/spring-boot-angular2/master/sba2-wip/frontend/node_modules/async/lib/async.js:731:9)
at /home/p3pt/dev/java/projects/spring-boot-angular2/master/sba2-wip/frontend/node_modules/webpack/lib/NormalModuleFactory.js:123:12
at /home/p3pt/dev/java/projects/spring-boot-angular2/master/sba2-wip/frontend/node_modules/async/lib/async.js:726:13
at /home/p3pt/dev/java/projects/spring-boot-angular2/master/sba2-wip/frontend/node_modules/async/lib/async.js:52:16
at done (/home/p3pt/dev/java/projects/spring-boot-angular2/master/sba2-wip/frontend/node_modules/async/lib/async.js:246:17)
at /home/p3pt/dev/java/projects/spring-boot-angular2/master/sba2-wip/frontend/node_modules/async/lib/async.js:44:16
at /home/p3pt/dev/java/projects/spring-boot-angular2/master/sba2-wip/frontend/node_modules/async/lib/async.js:723:17
at /home/p3pt/dev/java/projects/spring-boot-angular2/master/sba2-wip/frontend/node_modules/async/lib/async.js:167:37
[bootstrap-loader]: Bootstrap module location (abs): false |
@borysn Any luck? Be sure that you specify an exact reference for the version of bootstrap. Don't use the |
@justin808 i got it going, answered in another thread. Thank you for the reply though (: |
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
and then throws this error:
Any help would be much appreciated!
Phil
The text was updated successfully, but these errors were encountered: