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 '../typings/lib'. #3

Open
numerized opened this issue Jul 28, 2017 · 5 comments
Open

Cannot find module '../typings/lib'. #3

numerized opened this issue Jul 28, 2017 · 5 comments

Comments

@numerized
Copy link

Thanks a lot for this JSON-EDITOR,

I'm really happy I can reuse my old schema in angular2 but the following bug happens.

Version(if relevant): 1.0.0

Latest
"schema-based-json-editor": "^5.0.0"

Environment(if relevant):

Ionic 3.6.0

Error:

The following error appears 6 times:
typescript: node_modules/schema-based-json-editor/angular.d.ts, line: 7
Cannot find module '../typings/lib'.

   L6:  schema: common.Schema;
   L7:  initialValue: common.ValueType;
   L8:  updateValue: EventEmitter<common.ValidityValue<string | number | boolean | any[] | {

And the next one, one time:
typescript: node_modules/schema-based-json-editor/common.d.ts, line: 1
File '/Users/numerized/Work/00_Github/vitapp-ionic2-couch-editor/node_modules/src/lib.d.ts' not found.

@plantain-00
Copy link
Owner

This is a release script bug, v5.0.1 should fix this.

@numerized
Copy link
Author

I looks like yes! so fast!

now this one still here:

typescript: node_modules/schema-based-json-editor/common.d.ts, line: 1
File '/Users/numerized/Work/00_Github/vitapp-ionic2-couch-editor/node_modules/src/lib.d.ts' not found.

   L1:  import * as toNumber from "lodash.tonumber";
   L2:  import * as toInteger from "lodash.tointeger";

@numerized
Copy link
Author

I deleted

/// <reference path="../src/lib.d.ts" />

from

node_modules/schema-based-json-editor/common.d.ts

It looks ok now

@plantain-00
Copy link
Owner

v5.0.2 just delete that, it should be OK now.

@numerized
Copy link
Author

I've installed 5.0.2 and yes it's ok
Thanks a lot !

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

No branches or pull requests

2 participants