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 & npm not found after following installation steps #148

Open
ferrybig opened this issue Sep 5, 2017 · 3 comments
Open

Gulp & npm not found after following installation steps #148

ferrybig opened this issue Sep 5, 2017 · 3 comments

Comments

@ferrybig
Copy link

ferrybig commented Sep 5, 2017

Trying to follow the installation steps, this happened:

  1. npm install -g mean-cli

    This works

  2. mean init mean-application

    This one properly installs a mean application

  3. cd <NameOfYourApp> && npm install

    Seems to install all packages needed

  4. mean package <NameOfYourPackage>

    Throws:

    module.js:472
    throw err;
    ^

Error: Cannot find module 'npm'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (C:\Users\fernando\AppData\Roaming\npm\node_modules\mean-cli\lib\cli.js:5:7)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
  1. gulp

    Throws the following error:

[10:34:24] Local gulp not found in ~\Documents\Webdesign\mean-application
[10:34:24] Try running: npm install gulp
@yasirunilan
Copy link

Also the installed project doesn't have a gulp file to run the Gulp command. I also tried in my local machine this problem is there for me also.

@liorkesos
Copy link
Member

liorkesos commented Oct 15, 2017 via email

@yasirunilan
Copy link

@liorkesos in my case I have already installed gulp globally. Problem is there is no any gulp file inside the project to run the gulp command.

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

No branches or pull requests

3 participants