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

Bad imports for v3 #64

Open
clayrisser opened this issue Feb 14, 2018 · 3 comments
Open

Bad imports for v3 #64

clayrisser opened this issue Feb 14, 2018 · 3 comments

Comments

@clayrisser
Copy link
Contributor

> [email protected] start /home/jamrizzi/Projects/trailblazer
> node node_modules/babel-cli/bin/babel-node server.js

module.js:540
    throw err;
    ^

Error: Cannot find module 'trails/lib/controller'
    at Function.Module._resolveFilename (module.js:538:15)
    at Function.Module._load (module.js:468:25)
    at Module.require (module.js:587:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/home/jamrizzi/Projects/trailblazer/node_modules/trailpack-express/lib/utils.js:3:20)
    at Module._compile (module.js:643:30)
    at Module._extensions..js (module.js:654:10)
    at Object.require.extensions.(anonymous function) [as .js] (/home/jamrizzi/Projects/trailblazer/node_modules/babel-register/lib/node.js:152:7)
    at Module.load (module.js:556:32)
    at tryModuleLoad (module.js:499:12)
    at Function.Module._load (module.js:491:3)
    at Module.require (module.js:587:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/home/jamrizzi/Projects/trailblazer/node_modules/trailpack-express/lib/server.js:14:15)
    at Module._compile (module.js:643:30)
    at Module._extensions..js (module.js:654:10)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node node_modules/babel-cli/bin/babel-node server.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/jamrizzi/.npm/_logs/2018-02-14T20_23_44_482Z-debug.log
@scott-wyatt
Copy link
Member

The c in controller needs to be capitalized eg. Controller.

@scott-wyatt
Copy link
Member

Lol, just saw in your reference you fixed it, sorry about that @jamrizzi

@jaumard
Copy link
Contributor

jaumard commented Feb 14, 2018

Just to put you up to date V3 branch is waiting for this PR to be merge and deploy -> trailsjs/trails#317
I think it's the minimum requirement before going further on this trailpack for v3 support :(

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

3 participants