start project fails with module import errors and nx cloud 401

I did pnpm install then pnpm run start It fails with several errors in the terminal src/app/subscribers/usecases/bulk-create-subscribers/bulk-create-subscribers.command.ts:2:36 - error TS2307: Cannot find module '@novu/application-generic' or its corresponding type declarations. 2 import { EnvironmentCommand } from '@novu/application-generic';
@novu/[email protected] build:esm C:\Users\rusla\Desktop\novu\enterprise\packages\dal cross-env node_modules/.bin/tsc -p tsconfig.build.json
error TS18003: No inputs were found in config file 'C:/Users/rusla/Desktop/novu/enterprise/packages/dal/tsconfig.build.json'. Specified 'include' paths were '["src/*/"]' and 'exclude' paths were '["C:/Users/rusla/Desktop/novu/enterprise/packages/dal/dist"]'.  ELIFECYCLE  Command failed with exit code 2. (Use node --trace-uncaught ... to show where the exception was throw Found 676 errors. Watching for file changes.
17 Replies
Russ Salad
Russ SaladOP2w ago
@Support
Novu_Bot
Novu_Bot2w ago
@Russ Salad, you just advanced to level 3!
Pawan Jain
Pawan Jain7d ago
@Russ Salad You can ignore ee related errors.
Russ Salad
Russ SaladOP7d ago
Hey @Pawan Jain but it fails to start the app
Pawan Jain
Pawan Jain7d ago
@Russ Salad What command you are using to start the project?
Russ Salad
Russ SaladOP7d ago
I did pnpm install pnpm run start
Russ Salad
Russ SaladOP7d ago
No description
Pawan Jain
Pawan Jain7d ago
@Russ Salad Try this command
pnpm clean && pnpm setup:project
pnpm clean && pnpm setup:project
Ignore all ee related build failure
Russ Salad
Russ SaladOP7d ago
same issues Error: Cannot find module 'shelljs' I add this module then those errors arise
Pawan Jain
Pawan Jain7d ago
@Russ Salad Are you using windows operating system?
Russ Salad
Russ SaladOP7d ago
yes
Russ Salad
Russ SaladOP6d ago
the problem with shell persists I tried this one pnpm add -w shelljs because i can't add new package to global workspace
Russ Salad
Russ SaladOP6d ago
resolved the issue but the main exists
No description
Russ Salad
Russ SaladOP6d ago
the terminal is stuck
Russ Salad
Russ SaladOP6d ago
GitHub
🐛 Bug Report: Local start app fails on Windows · Issue #7731 · novu...
📜 Description Im trying to run Novu app locally on Windows But start app fails with a lot of TS errors main errors are about @novu/application-generic I might have no permission to fetch some packa...
Russ Salad
Russ SaladOP6d ago
@Pawan Jain

Did you find this page helpful?