Comments (7)
@sindresorhus still getting this error, it may be something to do with timing I think, but I'm not sure:
error: Cannot read property 'optOut' of null
error: TypeError: Cannot read property 'optOut' of null
at Object.Configstore.get (/Users/nexus/Public/igloo/node_modules/update-notifier/node_modules/configstore/configstore.js:85:17)
at UpdateNotifier.check (/Users/nexus/Public/igloo/node_modules/update-notifier/index.js:36:18)
at module.exports (/Users/nexus/Public/igloo/node_modules/update-notifier/index.js:115:17)
at /Users/nexus/Public/igloo/lib/boot/update-notifier.js:14:24
at Function._.each._.forEach (/Users/nexus/Public/igloo/node_modules/underscore/underscore.js:87:22)
at Function.<anonymous> (/Users/nexus/Public/igloo/lib/boot/update-notifier.js:13:9)
at next (/Users/nexus/Public/eskimo/node_modules/bootable/lib/initializer.js:45:15)
at next (/Users/nexus/Public/eskimo/node_modules/bootable/lib/initializer.js:46:9)
at Initializer.run (/Users/nexus/Public/eskimo/node_modules/bootable/lib/initializer.js:52:3)
at Function.app.boot (/Users/nexus/Public/eskimo/node_modules/bootable/lib/index.js:42:23)
Looks to be a problem with configstore
and the .yml
files perhaps?
from update-notifier.
I'm wondering if update-notifer is still be maintained (or active) - I've not heard any activity on issues I've raised in recent months.
from update-notifier.
Yes, just tickets overflow...
This too might have been fixed by upgrading configstore 152396c I've seen this error before on another project.
I'll try to get out a new release soon after some testing.
from update-notifier.
@sindresorhus cheers.
from update-notifier.
this occured to me as well when using cluster
(by accident I had on production mode and ran it to discover this err).
from update-notifier.
fixed by #34 according to @niftylettuce
available as 0.1.9
from update-notifier.
I still have this issue on 0.3.2. Same as @niftylettuce above. Sometimes it'll say Cannot read property of 'lastUpdateCheck' of null
instead.
from update-notifier.
Related Issues (20)
- use @vercel/ncc build HOT 1
- why do i have to optout by default? HOT 1
- Audit error High
- Setting up for Angular project HOT 1
- Notification is only displayed at most once per interval HOT 3
- Run in child process instead of lazy loading every dependency HOT 4
- `update-notifier` has 88 dependencies HOT 1
- Notify Option to show Changelog in default message. HOT 4
- Dependency update HOT 1
- Dependency update "boxen" HOT 2
- Node v9 support HOT 1
- CVE-2022-33987 HOT 2
- Fix tests on Linux HOT 1
- Switch to `esmock`
- UpdateNotifierClass export missing since v6 HOT 2
- Cannot use namespace 'ConfigStore' as a type. with version 5.1.0 HOT 1
- Tilde folder name blocks backup HOT 1
- semver vulnerable to Regular Expression Denial of Service HOT 1
- [FR] Support pnpm HOT 1
- Support commonJS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from update-notifier.