sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: create-react-app
Issue: Module parse failed: Unexpected token
Labels: stale,needs triage,issue: bug report

### Describe the bug

```
Module parse failed: Unexpected token (3:55)
File was processed with these loaders:
 * ./node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
import _regeneratorRuntime from"/data_b/work/gitlab-runner/builds/622b053b/0/lala/test/node_modules/babel-preset-react-app/node_modules/@babel/runtime/regenerator";import _objectSpread from"/data_b/work/gitlab-runner/builds/622b053b/...
```
occur a fatal error when building production version, but development correctly;  :( ...

it seems to generated code of babel has error,  between 'from' and  '"/data_b/work/gitlab-runn' in error message haven't blank????
Repository: PowerToys
Issue: Context menu to copy from markdown preview pane
Labels: Idea-Enhancement,Help Wanted,Status-In progress,Product-File Explorer,Cost-Small

### Description of the new feature / enhancement

The File Explorer preview pane for markdown do nothing when selecting text and right click on it.
It'll be great if it is possible to do copy text (and copy link/image) from markdown preview pane.

### Scenario when this would be used?

Copying text / image / links while previewing markdown documents!

### Supporting information

Like the context menu for Microsoft Word document in the preview pane.

Edit: This also applies to Monoco preview.
Repository: vscode
Issue: Proxy Credentials Popup not showing
Labels: feature-request,proxy


Issue Type: <b>Bug</b>

Hey guys,

i entered a proxy in settings.json http.proxy.
I don't want to store my credentials in clear text so after pressing turn sync service on with github i wanted to wait for the credentials popup for proxies. But it is not coming. Instead there comes an error: Proxy authentication required.

How can i fix this?

VS Code version: Code - Insiders 1.59.0-insider (379476f0e13988d90fab105c5c19e7abc8b1dea8, 2021-08-04T22:04:52.121Z)
OS version: Windows_NT x64 10.0.17763
Restricted Mode: No

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz (4 x 2496)|
|GPU Status|2d_canvas: enabled<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>oop_rasterization: enabled<br>opengl: enabled_on<br>rasterization: enabled<br>skia_renderer: enabled_on<br>video_decode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled|
|Load (avg)|undefined|
|Memory (System)|7.79GB (2.17GB free)|
|Process Argv||
|Screen Reader|no|
|VM|0%|
</details>Extensions: none<details>
<summary>A/B Experiments</summary>

```
vsliv695:30137379
vsins829:30139715
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30291494
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30291487
pythontb:30258533
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
pythonvsuse255:30319630
vscod805:30301674
pythonvspyt200:30323110
vsccppwt:30312692
pythonvssor306:30340298
bridge0708:30335490
pygetstartedc:30346832
dockerwalkthru:30346918

```

</details>

<!-- generated by issue reporter -->
Repository: pytorch
Issue: Support `torch.linalg.einsum`
Labels: feature,triaged,module: linear algebra

## 🚀 Feature
Support `torch.linalg.einsum`.

cc @jianyuh @nikitaved @pearu @mruberry @heitorschueroff @walterddr @IvanYashchuk @xwang233 @Lezcano @rgommers @pmeier @asmeurer @leofang @AnirudhDagar @asi1024 @emcastillo @kmaehashi

## Motivation & Pitch

Python Array API proposes the use of `linalg.einsum` among other linear algebra functions. Currently, PyTorch supports the same functionality with `torch.einsum`. Array-API Ops tracker (#58742) lists a few aliases and it would be nice to add an alias `torch.linalg.einsum` to `torch.einsum` making it compliant with Array API.

## Discussion
Array-API still has a [TODO](https://data-apis.org/array-api/latest/API_specification/linear_algebra_functions.html#einsum) for `einsum`. However, I guess we can still add the alias because it will still go in the `linalg` namespace. Maybe @rgommers can comment here before I go ahead. Thanks!

## Additional context

* [Python Array API linalg.einsum](https://data-apis.org/array-api/latest/extensions/linear_algebra_functions.html#linalg-einsum)
Repository: tensorflow
Issue: Inconsistent eager/tf.function behavior for rank 0 shape in tf.reshape
Labels: stat:awaiting tensorflower,type:bug,comp:ops,TF 2.9

**System information**
- Have I written custom code (as opposed to using a stock example script provided in TensorFlow): yes
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 20.04
- TensorFlow installed from (source or binary): binary
- TensorFlow version (use command below): 2.5.0
- Python version: 3.8

**Describe the current behavior**

The eager version of `tf.reshape` takes a rank 0 tensor as a shape parameter while the jitted (`tf.function` decorated) does not.

**Describe the expected behavior**

It should be consistent, either fail in both or allow in both. To be consistent with other methods, I think it should fail in both.

**[Contributing](https://www.tensorflow.org/community/contribute)**

- Do you want to contribute a PR? (yes/no): maybe
- Briefly describe your candidate solution(if contributing): raise an error, such as done in other methods like `tf.random.uniform`

**Standalone code to reproduce the issue**
[executable example here](https://colab.research.google.com/drive/15wQJVDzEHc5puK6twrV9HzxcdWZWZPtC?usp=sharing)

```
import tensorflow as tf

def func():
    return tf.reshape([[42]], 1)


func_jit = tf.function(func=func)

func()  # works
func_jit()  # fails
```
Repository: rust
Issue: Incorrect help message in internal compiler error
Labels: A-diagnostics,T-compiler,D-diagnostic-infra

I'm compiling a crate called `sc-client-db`. Compilation failed with the message:

```
cargo test --all-features -p sc-client-db                                                                                                                                 101 ↵
   Compiling sc-client-db v0.10.0-dev (/Users/marek/projects/ethcore/substrate/client/db)
error: internal compiler error: encountered incremental compilation error with evaluate_obligation(3cc87741171218cf-9046f54b55f4b568)
  |
  = help: This is a known issue with the compiler. Run `cargo clean -p sc_client_db` or `cargo clean` to allow your project to compile
  = note: Please follow the instructions below to create a bug report with the provided information
  = note: See <https://github.com/rust-lang/rust/issues/84970> for more information
```

Compiler incorrectly suggests to run command

```
cargo clean -p sc_client_db
```

instead of

```
cargo clean -p sc-client-db
```
Repository: electron
Issue: [Feature Request]: Please Add backdrop-filter support to be used with transparent window (so to recreate fluent design acrylic material)
Labels: enhancement :sparkles:

### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a feature request that matches the one I want to file, without success.

### Problem Description

I tried using 

```css
body {
    background-color: #0000002f;
    -webkit-backdrop-filter: blur(8px);
}
```
And the `background-color` worked but the `-webkit-backdrop-filter` didn't.

### Proposed Solution

being able to blur the window background by `-webkit-backdrop-filter`

### Alternatives Considered

[This package](https://github.com/arkenthera/electron-vibrancy/blob/master/README.md) seem to be helpful but it is deprecated and there is no linux support ...

### Additional Information

I am sure that with the fluent design trend, more devs may want to follow this design pattern, so this feature will be absolutely necessary.
Repository: material-ui
Issue: [Autocomplete] Can't pass styles to dropdown menu items
Labels: new feature,component: autocomplete

<!-- Provide a general summary of the issue in the Title above -->
I don't know if this is a bug or if it's something I am doing wrong but I would appreciate some feedback on this, I've been pulling my hair with this for a couple of days now.

I am using v5 beta1 release (my codesandbox link is on beta2 release), and I would like to customize the options in the dropdown menu, specifically the states when the user hovers over an item or navigates through the list with the arrows. I haven't been able to use any of the traditionally used states like `:hover, :focused etc` or the Material UI ones `ie .Mui-selected` to do what I want. I have tried targeting the list item in various ways, either by targeting the option using the `.MuiAutocomplete-option` class or through global overrides but none of them worked, I also tried the listbox but that didn't work either. 

Not sure if I explained myself well enough, please contact me if more info is needed
<!--
  Thank you very much for contributing to Material-UI by creating an issue! ❤️
  To avoid duplicate issues we ask you to check off the following list.
-->

<!-- Checked checkbox should look like this: [x] -->

- [x] The issue is present in the latest release.
- [x] I have searched the [issues](https://github.com/mui-org/material-ui/issues) of this repository and believe that this is not a duplicate.

## Steps to Reproduce 🕹
https://codesandbox.io/s/combobox-material-demo-forked-brqux?file=/demo.js
Repository: youtube-dl
Issue: cc.com (The Daily Show 'Summer Exclusives')
Labels: site-support-request

<!--

######################################################################
  WARNING!
  IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################

-->


## Checklist

<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:
- First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2021.06.06. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED.
- Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.
- Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
- Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates.
- Finally, put x into all relevant boxes (like this [x])
-->

- [x] I'm reporting a new site support request
- [x] I've verified that I'm running youtube-dl version **2021.06.06**
- [x] I've checked that all provided URLs are alive and playable in a browser
- [x] I've checked that none of provided URLs violate any copyrights
- [x] I've searched the bugtracker for similar site support requests including closed ones


## Example URLs

<!--
Provide all kinds of example URLs support for which should be included. Replace following example URLs by yours.
-->

- Single video: https://www.cc.com/collection-playlist/8b7hw5/the-daily-shows-summer-exclusives/o2qny3
- Single video: https://www.cc.com/collection-playlist/8b7hw5/the-daily-shows-summer-exclusives/2lof3b
- Playlist: 

## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

Videos play OK in Firefox.  But youtube-dl just downloads the HTML, with no video content
Repository: angular
Issue: "Go To NgModule" in Language Service
Labels: feature,area: language-service,feature: under consideration

### Which @angular/* package(s) are relevant/releated to the feature request?

language-service

### Description

We should have a right-click -> "Go to declaring NgModule" option for components

### Proposed solution

As above

### Alternatives considered

-
Repository: react
Issue: [DevTools Bug]: React Devtools on Firefox initially shows an empty (blank) component tree
Labels: Type: Bug,Status: Unconfirmed,Component: Developer Tools

### Website or app

https://reactjs.org/

### Repro steps

1. Go to any site built with React.js 
2. Open the React Devtools from the firefox developer tools window.
3. There will be an empty component when **Components** tab is selected
4. Now refresh the page to see the component tree getting populated inside the **Components** tab.

Windows Version - Windows 10 21H1
Firefox Version - v90.0.2 (64-bit)

Attaching a GIF of the issue while visiting reactjs.org - 
![O7VSagSc5l](https://user-images.githubusercontent.com/32711472/128354658-47665f4e-9fc4-479b-b16b-08c92c277376.gif)



### How often does this bug happen?

Every time

### DevTools package (automated)

_No response_

### DevTools version (automated)

_No response_

### Error message (automated)

_No response_

### Error call stack (automated)

_No response_

### Error component stack (automated)

_No response_

### GitHub query string (automated)

_No response_
Repository: flutter
Issue: [macos] e2e tests for macOS embedding
Labels: a: tests,engine,platform-mac,a: desktop,P2,team-macos,triaged-macos

Currently there aren't any end to end tests for macOS. These would've caught some of the common issues that have crept up over time. This issue is a request for a couple of scenarios that should be tested:

1. External textures when using OpenGL and Metal. This could be tested by using the video player plugin.
2. Repainting while resizing. This needs to be tested both on Metal and OpenGL.
3. Modal dialogs, this can be tested using the file explorer plugin.

The issues that these tests would've prevented:

* https://github.com/flutter/flutter/issues/86932
* https://github.com/flutter/flutter/issues/87353

and a few others..
Repository: PowerToys
Issue: keyboard remap for powershell scripts/programs
Labels: Idea-Enhancement,Product-Keyboard Shortcut Manager

### Description of the new feature / enhancement

I would like to run certain powershell scripts / other apps with keyboard shortcuts. I know windows offers such a feature but it is slow and opens the shell window for scripts. Other functionality like toggling certain things with the same shortcut like switching between 2 audio devices could also be implemented. I am hoping for a faster and cleaner implementation as compared to what windows natively offers.

### Scenario when this would be used?

the possibilities are endless as one can write a script for basically anything 

### Supporting information

_No response_
Repository: create-react-app
Issue: Whatever I try to install using npm install command like npm install express,npm install body-parserer,npm install mysql ,etc..It throws an  E404 error.
Labels: stale,needs triage,issue: bug report

npm ERR! code E404
npm ERR! 404 Not Found - GET https://github.com/npm/npm-registry-couchapp/mysql - Not Found
npm ERR! 404
npm ERR! 404  'mysql@*' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
Repository: pytorch
Issue: Enable fft  support for mobile builds
Labels: enhancement,module: android,oncall: mobile,module: arm,module: fft

Base on the conversation in https://github.com/pytorch/pytorch/pull/60976#issuecomment-893347471 it would be good to enable FFT operation support for PyTorchLite builds by default

cc @malfet @mruberry @peterbell10 @walterddr
Repository: angular
Issue: Docs on package.json vs project/foo/package.json (and their lockfiles)
Labels: state: needs eng input,P3,area: docs

### Description

The [Creating Library guide](https://angular.io/guide/creating-libraries) is totally absent any information on package.json and dependencies.

Currently the library creation guide advocates creating a workspace for every library.

```sh
ng new my-workspace --create-application=false
cd my-workspace
ng generate library my-lib
```

This will give you two package.json files, **and also two lockfiles**

* `my-workspace/package.json`
* `my-workspace/projects/my-lib/package.json`

There is no information differentiating these two.

On [StackOverflow there is advice](https://stackoverflow.com/questions/50189589/angular-cli-6-where-to-put-library-dependencies) to put in dependencies that people have to have to use your library in the `my-workspace/projects/my-lib/package.json` under the projects directory, and to put the dependencies that you need to develop the library in `./package.json`, but this doesn't explicitly address _how_ you can ever have one and not the other in tested functionality.

More succiently, if a user needs a library to run the library in `my-workspace/projects/my-lib/package.json` won't the developer also need it in `my-workspace/package.json` so it can be available to `ng build`, and `ng test`? Do we have to manually keep these in sync? **Is there ever a reason to have a dependency in `my-workspace/projects/my-lib/package.json` but not in `my-workspace/package.json`**? Is `npm install --save` not useful for Angular libraries (it only adds to the `package.json` in the toot of the repo and leaves the files in packages/ out of sync).

My experience with this workspace structure leads me to believe a greater discussion should be had about whether or not this is even good idea. It's very confusing to have reputable tools like `@semantic-release` (which seem even semi-official) not even support multiple libraries in one workspace when the cli and docs make this sound like a routine practice. It also feels like the cli should be updated to make single-library-per-repo the default, and to restructure this such that there is only ever one package.json and one package in the default configuration.

### What is the affected URL?

https://angular.io/guide/creating-libraries
Repository: node
Issue: Emit a warning if process exits with unsettled modules?
Labels: errors,esm

Here's a simple ES module with top-level await:

```js
console.log('before');

await new Promise(() => {});

console.log('after');

```

Executing it only prints `before` and then exits with code `13`.

I don't know where the exit code is set, but it seems that we actually detect that the promise representing the module's execution never settles.
Could we emit/print a warning when it happens? Ideally it could contain the path to the problematic module.
Repository: TypeScript
Issue: Quick info shouldn't default to showing jsdoc from first overload
Labels: Suggestion,Needs Proposal

https://github.com/microsoft/TypeScript/issues/43053

This is still happening at least with the `tap` function from `rxjs`. VSCode 1.58.2. TS version in project: 4.3.5

Deprecation warning shows up regardless of which overloaded signature you use. Should not show up for the last two signatures.

```
import { interval } from 'rxjs';
import { tap } from 'rxjs/operators';

interval(5000)
  .pipe(
     tap(console.log), // "deprecated - Use an observer instead of a complete callback"
     tap({ next: console.log, error: console.log, complete: console.log }) // "deprecated
  )
```

`rxjs/tap.d.ts`:
```
import { MonoTypeOperatorFunction, PartialObserver } from '../types';
/** @deprecated Use an observer instead of a complete callback */
export declare function tap<T>(next: null | undefined, error: null | undefined, complete: () => void): MonoTypeOperatorFunction<T>;
/** @deprecated Use an observer instead of an error callback */
export declare function tap<T>(next: null | undefined, error: (error: any) => void, complete?: () => void): MonoTypeOperatorFunction<T>;
/** @deprecated Use an observer instead of a complete callback */
export declare function tap<T>(next: (value: T) => void, error: null | undefined, complete: () => void): MonoTypeOperatorFunction<T>;
export declare function tap<T>(next?: (x: T) => void, error?: (e: any) => void, complete?: () => void): MonoTypeOperatorFunction<T>;
export declare function tap<T>(observer: PartialObserver<T>): MonoTypeOperatorFunction<T>;
```
Repository: PowerToys
Issue: [Runner] Update tray menu to WinUI 2.6 style
Labels: Area-Runner,Area-User Interface,UI refresh

 Is it possible/necessary to update tray menu style to WinUI 2.6/Win11 layout?

(And maybe adding icons too.)

---

@niels9001
Repository: TypeScript
Issue: Type widening for T or Promise<T>
Labels: Suggestion,In Discussion

# Bug Report

### 🔎 Search Terms

Type widening, promise, generic type widening.

### 🕗 Version & Regression Information

This is the behavior in every version I tried.

### ⏯ Playground Link

[Playground link](https://www.typescriptlang.org/play?#code/PTAEHkGkC4CgVAWmS1b0ebeYAuALASwGdQTQAnAUwHMBXAGwEMLQA3Ki4wgewDsyuULiYBrKqADKATQByAYVAAzOnwDGuXgKak1TBgwBGTNaNi4AngAcJ8w6AC8oADwAlKqSoAPXFT4ATUmJcCkI+GgA+AAo1Q2hQKIBKRwjQd2Jkh1T07DV+YNAmeLtHUABvAF9C0iY+CwBubARCIQB3HgpRUlaW-FBZcGFrCR7-PzCaIZtQHiVhAEYyUgAieeXYPL4C3EWnJiiklPLYUEoqXDoKAQByeevGisTG82HQOwAmUrcPUG9fAKCIQm0Vi8UOWVAAAUKDwALYkKjfYgRTKpaFwhFIiK5fJCOJvQyfJyVaqFOrPBD6Yg8UB8GmWaajcbhAA0Uwks2En3I6PhxERq2W2M22yJoEMUR0FnUCVRx1O1AuV1At3usEeFLAkNc4AAQgAZACiAFk4AhMBbLShsAzbIYAMxfdK-Hx+QKgYKhcKgAA+UJhfMRnuBIPx4OyHjlOQ2uNAamKDtKJJ0ZIaTTwRFI-n41zahDGAgIEltbNtMzmuHti3IgpjWyEld2cYOcrKJzOSpudweT3T4roQnwnAk5CLoCsMMMDCosNLr05le5pF5mOD4WFscXpTUkuI0rUsqObYV50uXbVGqAA)

### 💻 Code

```ts
type Cb3 = <Res extends string | Promise<string>>(cb: () => Res) => Res

const c: Cb3 = {} as any;

// this don't widen the type, type of t31 is "1"
const t31 = c(() => {
  return '1';
});

// but here is the problem, type of t32 is Promise<string>
const t32 = c(async () => {
  return '1';
});
```

### 🙁 Actual behavior

Type of `t32` is  `Promise<string>`

### 🙂 Expected behavior

Type of `t32` is `Promise<"1">`, by analogy with type of `t31`
Repository: PowerToys
Issue: Can we add a "Paste to Keyboard" feature to Keyboard Manager?
Labels: Idea-Enhancement,Product-Keyboard Shortcut Manager

### Description of the new feature / enhancement

It's a good thing you guys didn't just call it Keyboard Key remapper or something narrow so it should fit nicely into the category and the feature I'm asking for is super simple. There are occasions where an app or website doesn't have a context menu, or they have disabled it for various reasons, and this by extension removes the all mighty "paste" feature. By adding a "Paste to Keyboard" we can have the keyboard simply type out the most recent content from the clipboard as if someone were typing it out themselves. I currently use Autohotkey (Ctrl+Shift+V) to do this, but I would love to see it in PowerToys. One less 3rd party app for a simple function. 

### Scenario when this would be used?

It's super useful in not having to retype something over and over again when the typical paste or (Ctrl+v) feature isn't available. OR even better, it could be used to allow for randomizing passwords for local applications, much like the web and password managers. 

### Supporting information

_No response_