I’ve ran into an issue that i suspect is due to my lack of understanding of how meteor and npm works, so any help is appreciated!
Due to reasons i had to add a package manually in my project, as a local (?) package, and i need an npm.require in package.js order for it to work. But i get the error message
“can’t find npm module ‘simpl-schema’. In package.js, Npm.require can only find built-in modules.”
But the docs simply states “Require a package that was specified using Npm.depends().” for Npm.require.
I’ve used the “meteor npm install --save” on both the local package and the top-level, and ‘simpl-schema’ is found in both places under node_modules. I use the lines
in the package.js.
Any ideas? Should it work or am i way off?
Thx in advance!