Vuefire: src folder is missing after npm install

Created on 13 Apr 2016  路  4Comments  路  Source: vuejs/vuefire

For some reason the src folder is missing after 'npm install vuefire', which causes:
Module not found: Error: Cannot resolve module 'vuefire' in webpack

Most helpful comment

Thanks for reporting! It looks like the package.json's "main" key points to "src/vuefire.js" when it should really be "dist/vuefire.js". I'll put together a fix and we can cut a new release.

All 4 comments

Thanks for reporting! It looks like the package.json's "main" key points to "src/vuefire.js" when it should really be "dist/vuefire.js". I'll put together a fix and we can cut a new release.

Also, the reason using "src/vuefire.js" doesn't work is because it's not actually packaged up in the npm package itself. We only include the files mentioned in package.json's "files" key.

sir,
I did not got exactly what you are saying.
src folder is missing when i install npm like
npx creat-react-app uet
it does not create src folder!!

sir it just created folder for me like node_module and packages

Was this page helpful?
0 / 5 - 0 ratings