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
{{ message }}
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.
Encountered when trying to follow the getting started guide. It runs cleanly if I choose Jest as test framework instead of Mocha.
Steps to reproduce
❯ feathers generate app
? Do you want to use JavaScript or TypeScript? TypeScript
? Project name feathers-chat
? Description
? What folder should the source files live in? src
? Which package manager are you using (has to be installed globally)? npm
? What type of API are you making? REST, Realtime via Socket.io
? Which testing framework do you prefer? Mocha + assert
? This app uses authentication Yes
? What authentication strategies do you want to use? (See API docs for all 180+ supported oAuth providers) Username + Password (Local)
? What is the name of the user (entity) service? users
? What kind of service is it? NeDB
? What is the database connection string? nedb://../data
Expected behavior
Generator runs without error
Actual behavior
npm ERR! code ETARGET
npm ERR! notarget No matching version found for mocha@^10.0.0.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/danseravalli/.npm/_logs/2022-06-27T01_43_46_494Z-debug-0.log
> feathers-chat@0.0.0 lint
> eslint src/. test/. --config .eslintrc.json --ext .ts --fix "--fix"
Oops! Something went wrong! :(
ESLint: 8.18.0
ESLint couldn't find the plugin "@typescript-eslint/eslint-plugin".
(The package "@typescript-eslint/eslint-plugin" was not found when loaded as a Node module from the directory "/Users/danseravalli/Developer/holler/feathers-chat".)
It's likely that the plugin isn't installed correctly. Try reinstalling by running the following:
npm install @typescript-eslint/eslint-plugin@latest --save-dev
The plugin "@typescript-eslint/eslint-plugin" was referenced from the config file in "--config".
If you still can't figure out the problem, please stop by https://eslint.org/chat/help to chat with the team.
System configuration
NodeJS version: 17.3.0
Operating System: macOS 12.3.1 (M1 Pro)
NPM Version: 8.3.0
Feathers version: 4.8.0
The text was updated successfully, but these errors were encountered:
That version definitely exists on npm at https://www.npmjs.com/package/mocha/v/10.0.0 - this is likely an intermittent npm or local caching issue and running it again (or installing the latest version of Node) should fix it.
Encountered when trying to follow the getting started guide. It runs cleanly if I choose Jest as test framework instead of Mocha.
Steps to reproduce
Expected behavior
Generator runs without error
Actual behavior
System configuration
NodeJS version: 17.3.0
Operating System: macOS 12.3.1 (M1 Pro)
NPM Version: 8.3.0
Feathers version: 4.8.0
The text was updated successfully, but these errors were encountered: