Error findup-sync not found with grunt-cli 0.1.13
- Dominant language
- JavaScript
- Stars
- 12.2k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
We have been working with grunt-cli version 0.1.13 , node version - 6.17.1, npm version-3.10.10
While running grunt commands we are seeing dependency not found errors even though these modules are present in node_modules.
Can anyone help us resolving this issue ?
Error while running grunt --help
Cannot find module 'findup-sync'
at Function.Module._resolveFilename (module.js:476:15)
at Function.Module._load (module.js:424:25)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object. (C:\Users\6110853\AppData\Roaming\nvm\v6.17.1\node_modules\grunt-cli\bin\grunt:8:14)
at Module._compile (module.js:577:32)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
Contributor guide
Research direction
Reproduce the failure with grunt --help using grunt-cli 0.1.13, then inspect the reported grunt-cli/bin/grunt entry point and its findup-sync dependency resolution. Done means the command no longer reports “Cannot find module 'findup-sync'” in the stated Node and npm environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100