Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Mark Jones
seal-mask
PLUS
.a{fill-rule:evenodd;}techdegree seal-36
Mark Jones
Full Stack JavaScript Techdegree Graduate 29,362 Points

node/express library project with sqlite db

When I try to require my models folder with either var sequelize = require("../models").sequelize; or var models = require('../models'); I get an node run error: error code ELIFECYCLE 21 error errno 1 22 error librarymanager@0.0.0 start: node ./bin/www 22 error Exit status 1 23 error Failed at the librarymanager@0.0.0 start script.

Note: I did make sure that ../models is pointing to the correct folder.

any ideas?