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.

[BUG]: error TS1127: Invalid character in MenuService

See original GitHub issue

I’m submitting a

  • Regression (a behavior that used to work and stopped working in a new release)
  • Bug report
  • Enhancement
  • Feature request
  • Documentation issue or request

Description

Received the following error :

ERROR in …/node_modules/ngx-editor/lib/modules/menu/menu.service.d.ts:6:5 - error TS1127: Invalid character. #private;

I was following the instructions in the ReadMe and simply installed the package and imported NgxEditorModule in the app Module.

import { NgxEditorModule } from 'ngx-editor';

and got the above error.

Version Information

ngx-editor: 7.0.0 (received the same error on v6+)
angular: 9.0.0

Browser

  • Chrome - 88.0.x
  • Mozilla Firefox - x.x.x
  • Opera - x.x.x
  • Microsoft Edge - x.x.x

NOTE: Replace x.x.x with your version information

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
vibhorebhatnagarcommented, Feb 8, 2021

@sibiraj-s v8.0.0-beta.7 worked for me! Thanks!

0reactions
github-actions[bot]commented, May 22, 2022

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in the thread.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Typescript error TS1127 when compiling #48583 - GitHub
Bug Report Search Terms Error TS1127 Invalid character Error TS1005 expected TS1128: Declaration or statement expected Version ...
Read more >
how to solve angular error TS1127: Invalid character
RestApiService - I believe the code is copy-pasted for which it might be having some invisible characters making the compiler to throw error....
Read more >
Tv on Twitter: "Current level of javascript ecosystem ...
"error TS1127: Invalid character" from text in comments, error message fails to point at location ·... Describe the bug There's probably two ...
Read more >
Typescript invalid character error #130 - Issuehunt
Invalid character. TS1127 3 | import { OnDidChangeCallback, Options, Unsubscribe, Schema, OnDidAnyChangeCallback } from './types'; 4 | declare class Conf<T ...
Read more >
TypeScript errors and how to fix them
To fix the problem you have to update the reference path to point to another declaration file: index.d.ts ... TS1127. error TS1127: Invalid...
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