question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot find module './withLastLocation'

See original GitHub issue

Following error occurs after updating to the current 2.0.0 version. Project uses the current create-react-app package:

node_modules/react-router-last-location/dist/index.d.ts:1:57 - error TS2307: Cannot find module './withLastLocation'.

1 import withLastLocation, { WithLastLocationProps } from './withLastLocation';

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
hinokcommented, Jul 7, 2019

@valentinpalkovic @olso

I published 2.0.1, the problem should be solved.

0reactions
hinokcommented, Jul 7, 2019

Glad to hear that, have a great end of the weekend!

Read more comments on GitHub >

github_iconTop Results From Across the Web

0 - Stack Overflow
Uncaught Error : Cannot find module './undefined' ; import axios from ; 'axios'; const ; BASE_URL = "http://localhost:5000/api" ; const Token ; " ......
Read more >
react-router-last-location - npm
Provides access to the last location in react + react-router (v4.x) apps. Useful for handling internal routing. Easily prevent leaving your ...
Read more >
cannot find module 'react-router-dom' or its ... - You.com
The answer here has react module missing but in my case it was my local module -- still, the error code is the...
Read more >
Solved: Cannot find module react : npm install - YouTube
Solved: Cannot find module react : npm install. 58K views 3 years ago React · CodeDocu Developer C# Asp Net Angular.
Read more >
[SOLVED] Cannot find module 'Module name" React js/Next js ...
Hello guys today in this video i'll show you to fix the error " Cannot find module...etc' follow the video above.Don't forget to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found