Dan Van Brunt
09/25/2021, 4:03 PMyarn v2
? We’re thinking of making the move and I think in order to support it, there may only need to be some changes to how SST implements packages like eslint internally. They may not be a need to actually use yarn v2 in SST itself. Also, lots of great things in it if you did.Omi Chowdhury
09/25/2021, 5:06 PMDan Van Brunt
09/25/2021, 5:10 PMDan Van Brunt
09/25/2021, 5:13 PMUsing stage: dev
Preparing your SST app
Detected tsconfig.json
Transpiling source
Linting source
Error: spawnSync node ENOTDIR
at Object.spawnSync (internal/child_process.js:1067:20)
at Object.spawnSync (child_process.js:602:24)
at Function.spawnSync [as sync] (/Users/me/Projects/projectx/.yarn/cache/cross-spawn-npm-7.0.3-e4ff3e65b3-671cc7c728.zip/node_modules/cross-spawn/index.js:26:23)
at lint (/Users/me/Projects/projectx/.yarn/cache/@serverless-stack-cli-npm-0.43.4-6ba0eee993-d3e9fee8d7.zip/node_modules/@serverless-stack/cli/scripts/util/cdkHelpers.js:328:26)
at runChecks (/Users/me/Projects/projectx/.yarn/cache/@serverless-stack-cli-npm-0.43.4-6ba0eee993-d3e9fee8d7.zip/node_modules/@serverless-stack/cli/scripts/util/cdkHelpers.js:310:19)
at prepareCdk (/Users/me/Projects/projectx/.yarn/cache/@serverless-stack-cli-npm-0.43.4-6ba0eee993-d3e9fee8d7.zip/node_modules/@serverless-stack/cli/scripts/util/cdkHelpers.js:223:9)
at Object.module.exports [as start] (/Users/me/Projects/projectx/.yarn/cache/@serverless-stack-cli-npm-0.43.4-6ba0eee993-d3e9fee8d7.zip/node_modules/@serverless-stack/cli/scripts/start.js:79:41) {
errno: -20,
code: 'ENOTDIR',
syscall: 'spawnSync node',
path: 'node',
spawnargs: [
'/Users/me/Projects/projectx/.build/eslint.js',
'--color',
'/Users/me/Projects/projectx/lib/MyStack.ts',
'/Users/me/Projects/projectx/lib/index.ts'
]
}
Running type checker
There was a problem linting the source.
Omi Chowdhury
09/25/2021, 5:17 PMOmi Chowdhury
09/25/2021, 5:21 PMDan Van Brunt
09/25/2021, 7:36 PMDan Van Brunt
09/25/2021, 8:40 PMSimon Reilly
09/25/2021, 8:52 PMDan Van Brunt
09/25/2021, 10:37 PMSimon Reilly
09/26/2021, 6:25 AMOmi Chowdhury
09/26/2021, 10:00 AMDan Van Brunt
09/26/2021, 5:26 PMthdxr
09/26/2021, 7:41 PMthdxr
09/26/2021, 7:42 PMDan Van Brunt
09/26/2021, 8:40 PMthdxr
09/26/2021, 8:43 PMDan Van Brunt
09/26/2021, 8:45 PM