Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Cannot find module '/imports/app/app.module' #1985

Open
diavrank opened this issue Sep 10, 2021 · 0 comments
Open

Error: Cannot find module '/imports/app/app.module' #1985

diavrank opened this issue Sep 10, 2021 · 0 comments

Comments

@diavrank
Copy link

diavrank commented Sep 10, 2021

Example all-in-one from MeteorCLI folder is failing:

➜  all-in-one git:(master) ✗ meteor
[[[[[ ~/Documents/angular-meteor/examples/MeteorCLI/all-in-one ]]]]]

=> Started proxy.                             
=> Meteor 2.3.5 is available. Update this project with 'meteor update'.
=> Started MongoDB.                                                                
[client]: Collecting TypeScript source files: 3.429ms                              
imports/app/app.module.ts ignored due to some errors!
[client]: TypeScript Files Compilation: 4335.993ms
[client]: HTML Files Compilation: 7.474ms
[client]: SCSS Files Compilation: 4.097ms
[client]: Collecting TypeScript source files: 15.420ms
imports/app/app.module.ts ignored due to some errors!
[client]: TypeScript Files Compilation: 2794.248ms
[client]: HTML Files Compilation: 9.436ms    -
[client]: SCSS Files Compilation: 0.940ms
[server]: Collecting TypeScript source files: 3.768ms
imports/app/app.module.ts ignored due to some errors!
[server]: TypeScript Files Compilation: 3246.288ms
[server]: HTML Files Compilation: 1.689ms
[server]: SCSS Files Compilation: 0.900ms
W20210910-14:46:30.737(-5)? (STDERR) /Users/diavrank/.meteor/packages/promise/.0.11.2.8skplc.uqog2++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/meteor-promise/promise_server.js:218
W20210910-14:46:30.822(-5)? (STDERR)       throw error;
W20210910-14:46:30.822(-5)? (STDERR)       ^
W20210910-14:46:30.822(-5)? (STDERR) 
W20210910-14:46:30.822(-5)? (STDERR) Error: Cannot find module '/imports/app/app.module'
W20210910-14:46:30.823(-5)? (STDERR)     at makeMissingError (packages/modules-runtime.js:222:12)
W20210910-14:46:30.823(-5)? (STDERR)     at Module.require (packages/modules-runtime.js:241:17)
W20210910-14:46:30.823(-5)? (STDERR)     at require (packages/modules-runtime.js:258:21)
W20210910-14:46:30.823(-5)? (STDERR)     at module (imports/app/server-app.module.ts:5:1)

I don't know why it says imports/app/app.module.ts ignored due to some errors!.

Notes:

  • Node 14.17.0
  • Mac 11.5
  • Package manager used: Yarn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant