I start run DeviceScript, create a new project by yarn
I am using Cursor, and extension only allow run this workspace.
NPM is ok.
To Reproduce
Steps to reproduce the behavior
% npx --yes @devicescript/cli@lates
t init --quiet --yarn
Configuring DeviceScript project...
/Users/weykonkong/.npm/_npx/5d8d10ebdfb5437c/node_modules/@devicescript/cli/built/devicescript-cli.cjs:485213
return content.replace("npm ci", "yarn install --frozen-lockfile").replace("npm install", "yarn install").replace("npm run build", "yarn build").replace("npm run watch", "yarn watch").replace("npm test", "yarn test");
^
TypeError: Cannot read properties of undefined (reading 'replace')
at patchYarnCommands (/Users/weykonkong/.npm/_npx/5d8d10ebdfb5437c/node_modules/@devicescript/cli/built/devicescript-cli.cjs:485213:18)
at /Users/weykonkong/.npm/_npx/5d8d10ebdfb5437c/node_modules/@devicescript/cli/built/devicescript-cli.cjs:485219:19
at Array.forEach (<anonymous>)
at patchYarnFiles (/Users/weykonkong/.npm/_npx/5d8d10ebdfb5437c/node_modules/@devicescript/cli/built/devicescript-cli.cjs:485217:64)
at init (/Users/weykonkong/.npm/_npx/5d8d10ebdfb5437c/node_modules/@devicescript/cli/built/devicescript-cli.cjs:485096:5)
at Command3.<anonymous> (/Users/weykonkong/.npm/_npx/5d8d10ebdfb5437c/node_modules/@devicescript/cli/built/devicescript-cli.cjs:486178:25)
at Command3.listener [as _actionHandler] (/Users/weykonkong/.npm/_npx/5d8d10ebdfb5437c/node_modules/@devicescript/cli/built/devicescript-cli.cjs:1367:21)
at /Users/weykonkong/.npm/_npx/5d8d10ebdfb5437c/node_modules/@devicescript/cli/built/devicescript-cli.cjs:2044:69
at Command3._chainOrCall (/Users/weykonkong/.npm/_npx/5d8d10ebdfb5437c/node_modules/@devicescript/cli/built/devicescript-cli.cjs:1955:16)
at Command3._parseCommand (/Users/weykonkong/.npm/_npx/5d8d10ebdfb5437c/node_modules/@devicescript/cli/built/devicescript-cli.cjs:2044:31)
at /Users/weykonkong/.npm/_npx/5d8d10ebdfb5437c/node_modules/@devicescript/cli/built/devicescript-cli.cjs:1874:31
at Command3._chainOrCall (/Users/weykonkong/.npm/_npx/5d8d10ebdfb5437c/node_modules/@devicescript/cli/built/devicescript-cli.cjs:1955:16)
at Command3._dispatchSubcommand (/Users/weykonkong/.npm/_npx/5d8d10ebdfb5437c/node_modules/@devicescript/cli/built/devicescript-cli.cjs:1870:27)
at Command3._parseCommand (/Users/weykonkong/.npm/_npx/5d8d10ebdfb5437c/node_modules/@devicescript/cli/built/devicescript-cli.cjs:2015:23)
at Command3.parse (/Users/weykonkong/.npm/_npx/5d8d10ebdfb5437c/node_modules/@devicescript/cli/built/devicescript-cli.cjs:1738:14)
at Object.mainCli (/Users/weykonkong/.npm/_npx/5d8d10ebdfb5437c/node_modules/@devicescript/cli/built/devicescript-cli.cjs:486228:11)
Node.js v19.8.1
Type: Bug
Describe the issue
I start run DeviceScript, create a new project by yarn I am using Cursor, and extension only allow run this workspace. NPM is ok.
To Reproduce
Steps to reproduce the behavior
Environment
vscode: 1.80.0 extension: 2.14.10 python: 3.9.17
Devices
interaction_mode: 0 auto_connect: false reset_in: false last_reset_in_time: 0 transport: web: disconnected
Extension version: 2.14.10 VS Code version:
Cursor 0.2.51 (c3f87c47d631216e7a0f5124e2d2e47dd58cf9bd, 2023-07-19T23:32:44.076Z)
OS version: Darwin x64 23.0.0 Modes: