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

Error: .storage not found #5

Open
undavide opened this issue Jun 7, 2019 · 2 comments
Open

Error: .storage not found #5

undavide opened this issue Jun 7, 2019 · 2 comments

Comments

@undavide
Copy link

undavide commented Jun 7, 2019

Hi,
in a vue/vuex project, the build fails:

 ERROR  Failed to compile with 1 errors
This relative module was not found:
* ./storage in ./node_modules/nedb-core/lib/persistence.js

My code is as simple as:

var Datastore = require('nedb-core')

Any suggestion?
Thank you

@leonheess
Copy link

I have a similar problem:

persistence.js:30 Uncaught Error: Cannot find module './storage'
    at webpackMissingModule (persistence.js:30)
    at new Persistence (persistence.js:30)
    at new Datastore (datastore.js:55)
    at Module../src/index.js (index.js:21)
    at __webpack_require__ (bootstrap:785)
    at fn (bootstrap:150)
    at Object.0 (Utils.js:256)
    at __webpack_require__ (bootstrap:785)
    at checkDeferredModules (bootstrap:45)
    at Array.webpackJsonpCallback [as push] (bootstrap:32)
    at main.chunk.js:1
webpackMissingModule @ persistence.js:30
Persistence @ persistence.js:30
Datastore @ datastore.js:55
./src/index.js @ index.js:21
__webpack_require__ @ bootstrap:785
fn @ bootstrap:150
0 @ Utils.js:256
__webpack_require__ @ bootstrap:785
checkDeferredModules @ bootstrap:45
webpackJsonpCallback @ bootstrap:32
(anonymous) @ main.chunk.js:1
index.js:1437 


./node_modules/nedb-core/lib/persistence.js
Module not found: Can't resolve './storage' in 'C:\Daten\Projects\theme-manager\node_modules\nedb-core\lib'

@jeremy21212121
Copy link

This is old, but shows up in searches so I thought I would post this for anyone else that stumbles across this repo.

You probably want to use the repo that this was forked from: https://github.com/louischatriot/nedb. Depending on your needs, you might want to pick a different project altogether.

See this discussion for more info: louischatriot#492 (comment)

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