Skip to content

iron meteor cannot find simpl-schema #258

@kingzuru

Description

@kingzuru

I am using iron-meteor for scaffolding meteor apps with aldeed collections2. I have installed simpl-schema globally via;
npm install -g --save simpl-schema
but when I try to iron run I get the following error;

=> Started proxy.
=> Started MongoDB.
W20190716-20:45:24.686(2)? (STDERR) Note: you are using a pure-JavaScript implementation of bcrypt.
W20190716-20:45:24.714(2)? (STDERR) While this implementation will work correctly, it is known to be
W20190716-20:45:24.714(2)? (STDERR) approximately three times slower than the native implementation.
W20190716-20:45:24.719(2)? (STDERR) In order to use the native implementation instead, run
W20190716-20:45:24.720(2)? (STDERR)
W20190716-20:45:24.720(2)? (STDERR) meteor npm install --save bcrypt
W20190716-20:45:24.720(2)? (STDERR)
W20190716-20:45:24.720(2)? (STDERR) in the root directory of your application.
W20190716-20:45:24.894(2)? (STDERR) WARNING: npm peer requirements (for aldeed:collection2) not installed:
W20190716-20:45:24.894(2)? (STDERR) - simpl-schema@>=0.0.0 not installed.
W20190716-20:45:24.894(2)? (STDERR)
W20190716-20:45:24.895(2)? (STDERR) Read more about installing npm peer dependencies:
W20190716-20:45:24.895(2)? (STDERR) http://guide.meteor.com/using-packages.html#peer-npm-dependencies
W20190716-20:45:24.895(2)? (STDERR)
W20190716-20:45:24.937(2)? (STDERR) /home/kingzuru/.meteor/packages/meteor-tool/.1.8.1.1ehy8qi.j0unh++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:280
W20190716-20:45:24.940(2)? (STDERR) throw(ex);
W20190716-20:45:24.941(2)? (STDERR) ^
W20190716-20:45:24.941(2)? (STDERR)
W20190716-20:45:24.941(2)? (STDERR) Error: Cannot find module 'simpl-schema'
W20190716-20:45:24.942(2)? (STDERR) at makeMissingError (packages/modules-runtime.js:222:12)
W20190716-20:45:24.942(2)? (STDERR) at Module.require (packages/modules-runtime.js:241:17)
W20190716-20:45:24.942(2)? (STDERR) at require (packages/modules-runtime.js:258:21)
W20190716-20:45:24.943(2)? (STDERR) at collection2.js (packages/aldeed:collection2/collection2.js:13:22)
W20190716-20:45:24.943(2)? (STDERR) at fileEvaluate (packages/modules-runtime.js:336:7)
W20190716-20:45:24.943(2)? (STDERR) at Module.require (packages/modules-runtime.js:238:14)
W20190716-20:45:24.944(2)? (STDERR) at require (packages/modules-runtime.js:258:21)
W20190716-20:45:24.944(2)? (STDERR) at /var/www/testapp/app/.meteor/local/build/programs/server/packages/aldeed_collection2.js:895:15
W20190716-20:45:24.944(2)? (STDERR) at /var/www/testapp/app/.meteor/local/build/programs/server/packages/aldeed_collection2.js:902:3
W20190716-20:45:24.945(2)? (STDERR) at /var/www/testapp/app/.meteor/local/build/programs/server/boot.js:419:36
W20190716-20:45:24.945(2)? (STDERR) at Array.forEach ()
W20190716-20:45:24.945(2)? (STDERR) at /var/www/testapp/app/.meteor/local/build/programs/server/boot.js:228:19
W20190716-20:45:24.945(2)? (STDERR) at /var/www/testapp/app/.meteor/local/build/programs/server/boot.js:479:5
W20190716-20:45:24.945(2)? (STDERR) at Function.run (/var/www/testapp/app/.meteor/local/build/programs/server/profile.js:510:12)
W20190716-20:45:24.946(2)? (STDERR) at /var/www/testapp/app/.meteor/local/build/programs/server/boot.js:478:11
=> Exited with code: 1

Any clue as to what could be wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions