Reputation: 146
Please I did not know what went wrong in meteor app I'm developing that caused the display of this error at the console:
Error: Can't find npm module 'meteor/session'. Did you forget to call 'Npm.depends' in package.js within the 'modules-runtime' package?
I have done npm install, and npm init from my project directory yet the error persisted.
Thanks for your anticipated assistance.
Upvotes: 0
Views: 895
Reputation: 2828
You need to remove 'meteor' from your Session import statement:
import { Session } from 'session'
Upvotes: 0