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

not able to run ampstart project on my local dev #826

Open
VinayRajput opened this issue Aug 18, 2018 · 0 comments
Open

not able to run ampstart project on my local dev #826

VinayRajput opened this issue Aug 18, 2018 · 0 comments

Comments

@VinayRajput
Copy link

VinayRajput commented Aug 18, 2018

after getting a clone from https://github.com/ampproject/ampstart

I have started following README.md

after running command 'npm i'

i got following error


vr@vr ~/git/ampstart2 $ npm i

> kickstart@ postinstall /home/vr/git/ampstart2
> cd functions && npm i

npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but npm-shrinkwrap.json was generated for lockfileVersion@0. I'll try to do my best with it!
audited 153 packages in 2.178s
found 23 vulnerabilities (7 low, 12 moderate, 4 high)
  run `npm audit fix` to fix them, or `npm audit` for details
audited 16373 packages in 14.26s
found 3 vulnerabilities (2 low, 1 critical)
  run `npm audit fix` to fix them, or `npm audit` for details

then I tried 'npm audit' and i got following audit results

vr@vr ~/git/ampstart2 $ npm audit

                       === npm audit security report ===                        
                                 Manual Review                                  
             Some vulnerabilities require your attention to resolve             
          Visit https://go.npm.me/audit-guide for additional guidance                                                                                           

  Critical        Command Injection                                             
  Package         open                                                          
  Patched in      No patch available                                            
  Dependency of   gulp-webserver [dev]                                          
  Path            gulp-webserver > open                                         
  More info       https://nodesecurity.io/advisories/663                        

  Low             Prototype Pollution                                           
  Package         lodash                                                        
  Patched in      >=4.17.5                                                      
  Dependency of   highlights [dev]                                              
  Path            highlights > first-mate-select-grammar > lodash               
  More info       https://nodesecurity.io/advisories/577                        

  Low             Regular Expression Denial of Service                          
  Package         debug                                                         
  Patched in      >= 2.6.9 < 3.0.0 || >= 3.1.0                                  
  Dependency of   gulp-webserver [dev]                                          
  Path            gulp-webserver > tiny-lr > debug                                                                                                  
  More info       https://nodesecurity.io/advisories/534                        
                                                                                
found 3 vulnerabilities (2 low, 1 critical) in 16373 scanned packages
  3 vulnerabilities require manual review. See the full report for details.

I tried 'npm audit fix' and 'npm audit fix --force' still it do nothing

vr@vr ~/git/ampstart2 $ npm audit fix
up to date in 10.408s
fixed 0 of 3 vulnerabilities in 16373 scanned packages
  3 vulnerabilities required manual review and could not be updated
vr@vr ~/git/ampstart2 $ npm audit fix --force
npm WARN using --force I sure hope you know what you are doing.
up to date in 10.884s
fixed 0 of 3 vulnerabilities in 16373 scanned packages
  3 vulnerabilities required manual review and could not be updated

even then after i tried 'npm run build' and got following error, I am unable to build and run this project,

> kickstart@ build /home/vr/git/ampstart2
> gulp build

/home/vr/git/ampstart2/node_modules/gulp-help/index.js:81
    task = gulp.tasks[name];
                     ^

TypeError: Cannot read property 'help' of undefined
    at Gulp.gulp.task (/home/vr/git/ampstart2/node_modules/gulp-help/index.js:81:22)
    at module.exports (/home/vr/git/ampstart2/node_modules/gulp-help/index.js:97:8)
    at Object.<anonymous> (/home/vr/git/ampstart2/gulpfile.js:17:34)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:20:18)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! kickstart@ build: `gulp build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the kickstart@ build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/vr/.npm/_logs/2018-08-18T08_44_54_307Z-debug.log

Please help

Vinay
[email protected]

I have started a group for AmpStart project, pls join to help

https://join.slack.com/t/ampstart/shared_invite/enQtNDE4NzMxNTQzMDQ0LWI5ZmYxZGIwMzUxZDdkNjcyMDY4ZGIxNmFhNzQxZWU0YjE0ZGE3Y2I4MGM5MzU2MDE4MjIyYWU2N2QzZjQ5ODM

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

1 participant