WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

'npm run serve' doesn't work, and looks like data is not persisted #46

@goodaleb-cloudbees

Description

@goodaleb-cloudbees

on Ubuntu 16.04, after successfully running npm run build, when I run npm run serve, I get this:

Unable to read file: /users/home/<<myUsername>>/PersonalProjects/JournalBook/src/node_modules/idb/lib/idb.mjs

ReferenceError: IDBIndex is not defined
method: JkW7
at: /users/home/<<myUsername>>/PersonalProjects/JournalBook/src/node_modules/idb/lib/idb.mjs:87:0

It looks like is looking for node_modules inside src directory, but is actually in root of project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions