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.

Upgraded from 7.1.2 to 8.1.0 and now I’m getting the following errors.

[tsc] node_modules/navigo/index.d.ts(31,14): error TS2304: Cannot find name 'ONE'.
[tsc] node_modules/navigo/index.d.ts(31,20): error TS2304: Cannot find name 'ALL'.
[tsc] node_modules/navigo/index.d.ts(44,1): error TS1046: Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:33 (32 by maintainers)

github_iconTop GitHub Comments

1reaction
milesjecommented, Jan 13, 2021

never mind… now it is working as expected but I didn’t really do anything other than add a 3rd .on and another href and now they are working as expected.

1reaction
milesjecommented, Jan 13, 2021

@krasimir sorry that issue is caused by an update to mobx. To fix it add the following to the index.html file the root directory.

    <script>
      /*global globalThis*/
      globalThis.process = { env: { NODE_ENV: 'development' } };
    </script>
Read more comments on GitHub >

github_iconTop Results From Across the Web

Visual Studio complains about typescript errors that tsc and ...
I want vscode to report what tsc/eslint would, not decide its own type checking rules. How do I get rid of these errors?...
Read more >
8.1.0 - ts-node - npm
TypeScript execution environment and REPL for node.js, with source map support. Latest version: 10.9.1, last published: 5 months ago.
Read more >
TypeScript: file already exists, symlink & tsc command not ...
A quick note to gather the solution for solving "file already exists, symlink" and "tsc command not found".
Read more >
ts-node - NPM Package Overview - Socket.dev
Any error that is not a TSError is from node.js (e.g. SyntaxError ), and cannot be fixed by TypeScript or ts-node. These are...
Read more >
TypeScript Virtual Projects errors #3451 - Asp.Net Zero Support
Hi, I have a lot of error messages in Visual Studio. All errors come from TypeScript Virtual Projects. I would like using my...
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