frontarm / navi

🧭 Declarative, asynchronous routing for React.
https://frontarm.com/navi/
MIT License
2.07k stars 71 forks source link

React Navi is failing in codesandbox.io #180

Closed OnkelTem closed 4 years ago

OnkelTem commented 4 years ago
  1. Go to codesandbox.io
  2. Create a React+TS sandbox
  3. Add two depedencies: navi and react-navi
  4. Add any import from those.
  5. Get the error from TSLint:

Cannot find module 'react-navi'.ts(2307)

Demo: https://codesandbox.io/s/react-navi-ts-problem-dnk0f?file=/src/App.tsx

I was not sure about the origin of this problem, so I reported first in the codesandbox issue queue: https://github.com/codesandbox/codesandbox-client/issues/3940 and then here, so that you @jamesknelson would know.

Ideas?

MichaelDeBoey commented 4 years ago

codesandbox/codesandbox-client#3940 is closed

OnkelTem commented 4 years ago

It has been fixed magically at the Codesandbox side.