Bluebaron
Bluebaron

Reputation: 2476

Angular import for local library not resolving paths properly

Sorry for such a noobish question. I'm trying to compile angular-auth-oidc-client to do some contrib, but the builds aren't finding the local library.

The imports for what is supposed to be a local library are obviously not there because it's the local library I'm testing.

import {
  OidcSecurityService, UserDataResult } from 'angular-auth-oidc-client';

But those don't exist because they ... weren't installed by npm?

Steps to reproduce:

git clone https://github.com/damienbod/angular-auth-oidc-client.git
cd angular-auth-oidc-client
npm i
npm run start

Upvotes: 0

Views: 78

Answers (1)

Bluebaron
Bluebaron

Reputation: 2476

It's a library in the angular.json. I had to run one of the scripts. Still don't like having to build it as an external source but at least I can debug.

npm run build

Upvotes: 0

Related Questions