You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm facing an issue with ts-node-dev and Yarn 2. Initially, I thought it was a Yarn 2 issue (also opened this issue at Yarn 2 repo), but it turns out that ts-node-dev is using Window paths after version 1.0.0-pre.65 and this is breaking on Linux machines.
More context (you can see the full context at Yarn 2 bug yarnpkg#2054:
Here is the output of yarn start:dev with Yarn 2.3.3:
execution-mode@budproj on feature/initial-setup [✘!?] via ⬢ v15.0.0 took 16s
❯ yarn start:dev
/home/odelucca/Code/odelucca/execution-mode@budproj/.pnp.js:15815
throw firstError;
^
Error: Qualified path resolution failed - none of the candidates can be found on the disk.
Source path: /home/odelucca/Code/odelucca/execution-mode@budproj/.yarn/$$virtual/ts-node-dev-virtual-eb89e14dc3/0/cache/ts-node-dev-npm-1.0.0-03ff9cc5a6-3e1064a042.zip/node_modules/ts-node-dev/lib\bin.js
Rejected candidate: /home/odelucca/Code/odelucca/execution-mode@budproj/.yarn/$$virtual/ts-node-dev-virtual-eb89e14dc3/0/cache/ts-node-dev-npm-1.0.0-03ff9cc5a6-3e1064a042.zip/node_modules/ts-node-dev/lib\bin.js
Rejected candidate: /home/odelucca/Code/odelucca/execution-mode@budproj/.yarn/$$virtual/ts-node-dev-virtual-eb89e14dc3/0/cache/ts-node-dev-npm-1.0.0-03ff9cc5a6-3e1064a042.zip/node_modules/ts-node-dev/lib\bin.js.js
Rejected candidate: /home/odelucca/Code/odelucca/execution-mode@budproj/.yarn/$$virtual/ts-node-dev-virtual-eb89e14dc3/0/cache/ts-node-dev-npm-1.0.0-03ff9cc5a6-3e1064a042.zip/node_modules/ts-node-dev/lib\bin.js.json
Rejected candidate: /home/odelucca/Code/odelucca/execution-mode@budproj/.yarn/$$virtual/ts-node-dev-virtual-eb89e14dc3/0/cache/ts-node-dev-npm-1.0.0-03ff9cc5a6-3e1064a042.zip/node_modules/ts-node-dev/lib\bin.js.node
at internalTools_makeError (/home/odelucca/Code/odelucca/execution-mode@budproj/.pnp.js:15559:34)
at resolveUnqualified (/home/odelucca/Code/odelucca/execution-mode@budproj/.pnp.js:16592:13)
at resolveRequest (/home/odelucca/Code/odelucca/execution-mode@budproj/.pnp.js:16616:14)
at Object.resolveRequest (/home/odelucca/Code/odelucca/execution-mode@budproj/.pnp.js:16688:26)
at Function.external_module_.Module._resolveFilename (/home/odelucca/Code/odelucca/execution-mode@budproj/.pnp.js:15792:34)
at Function.external_module_.Module._load (/home/odelucca/Code/odelucca/execution-mode@budproj/.pnp.js:15657:48)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:72:12)
at node:internal/main/run_main_module:17:47
ERROR: "launch:server" exited with 1.
The text was updated successfully, but these errors were encountered:
Hi!
I'm facing an issue with
ts-node-dev
andYarn 2
. Initially, I thought it was a Yarn 2 issue (also opened this issue at Yarn 2 repo), but it turns out thatts-node-dev
is using Window paths after version1.0.0-pre.65
and this is breaking on Linux machines.More context (you can see the full context at Yarn 2 bug yarnpkg#2054:
Here is my
package.json
file:Here is the output of
yarn start:dev
withYarn 2.3.3
:The text was updated successfully, but these errors were encountered: