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

Gulp cant find Modernizr Error on Fullpack #60

Open
peterberwind opened this issue Jun 21, 2016 · 3 comments
Open

Gulp cant find Modernizr Error on Fullpack #60

peterberwind opened this issue Jun 21, 2016 · 3 comments
Assignees
Labels

Comments

@peterberwind
Copy link

Tried installing the FullPack option with jQuery and Modernizer, but am getting an error:

[16:20:27] Error: Cannot find module '../bower_components/modernizr/bower.json'
    at Function.Module._resolveFilename (module.js:440:15)
    at Function.Module._load (module.js:388:25)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at addPackage (/Users/peterberwind/code/smacssFullpack/tasks/bower.js:45:16)
    at /Users/peterberwind/code/smacssFullpack/tasks/bower.js:66:7
    at Function._.each._.forEach (/Users/peterberwind/code/smacssFullpack/node_modules/underscore/underscore.js:158:9)
    at Gulp.<anonymous> (/Users/peterberwind/code/smacssFullpack/tasks/bower.js:64:14)
    at module.exports (/Users/peterberwind/code/smacssFullpack/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/Users/peterberwind/code/smacssFullpack/node_modules/orchestrator/index.js:273:3)
Error running task sequence: { task: 'bundle-libraries',
  message: 'bundle-libraries catch',
  duration: 0.000709324,

  hrDuration: [ 0, 709324 ],
  err:
   { Error: Cannot find module '../bower_components/modernizr/bower.json'
       at Function.Module._resolveFilename (module.js:440:15)
       at Function.Module._load (module.js:388:25)
       at Module.require (module.js:468:17)
       at require (internal/module.js:20:19)
       at addPackage (/Users/peterberwind/code/smacssFullpack/tasks/bower.js:45:16)
       at /Users/peterberwind/code/smacssFullpack/tasks/bower.js:66:7
       at Function._.each._.forEach (/Users/peterberwind/code/smacssFullpack/node_modules/underscore/underscore.js:158:9)
       at Gulp.<anonymous> (/Users/peterberwind/code/smacssFullpack/tasks/bower.js:64:14)
       at module.exports (/Users/peterberwind/code/smacssFullpack/node_modules/orchestrator/lib/runTask.js:34:7)
       at Gulp.Orchestrator._runTask (/Users/peterberwind/code/smacssFullpack/node_modules/orchestrator/index.js:273:3) code: 'MODULE_NOT_FOUND' }
}

I tried running sudo npm install and sudo bower install

Does anyone know what might be causing this issue?

@PoliteSilence
Copy link

I have the same problem. How to solve it?

@logeshpaul
Copy link
Member

@PoliteSilence This might be due to modernizer plugin updated their bower.json file path. Can you try excluding modernizer while scaffolding out the full pack web app in terminal/command prompt

@logeshpaul
Copy link
Member

@PoliteSilence @peterberwind Fixed this issue, will release along with a couple of other features and update you here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants