Comments (7)
The package.json
has specifies that bower install
should be run after npm install. That doesn't make sense.
In your case, you can either install bower locally or just send a PR to modify the package.json file
and remove this bower command. I'll try doing that myself when I get home. If you have some time, a patch is welcome :)
from ember-sync.
Which package.json
? Happy to help, but I'll need a little more guidance. Thanks for your quick response!
from ember-sync.
This line: https://github.com/kurko/ember-sync/blob/master/package.json#L18 Whenever you run npm install ember-sync
, it'll run bower install
. If you send a patch removing that line, it should be fixed.
I'll only have time to look into it myself tomorrow evening.
from ember-sync.
closed from that PR and when npm gets updated
from ember-sync.
The package.json has specifies that bower install should be run after npm install. That doesn't make sense.
@kurko, this is unrelated to the PR, but I arrived here from a Google search for the exact error message in another NPM package. For posterity, why doesn't it make sense?
from ember-sync.
@john-kurkowski The error message is simply saying the bower
is not installed globally on your machine. You need to install it with npm install -g bower
and the error should go away.
from ember-sync.
My case is the same as the original issue's:
./node_modules/bower/bin/bower: No such file or directory
Some other package is actually looking for bundled Bower, not global.
Regardless I'm not curious about how to fix the error. I'm curious why @kurko thought the npm install
+ bower install
sequence doesn't make sense as a postinstall
hook. It's the sequence ember-cli Getting Started requires, for example. Albeit they don't mention postinstall
.
from ember-sync.
Related Issues (20)
- emberSync.save() creates the relevant object but does not save into the firebase
- Updating an exisitng model doesn't work HOT 3
- Setup per instructions, no online syncing happening HOT 8
- Project goal considering CouchDB and PouchDB HOT 1
- Cannot read property 'lookup' of undefined HOT 3
- post.async.get('comment') HOT 2
- TODO: implement for when '.get(relation)' returns a Promise HOT 1
- No container in JSONSerializer HOT 1
- Find records from offline store, then from online store only if not found HOT 2
- find records from server, relationship array not pushed to offline store HOT 1
- ember-sync/store/_serializeAssociations() prevent exception when relationships empty HOT 1
- Don't override the offlineStore records with empty records created on the online store due to id-only relationships fetched HOT 1
- Can you please let me know why I can't use EmberSync lib in my project? HOT 1
- EmberSync make another request when page is refreshed HOT 1
- offlineStore not saving when find new records from onlineStore HOT 2
- Look into https://github.com/api-hogs/ember-data-offline HOT 2
- small question about offline syncing HOT 1
- Assertion Failed: Passing classes to store methods has been removed. Please pass a dasherized string instead of my-new-app@model:ember-sync-queue-mode HOT 1
- Move to ud-sync organization
- Is this project still alive? Is it maintained? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-sync.