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

Error: Cannot find module 'update-notifier' #546

Closed
oliviaoddo opened this issue Apr 9, 2018 · 9 comments
Closed

Error: Cannot find module 'update-notifier' #546

oliviaoddo opened this issue Apr 9, 2018 · 9 comments

Comments

@oliviaoddo
Copy link

My ci build broke, which installs react-static globally on each build. I ran into this error:

Error: Cannot find module 'update-notifier'

I installed update-notifier globally to fix it for now.

@arlair
Copy link
Contributor

arlair commented Apr 9, 2018

I think this has been fixed in this merge: d713141

@peirceb
Copy link

peirceb commented Apr 9, 2018

Same here. 5.5.12 seems to be the last working release.
I had to install update-notifier in my app to get npm run build to work for the time being.

@rohmanhm
Copy link

rohmanhm commented Apr 10, 2018

I also ran into this problem.

I tried to run

react-static create

But it throws an error

image

Environment

  • Ubuntu@16.04
  • react-static@5.7.1

@ryan-hamblin
Copy link

ryan-hamblin commented Apr 10, 2018

I ran into this this evening. I globally installed update-notifier then I had to install the dep locally as well.

After this it built with warnings.

@tannerlinsley
Copy link
Contributor

tannerlinsley commented Apr 10, 2018 via email

@tannerlinsley
Copy link
Contributor

Fixed in latest version

@rodrigopandini
Copy link

Same here. To works, I had to install update-notifier globally via npm first. yarn install globally seems not working in anyway.
So, run
npm install -g update-notifier
npm install -g react-static // or yarn add global react-static

@rohmanhm
Copy link

@rodrigopandini Try to update your react-static to the latest version. I think it's already fixed.

@rodrigopandini
Copy link

@rohmanhm Thank you.
With react-static@5.7.6 is working now.

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

7 participants