question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Building my app with angular-cli and ng-bootstrap 2.1.0 yields

ERROR in ./node_modules/@ng-bootstrap/ng-bootstrap/datepicker/datepicker.module.js
Module not found: Error: Can't resolve './ngb-date-adapter' in 'myproject/node_modules/@ng-bootstrap/ng-bootstrap/datepicker'

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:19 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
takumi-hopplercommented, Sep 13, 2018

Hey guys, I’m having the same issue on ng-bootstrap v3.2.

Angular CLI: 6.2.1
Node: 6.14.4
OS: linux x64
Angular: 6.1.7
... animations, common, compiler, compiler-cli, core, forms
... http, platform-browser, platform-browser-dynamic
... platform-server, router, service-worker

I’m getting module not found error in all of ng-bootstrap module (accordion, alert, typeahead, etc.) I’ve tried deleting my node_modules folder and clearing npm cache but the problem persist.

Am I the only one having this problem?

2reactions
psenechalcommented, Jun 11, 2018

I completely removed my node_modules folder and reinstalled everything…no errors this time at all. All is well. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

PH43608: LOADING DATA FROM ONE AOT TO ANOTHER ...
Error description. When load data from AOT in IDAA V5 to another AOT in IDAA V7 by IDAA Loader, it corrupts many (...
Read more >
building a project including mdb pro for production with AoT
When building an angular 6 project including MDB Pro 6.1.1 downloaded through the zip and installed in the project as per the downloaded...
Read more >
Error: Cannot find module when using ng serve --aot
I migrated my angular project from 6 to 7, I'm using lazy loading mechanism to load the modules. But when i'm taking the...
Read more >
Release Notes 2.1 | Photon Engine
2.1.0. Breaking Changes. Unity: Editor code has been refactored and, to simplify future updates, some files have been merged. That means that any...
Read more >
ng build is failing for ADF 2.1.0 - Alfresco Hub
Hi, I am getting following error when I am trying to create prod build. Build is working fine with development target. Is this...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found