Skip to content
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

Cannot find module './nativeFHIR'. after upgrading anuglar-cli #1

Open
oliveregger opened this issue Nov 24, 2017 · 2 comments
Open

Comments

@oliveregger
Copy link

I tried to run the ng-fhir-example, however I get the following errors:

npm install
npm WARN deprecated [email protected]: angular-cli has been renamed to @angular/cli. Please update your dependencies.
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

I updated the dependencies as suggested:
"npm uninstall --save-dev angular-cli"
"npm install --save-dev @angular/cli@latest"

and migrated angular-cli.json according to the description.

However when I want to build now the example I get the following error:

github/ng-fhir-example-2/node_modules/ng-fhir/FhirClient.d.ts (1,22): Cannot find module './nativeFHIR'

any ideas how to resolve this? any help greatly appreciated.

@bunyaminsg
Copy link
Owner

Hi @oliveregger,

I was not updating this package since the first versions of angular-cli. Now I updated it to the newer versions. Can you pull the changes and try it now?

Please don't forget to remove node modules (rm -rf node_modules) and run npm install again.

Thanks for reporting!

@oliveregger
Copy link
Author

Hi @bunyaminsg

It works now, thanks a lot!

Just minor comments: There are leftovers of angular-cli in package.json, and ng test does not run yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants