-
Notifications
You must be signed in to change notification settings - Fork 40
cant find module #5
Comments
Looking towards it. |
Still getting errors from npm installation. Can't post-install typings. |
You have to add typings to the requirements list. |
typings are already in package.json , should not be the case . |
I am getting the same error: npm ERR! syscall spawn
npm ERR! [email protected] postinstall: `typings install`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
|
Re-published the module with solution to this issue, please check it and close the issue if solved. |
Error in postinstall script on running error /../node_modules/ng2-search-filter: Command failed.
Exit code: 127
Command: sh
Arguments: -c typings install
Directory: /../node_modules/ng2-search-filter
Output:
sh: typings: command not found |
Guys , It seems to work for me . Maybe you don't have typings installed as a global dep so try |
@solodynamo I can see typings package is deprecated. Is typings necessary? Or rather why is typings being used? I'm new to typescript land, so sorry if the question is simple. Thanks! |
@keshavkaul Node module resolution only resolves dependencies with typings field in package.json. This works for a small subset of people who happen to stick to a TypeScript-only ecosystem (or packages that included .d.ts files). If you want to use anything without a .d.ts file, you'll need to use Typings. This came from this thread typings/typings#142 |
Did you get a solution for this? |
Hi @kabaliisa, Just installed the package's latest version and it has the required files i.e mainly dist. PFA UPDATE: Install v0.5.1 it should solve the issue. |
@solodynamo i just installed the latest package for my angular project but i keep getting this error |
I got error on installing and it stopped to continue on [email protected] What can i do? |
Just installed from npm and I am getting:
Error: Cannot find module "ng2-search-filter"
the directory in node_modules just has LICENSE, package.json, and README.md
The text was updated successfully, but these errors were encountered: