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

Uncaught TypeError: Cannot read property 'file' of null #105

Open
samunt opened this issue Feb 1, 2017 · 7 comments
Open

Uncaught TypeError: Cannot read property 'file' of null #105

samunt opened this issue Feb 1, 2017 · 7 comments

Comments

@samunt
Copy link

samunt commented Feb 1, 2017

Has been working fine for months. this morning I tried to autocompile and got this error. tried reinstalling, rebooting, but to no avail
/Users/sammy/.atom/packages/sass-autocompile/lib/sass-autocompile-view.coffee:143 TypeError: Cannot read property 'file' of null at SassAutocompileView.module.exports.SassAutocompileView.erroneousCompilation (/Users/sammy/.atom/packages/sass-autocompile/lib/sass-autocompile-view.coffee:143:24) at /Users/sammy/.atom/packages/sass-autocompile/lib/sass-autocompile.coffee:451:34 at Function.module.exports.Emitter.simpleDispatch (/Users/sammy/.atom/packages/sass-autocompile/node_modules/event-kit/lib/emitter.js:25:14) at Emitter.module.exports.Emitter.emit (/Users/sammy/.atom/packages/sass-autocompile/node_modules/event-kit/lib/emitter.js:125:28) at NodeSassCompiler.module.exports.NodeSassCompiler.onCompiled (/Users/sammy/.atom/packages/sass-autocompile/lib/compiler.coffee:602:26) at /Users/sammy/.atom/packages/sass-autocompile/lib/compiler.coffee:563:30 at /Users/sammy/.atom/packages/sass-autocompile/lib/compiler.coffee:469:21 at /Users/sammy/.atom/packages/sass-autocompile/lib/compiler.coffee:489:21 at ChildProcess.exithandler (child_process.js:209:7) at emitTwo (events.js:106:13) at ChildProcess.emit (events.js:191:7) at maybeClose (internal/child_process.js:877:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

@HannahSchott
Copy link

Were you able to fix the problem I got the same issue?

TypeError: Cannot read property 'file' of null
at SassAutocompileView.module.exports.SassAutocompileView.erroneousCompilation (/Users/Hannah/.atom/packages/sass-autocompile/lib/sass-autocompile-view.coffee:143:24)
at /Users/Hannah/.atom/packages/sass-autocompile/lib/sass-autocompile.coffee:451:34
at Function.module.exports.Emitter.simpleDispatch (/Users/Hannah/.atom/packages/sass-autocompile/node_modules/event-kit/lib/emitter.js:25:14)
at Emitter.module.exports.Emitter.emit (/Users/Hannah/.atom/packages/sass-autocompile/node_modules/event-kit/lib/emitter.js:125:28)
at NodeSassCompiler.module.exports.NodeSassCompiler.onCompiled (/Users/Hannah/.atom/packages/sass-autocompile/lib/compiler.coffee:602:26)
at /Users/Hannah/.atom/packages/sass-autocompile/lib/compiler.coffee:563:30
at /Users/Hannah/.atom/packages/sass-autocompile/lib/compiler.coffee:469:21
at /Users/Hannah/.atom/packages/sass-autocompile/lib/compiler.coffee:489:21
at ChildProcess.exithandler (child_process.js:209:7)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:877:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

@samunt
Copy link
Author

samunt commented Feb 3, 2017 via email

@HannahSchott
Copy link

Oh Boy... ok thanx though for the quick answer :)

@armin-pfaeffle
Copy link
Owner

armin-pfaeffle commented Feb 5, 2017

Hey together! Sorry for my late answer, having a lot to do at the moment.

Hm... Can you give me your node-sass verison? Go to terminal and enter node-sass --version.

Can you give me a description (or perhaps the corresponding files), so I can try to reproduce this error?!

@samunt
Copy link
Author

samunt commented Feb 7, 2017

node-sass 3.10.1 and libsass 3.3.5

@armin-pfaeffle
Copy link
Owner

I nearly have the same version. My libsass 3.3.6.

@armin-pfaeffle
Copy link
Owner

Can you give me a description (or perhaps the corresponding files), so I can try to reproduce this error?!

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

3 participants