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

compass errror in running server #31

Open
dinesh36 opened this issue Sep 6, 2014 · 12 comments
Open

compass errror in running server #31

dinesh36 opened this issue Sep 6, 2014 · 12 comments

Comments

@dinesh36
Copy link

dinesh36 commented Sep 6, 2014

Getting stuck in starting the server with compass issue.

I also tried to start with --force option but it also shows an error in browser.

I have compass version Compass 0.12.2 (Alnilam)

screen shot 2014-09-06 at 5 25 21 pm

@theunionInnovation
Copy link

Hi, am new to angularjs and wanted a roadmap to integrating it with Parse. Thanks for providing a great start with your demo!

Responding to the issue opened above, could someone update the installation instructions to include a 'bower install' command before running grunt? It is missing (so, no bower components installed), hence their error when trying to start up the demo :)

@ligerzer0
Copy link

Running bower install before npm install produces the following error:

bower ESUDO Cannot be run with sudo

This was resolved in my case by passing the --allow-root flag. So the instructions should mention the following command:

bower install --allow-root

Explanation for the flag here

An alternative and more permanent fix here

@spacenick
Copy link
Contributor

Thanks guys I'm looking into that asap

@causeidm
Copy link

I am having the same exact issue, on both the digital ocean mean server stack and on an ubuntu server with node/angular etc.

it was resolved using the bower install --allow-root suggested

@khshah3
Copy link

khshah3 commented Apr 30, 2015

I still get the same above error and I can't seem to resolve it with the above solutions. I tried to do a fresh install with the order mentioned above as well.

@dskvr
Copy link

dskvr commented Jun 18, 2015

Having the same issue originally mentioned, tried fixes, cannot resolve. Running locally. Installed the emberjs-parse implementation and had it running in 10 minutes.

Another note @spacenick ENOTFOUND Package html5shiv-dist not found ... html5shiv-dist isn't in the bower directory, you have to instead declare the url to the git repository (I would patch it but I could not get it running.)

@rajvansia
Copy link

hey dskvr. I was able to get this working on my cloud9 by following the instructions in the docs with a few tweaks.

what components are you missing when you run compass prod?

ya ur right html5shic isnt in the bower directory i had to bower install html5shiv --save-dev it. Let me know if you need help getting it working.

are you getting a black background screen when running your app. do you have any console logs?
I used to get this error on my console.

Uncaught TypeError: Cannot read property 'get' of undefined ( in angular-parse.js)

To fix this i had to delete the (get) method to update- in angualr-parse.js. not sure the implications but that was the only fix i had to get teh app working

i am a noob at this- my issue is when i try to upload this to parse hosting there is a 500 file limit is there a way around this?

@yoavcaspin
Copy link

Hey there @spacenick,
first of all - thanks a lot for this awesome library. i looked for a long time for exactly what i need.

I'm encountering the same issues mentioned above (tried the manual + all the various fixes above).
i noticed this error while running npm install in the parse-angular-demo folder:

npm ERR! Darwin 14.3.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.5
npm ERR! npm v2.12.0
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: bower install
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'bower install'.
npm ERR! This is most likely a problem with the parse-angular-demo package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! bower install
npm ERR! You can get their info via:
npm ERR! npm owner ls parse-angular-demo
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /Users/yoavcaspin/Documents/patientTrackerProject/parse-angular-demo/npm-debug.log

no matter what i do next, i can't seem to install bower (which leads to the missing "/components" folder further ahead (while running grunt server)

maybe this will help figure out the problem,

Thanks again!
Yoav

@yoavcaspin
Copy link

this is the content of the npm-debug log:

0 info it worked if it ends with ok
1 verbose cli [ 'node', '/usr/local/bin/npm', 'install' ]
2 info using [email protected]
3 info using [email protected]
4 verbose readDependencies loading dependencies from /Users/yoavcaspin/Documents/patientTrackerProject/package.json
5 error install Couldn't read dependencies
6 verbose stack Error: ENOENT, open '/Users/yoavcaspin/Documents/patientTrackerProject/package.json'
6 verbose stack at Error (native)
7 verbose cwd /Users/yoavcaspin/Documents/patientTrackerProject
8 error Darwin 14.3.0
9 error argv "node" "/usr/local/bin/npm" "install"
10 error node v0.12.5
11 error npm v2.12.0
12 error path /Users/yoavcaspin/Documents/patientTrackerProject/package.json
13 error code ENOPACKAGEJSON
14 error errno -2
15 error package.json ENOENT, open '/Users/yoavcaspin/Documents/patientTrackerProject/package.json'
15 error package.json This is most likely not a problem with npm itself.
15 error package.json npm can't find a package.json file in your current directory.
16 verbose exit [ -2, true ]

@vbabaria
Copy link

ran into same problem as mentioned by @spacenick

ENOTFOUND Package html5shiv-dist not found ... html5shiv-dist isn't in the bower directory

tried following commands so far...

  1. bower install html5shiv --save-dev
  2. bower install --allow-root

error "bower ENOTFOUND Package html5shiv-dist not found"
can't get it to work... any suggestions would be greatly appreciated - thanks

@achilleshsieh
Copy link

Same problem here @spacenick

bower ENOTFOUND Package html5shiv-dist not found

I tried "bower install html5shiv --save-dev" and "bower install --allow-root", and even tried to manually install according to the aFarkas instruction. None of these works. Please help. Thanks a bunch!

@achilleshsieh
Copy link

Never mind. My bower.json file still used "html5shiv-dist" instead of "html5shiv". Updated the name, and got it fixed.

Another thing wants to share here: to make "grunt" work on my Windows machine, I have to use "npm install -g grunt-cli" before running "grunt server". Not sure if that will help or not.

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