We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ember g pouch-adapter application
New to PouchDB and Ember. Following the instructions on https://github.com/pouchdb-community/ember-pouch.
When running the command "ember g pouch-adapter application", the Ember server breaks with an invalid syntax error:
Build Error (broccoli-persistent-filter:Babel > [Babel: pouch-data]) in pouch-data/adapters/application.js /home/ember/pouch_data/pouch-data/adapters/application.js: Identifier 'config' has already been declared (33:7) 31 | } 32 | }); > 33 | import config from 'pouch-data/config/environment'; | ^ 34 | import PouchDB from 'pouchdb'; 35 | import { Adapter } from 'ember-pouch'; 36 | import { assert } from '@ember/debug'; Stack Trace and Error Report: /tmp/error.dump.637edf5f490e357f59899b080ca803f2.log
Environ: ember-cli: 3.17.0 node: 12.16.1 os: linux x64 ember-pouch: 7.0.0 Fedora 31 x64 VM
Adapter: IndexedDB ?
Server: PouchDB Server
ember new test_project cd test_project npm install pouchdb-server ember install ember-pouch ember g pouch-adapter application ember serve
Contents of generated application adapter attached. error.txt
The text was updated successfully, but these errors were encountered:
Sorry about this. Is was fixed yesterday om master #257 but we have not released a new version.
Until we do use this adapter: https://github.com/pouchdb-community/ember-pouch/blob/master/blueprints/pouch-adapter/files/__root__/adapters/__name__.js
Sorry, something went wrong.
after two years, still same issue, isn't it possible to publish a patched version?
No branches or pull requests
Issue
New to PouchDB and Ember. Following the instructions on https://github.com/pouchdb-community/ember-pouch.
When running the command "ember g pouch-adapter application", the Ember server breaks with an invalid syntax error:
Info
Environ:
ember-cli: 3.17.0
node: 12.16.1
os: linux x64
ember-pouch: 7.0.0
Fedora 31 x64 VM
Adapter: IndexedDB ?
Server: PouchDB Server
Reproduce
Contents of generated application adapter attached.
error.txt
The text was updated successfully, but these errors were encountered: