Skip to content

Cannot read property 'useCaseSensitiveFileNames' of null #155

Closed

Description

@basarat

With TypeScript latest parseJsonConfigFileContent will throw an error:

TypeError: Cannot read property 'useCaseSensitiveFileNames' of null

Here is the call :

var parsed = parseJsonConfigFileContent(config, null, '');

Activity

  1. self-assigned this
    on Jul 7, 2016
  2. changed the title [-]With TypeScript latest [/-] [+]Cannot read property 'useCaseSensitiveFileNames' of null[/+] on Jul 7, 2016
  3. rolandjitsu commented on Jul 26, 2016

    @rolandjitsu

    @basarat has this been solved? I seem to be having the same issue.

  4. basarat commented on Jul 26, 2016

    @basarat
    MemberAuthor

    @rolandjitsu yes. Fixed since version 1.0.0 🌹

  5. rolandjitsu commented on Jul 26, 2016

    @rolandjitsu

    @basarat ok, thanks. I think it might be that some other package is referencing an older version. I'm using Ionic 2, and one of their npm packages uses this package, but it seems it's at version ^0.14.1.

  6. rolandjitsu commented on Jul 26, 2016

    @rolandjitsu

    Now I get the following:

    Caught exception:
     Error: ENOENT: no such file or directory, realpath '/Users/rolandjitsu/Projects/infarm/operator/node_modules/typescript/lib/lib.es7.d.ts'
        at Error (native)
        at Object.realpathSync (fs.js:1574:18)
        at /Users/rolandjitsu/Projects/infarm/operator/node_modules/ionic-gulp-browserify-typescript/node_modules/tsify/index.js:62:38
        at Array.map (native)
        at DestroyableTransform.flush [as _flush] (/Users/rolandjitsu/Projects/infarm/operator/node_modules/ionic-gulp-browserify-typescript/node_modules/tsify/index.js:62:6)
        at DestroyableTransform.<anonymous> (/Users/rolandjitsu/Projects/infarm/operator/node_modules/ionic-gulp-browserify-typescript/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:115:49)
        at DestroyableTransform.g (events.js:286:16)
        at emitNone (events.js:86:13)
        at DestroyableTransform.emit (events.js:185:7)
        at prefinish (/Users/rolandjitsu/Projects/infarm/operator/node_modules/ionic-gulp-browserify-typescript/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:465:12) 

    Is tsify referencing that file somewhere?

  7. rolandjitsu commented on Jul 26, 2016

    @rolandjitsu

    Ooops, my bad, I was referencing that file. Sorry 👍

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions