fritsvt / laravel-nuxt-authentication

Local and social authentication boilerplate using Laravel + Nuxt
72 stars 33 forks source link

Error on running npm install...need to delete package-lock.json #3

Closed connecteev closed 5 years ago

connecteev commented 5 years ago

This is what I get...any idea what's wrong? Does this still work for you?

OneStepAtATime:client kunalpunjabi$ npm install
npm WARN tar ENOENT: no such file or directory, open '/Users/kunalpunjabi/Code/LARAVEL_WORKING_CODE/NUXT/laravel-nuxt-authentication/client/node_modules/.staging/postcss-page-break-e8f692b2/package.json'
npm WARN tar ENOENT: no such file or directory, open '/Users/kunalpunjabi/Code/LARAVEL_WORKING_CODE/NUXT/laravel-nuxt-authentication/client/node_modules/.staging/postcss-page-break-e8f692b2/CHANGELOG.md'
npm WARN tar ENOENT: no such file or directory, open '/Users/kunalpunjabi/Code/LARAVEL_WORKING_CODE/NUXT/laravel-nuxt-authentication/client/node_modules/.staging/postcss-page-break-e8f692b2/index.js'
npm WARN tar ENOENT: no such file or directory, open '/Users/kunalpunjabi/Code/LARAVEL_WORKING_CODE/NUXT/laravel-nuxt-authentication/client/node_modules/.staging/postcss-page-break-e8f692b2/LICENSE'
npm WARN tar ENOENT: no such file or directory, open '/Users/kunalpunjabi/Code/LARAVEL_WORKING_CODE/NUXT/laravel-nuxt-authentication/client/node_modules/.staging/postcss-page-break-e8f692b2/README.md'
npm WARN tar ENOENT: no such file or directory, open '/Users/kunalpunjabi/Code/LARAVEL_WORKING_CODE/NUXT/laravel-nuxt-authentication/client/node_modules/.staging/bootstrap-vue-fb9d85eb/dist/bootstrap-vue.esm.min.js'
npm WARN tar ENOENT: no such file or directory, open '/Users/kunalpunjabi/Code/LARAVEL_WORKING_CODE/NUXT/laravel-nuxt-authentication/client/node_modules/.staging/@babel/types-0dc44a1f/lib/index.js'
npm WARN tar ENOENT: no such file or directory, open '/Users/kunalpunjabi/Code/LARAVEL_WORKING_CODE/NUXT/laravel-nuxt-authentication/client/node_modules/.staging/@babel/core-ec6b8abc/lib/config/validation/option-assertions.js'
npm WARN tar ENOENT: no such file or directory, open '/Users/kunalpunjabi/Code/LARAVEL_WORKING_CODE/NUXT/laravel-nuxt-authentication/client/node_modules/.staging/@babel/traverse-39bbdc07/lib/scope/lib/renamer.js'
npm WARN tar ENOENT: no such file or directory, open '/Users/kunalpunjabi/Code/LARAVEL_WORKING_CODE/NUXT/laravel-nuxt-authentication/client/node_modules/.staging/@babel/types-0dc44a1f/lib/index.js.flow'
npm WARN tar ENOENT: no such file or directory, open '/Users/kunalpunjabi/Code/LARAVEL_WORKING_CODE/NUXT/laravel-nuxt-authentication/client/node_modules/.staging/@babel/core-ec6b8abc/lib/config/validation/options.js'
npm WARN tar ENOENT: no such file or directory, lstat '/Users/kunalpunjabi/Code/LARAVEL_WORKING_CODE/NUXT/laravel-nuxt-authentication/client/node_modules/.staging/tapable-c7350698/lib/__tests__'
npm WARN tar ENOENT: no such file or directory, open '/Users/kunalpunjabi/Code/LARAVEL_WORKING_CODE/NUXT/laravel-nuxt-authentication/client/node_modules/.staging/@babel/core-ec6b8abc/lib/config/validation/plugins.js'
npm WARN tar ENOENT: no such file or directory, open '/Users/kunalpunjabi/Code/LARAVEL_WORKING_CODE/NUXT/laravel-nuxt-authentication/client/node_modules/.staging/@babel/core-ec6b8abc/lib/config/validation/removed.js'
npm WARN tar ENOENT: no such file or directory, open '/Users/kunalpunjabi/Code/LARAVEL_WORKING_CODE/NUXT/laravel-nuxt-authentication/client/node_modules/.staging/@babel/core-ec6b8abc/lib/transformation/file/file.js'
npm WARN tar ENOENT: no such file or directory, open '/Users/kunalpunjabi/Code/LARAVEL_WORKING_CODE/NUXT/laravel-nuxt-authentication/client/node_modules/.staging/@babel/core-ec6b8abc/lib/transformation/file/generate.js'
npm WARN tar ENOENT: no such file or directory, open '/Users/kunalpunjabi/Code/LARAVEL_WORKING_CODE/NUXT/laravel-nuxt-authentication/client/node_modules/.staging/@babel/core-ec6b8abc/lib/transformation/file/merge-map.js'
npm WARN tar ENOENT: no such file or directory, open '/Users/kunalpunjabi/Code/LARAVEL_WORKING_CODE/NUXT/laravel-nuxt-authentication/client/node_modules/.staging/@babel/core-ec6b8abc/lib/transformation/util/missing-plugin-helper.js'
npm WARN tar ENOENT: no such file or directory, open '/Users/kunalpunjabi/Code/LARAVEL_WORKING_CODE/NUXT/laravel-nuxt-authentication/client/node_modules/.staging/terser-3bde8395/dist/bundle.js.map'
npm WARN tar ENOENT: no such file or directory, open '/Users/kunalpunjabi/Code/LARAVEL_WORKING_CODE/NUXT/laravel-nuxt-authentication/client/node_modules/.staging/source-map-0ebf243c/dist/source-map.min.js.map'
npm WARN tar ENOENT: no such file or directory, lstat '/Users/kunalpunjabi/Code/LARAVEL_WORKING_CODE/NUXT/laravel-nuxt-authentication/client/node_modules/.staging/opencollective-5e5e17fb/test/parentpackage'
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/event-stream/-/event-stream-3.3.6.tgz
npm ERR! 404 
npm ERR! 404  'event-stream@3.3.6' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'client'
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/kunalpunjabi/.npm/_logs/2019-07-17T01_42_02_938Z-debug.log
OneStepAtATime:client kunalpunjabi$ 
connecteev commented 5 years ago

@fritsvt FYI THis was failing because the package-lock.json file is causing the problem. Deleting it and then running npm i makes the compilation work.

fritsvt commented 5 years ago

thanks, removed package-lock.json