After introducing the rxjs module, the project starts with an error
ERROR in node_modules/rxjs/internal/types.d.ts(81,44): error TS1005: ‘;’ expected.
node_modules/rxjs/internal/types.d.ts(81,74): error TS1005: ‘;’ expected.
node_modules/rxjs/internal/types.d.ts(81,77): error TS1109: Expression expected.
How to solve this error?
You could update your project to TS 2.8You can pin your project to [email protected]
issue:
https://github.com/ReactiveX/rxjs/issues/4540
https://github.com/ReactiveX/rxjs/issues/4512
Read More:
- Vue+TS main.ts error: unused expression, expected an assignment or function call
- [Solved] Typescript installation TS node execution error
- NPM install error: Cannot find module ‘D:\zip\node_modules\npm\bin\npm-cli.js‘
- [Solved] TS Error: Could not find a declaration file for module
- [Solved] internal/modules/cjs/loader.js:892 ^Error: Cannot find module ‘C:\Users\LX\Desktop\Node_DEMO\a
- Error: uncaughtexception: cannot find module ‘internal / util / types’
- [Solved] error TS2584: Cannot find name ‘console’. Do you need to change your target library? Try changing the ‘lib’ compiler option to include ‘dom’.
- How to Solve Vscode terminal error (ts -v)
- [Solved] swiper Error: The requested module ‘react’ is expected to be of type CommonJS, which does not support named exports. CommonJS modules can be imported by importing the default export
- Vue require Error: node_modules/babel-loader/lib
- [Solved] Electron Error: Error: Electron failed to install correctly, please delete node_modules/electron and try
- [Solved] Angular Start Project Error: The target entry-point “ngx-echarts“ has missing dependencies: – @juggle/resi
- Angular Start Porject error: ERROR in The target entry-point “primeng/editor“ has missing dependencies:
- [Solved] error [email protected]: The engine “node” is incompatible with this module.
- Taro Install Error: permission denied, symlink ‘../lib/node_modules/@tarojs/cli/bin/taro‘ -> ‘/usr/local/bin/tar
- How to Fix Node SASS Error in Vue + webpack project after nodejs upgrade
- error: expected ‘;‘ at end of member declaration and expected ‘)‘ before ‘&‘ toke Errors
- C Language error: two or more data types in declaration specifiers
- C++ new types may not be defined in a return type Error?