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

Unhandled promise rejection Error loading "animation-main" #6

Closed
kyawmoehaynes opened this issue Sep 21, 2015 · 5 comments
Closed

Unhandled promise rejection Error loading "animation-main" #6

kyawmoehaynes opened this issue Sep 21, 2015 · 5 comments

Comments

@kyawmoehaynes
Copy link

Hi, when I try to run, it gave me the following error.
Unhandled promise rejection Error loading "animation-main"

screen shot 2015-09-22 at 1 45 07 am

Could you please advise me how to fix this? Thanks in advance.

@paulvanbladel
Copy link
Owner

Did you install correctly?

@kyawmoehaynes
Copy link
Author

I believe I did. I followed step by step instructions in readme file. And I also noticed that there is animation-main.js already inside dist folder.

@paulvanbladel
Copy link
Owner

Yeah, difficult for me to help.
Does a regular aurelia app works for you?

@kyawmoehaynes
Copy link
Author

Hi when I try to install, I have these:

ArkidoMBP:client kyawmoehein$ sudo npm install
npm WARN deprecated CSSselect@0.4.1: the module is now available as 'css-select'
npm WARN deprecated CSSwhat@0.4.7: the module is now available as 'css-what'

fsevents@0.3.8 install /Users/kyawmoehein/Desktop/Aurelia.io/aurelia-auth-sample/client/node_modules/gulp-nodemon/node_modules/nodemon/node_modules/chokidar/node_modules/fsevents
node-gyp rebuild

SOLINK_MODULE(target) Release/.node
ld: library not found for -lgcc_s.10.5
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Release/.node] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Darwin 14.5.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/kyawmoehein/Desktop/Aurelia.io/aurelia-auth-sample/client/node_modules/gulp-nodemon/node_modules/nodemon/node_modules/chokidar/node_modules/fsevents
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok

fsevents@0.3.8 install /Users/kyawmoehein/Desktop/Aurelia.io/aurelia-auth-sample/client/node_modules/karma/node_modules/chokidar/node_modules/fsevents
node-gyp rebuild

SOLINK_MODULE(target) Release/.node
ld: library not found for -lgcc_s.10.5
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Release/.node] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Darwin 14.5.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/kyawmoehein/Desktop/Aurelia.io/aurelia-auth-sample/client/node_modules/karma/node_modules/chokidar/node_modules/fsevents
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm WARN optional dep failed, continuing fsevents@0.3.8

@paulvanbladel
Copy link
Owner

Sorry, can't help , it's really about generic nodeJs installation problems.
I took my own sources from git, and did the npm installs in both client and server etc, ... and it works.
Please consult stackoverflow or other fora.

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

2 participants