clet icon indicating copy to clipboard operation
clet copied to clipboard

Command Line E2E Testing

Results 5 clet issues
Sort by recently updated
recently updated
newest added

Running a simple test gives the error before the test runs: ``` Details: /node_modules/clet/lib/validator.js:80 var _filename = (0, _dirnameFilenameEsm.filename)(import.meta); ^^^^ SyntaxError: Cannot use 'import.meta' outside a module ``` This happens...

``` Details: .../node_modules/.pnpm/[email protected]/node_modules/clet/lib/runner.js:1 ({"Object.":function(module,exports,require,__dirname,__filename,jest){import { EOL } from 'os'; ^^^^^^ SyntaxError: Cannot use import statement outside a module ```

When installing `clet`, Solution: either add `typescript` into devDependencies or create a .npmrc file with `auto-install-peers=true` I personally prefer the first solution.