While creating a new app through CLI, it gives error "Cannot find module './channels' or its corresponding type declarations" in both TypeScript and JavaScript.
Following are the steps to reproduce this issue:
Step 1: Create New App
npm create feathers TestApp
Step 2: Do you want to use JavaScript or TypeScript?
Select Any (JavaScript/TypeScript)
Step 3: Which HTTP framework do you want to use?
I have selected Express, but I think this will not effect the error part.
Step 4: What APIs do you want to offer?
At this step only check HTTP (REST) and not the Real-Time(Socket).
Step 5: Select rest items to default.
Step 6: Run the application:
npm run dev
It will give the error, because in app.js / app.ts it adds the line for channels but the file is not there. I manually commented the following lines:
Line Number 21: import { channels } from './channels'
Line Number 39: app.configure(channels)
Expected behavior
channel must not be included in app.js/app.ts and run the app properly.
Steps to reproduce
While creating a new app through CLI, it gives error "Cannot find module './channels' or its corresponding type declarations" in both TypeScript and JavaScript.
Following are the steps to reproduce this issue: Step 1: Create New App npm create feathers TestApp
Step 2: Do you want to use JavaScript or TypeScript? Select Any (JavaScript/TypeScript)
Step 3: Which HTTP framework do you want to use? I have selected Express, but I think this will not effect the error part.
Step 4: What APIs do you want to offer? At this step only check HTTP (REST) and not the Real-Time(Socket).
Step 5: Select rest items to default.
Step 6: Run the application: npm run dev
It will give the error, because in app.js / app.ts it adds the line for channels but the file is not there. I manually commented the following lines:
Expected behavior
channel must not be included in app.js/app.ts and run the app properly.