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

Bring adapter tests up to date #12

Open
jkeczan opened this issue Aug 28, 2015 · 1 comment
Open

Bring adapter tests up to date #12

jkeczan opened this issue Aug 28, 2015 · 1 comment

Comments

@jkeczan
Copy link

jkeczan commented Aug 28, 2015

The adapter integration tests fails on Sails v0.11. I get the following error when running npm test:

> [email protected] test /Users/jeremykeczan/Projects/web/moneta/node_modules/sails-dynamodb
> node test/integration/runner -R spec -b

/Users/jeremykeczan/Projects/web/moneta/node_modules/sails-dynamodb/test/integration/runner.js:22
    throw new Error(
          ^
Error: 
Could not read supported interfaces from "sails-adapter"."interfaces"
in this adapter's `package.json` file ::
{ [Error: Cannot find module 'root-require'] code: 'MODULE_NOT_FOUND' }
    at Object.<anonymous> (/Users/jeremykeczan/Projects/web/moneta/node_modules/sails-dynamodb/test/integration/runner.js:22:11)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Function.Module.runMain (module.js:501:10)
    at startup (node.js:129:16)
    at node.js:814:3
npm ERR! Test failed.  See above for more details.

I have install require-root both globally and locally with no success. Any suggestions on how to get this to work with Sails v0.11?

@devinivy
Copy link
Collaborator

The tests are buggered! I just opened #13. The branch on that PR will run the tests– you'll see that it's poorly configured, though, and the tests will fail. I'd like to see more work done on this.

@devinivy devinivy changed the title Issues using adapter on Sails v0.11 Bring adapter tests up to date Oct 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants