Closed sajjadmurtaza closed 8 years ago
@sajjadmurtaza49 can you put the error you are seeing?
gulp serve
module.js:338
throw err;
^
Error: Cannot find module 'browser-sync'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.
You probably just got an installation error. Try deleting the node_modules
folder and npm install
ing again.
I did but same issue
@sajjadmurtaza49 You definitely have errors as you installed npm dependencies according to your error message. Installation has not been completed well. Firstly, check your environments of npm / node then make sure that install dependencies with no errors.
i follow these steps Download polymer-starter-kit and extract cd polymer-starter-kit. npm install bowser install cd polymer-starter-kit-light python -m SimpleHTTPServer 8080
Working great for me.
But for Yeoman user?
npm install -g generator-polymer mkdir -p my-project && cd $_ yo polymer yo polymer:el my-element
every thing is great but gulp serve is not working