rspack icon indicating copy to clipboard operation
rspack copied to clipboard

[Bug Report]: package.json scripts don't run

Open asrvd opened this issue 2 years ago • 2 comments
trafficstars

System Info

System: OS: Windows 10 10.0.22621 CPU: (4) x64 11th Gen Intel(R) Core(TM) i3-1115G4 @ 3.00GHz Memory: 480.56 MB / 7.73 GB Binaries: Node: 16.16.0 - ~\scoop\apps\nodejs-lts\current\node.EXE npm: 8.11.0 - ~\scoop\apps\nodejs-lts\current\npm.CMD Browsers: Edge: Spartan (44.22621.1265.0), Chromium (110.0.1587.69) Internet Explorer: 11.0.22621.1

Details

The pnpm format:js or pnpm lint:js commands and all the scripts that use the pattern ./x ...... don't run, here's the error that I get, it's also preventing me from committing my changes as pre-commit hooks have format cmds.

image

image

Reproduce link

No response

Reproduce Steps

  1. Clone the repo, setup everything locally
  2. Run the command pnpm format:js or pnpm format:rs

asrvd avatar Mar 12 '23 10:03 asrvd

seems windows compat problem, you can run node ./x format js to bypass this problem, we're gonna fix windows problems later.

hardfist avatar Mar 12 '23 11:03 hardfist

node ./x format js

the thing is, pre-commit hooks are not letting me commit my changes, how am i supposed to make a pr?

asrvd avatar Mar 12 '23 12:03 asrvd

We have removed ./x file.

hyf0 avatar May 09 '23 07:05 hyf0