Skip to content

Instantly share code, notes, and snippets.

@The1nternet
Created June 25, 2015 14:27
Show Gist options
  • Save The1nternet/d7821fd427664f6942a7 to your computer and use it in GitHub Desktop.
Save The1nternet/d7821fd427664f6942a7 to your computer and use it in GitHub Desktop.
Famous Framework Scaffold Error
*****s-MacBook-Pro:~ *****$ sudo npm uninstall -g famous-cli
Password:
npm WARN uninstall not installed in /Users/*****/.nvm/versions/v0.12.5/lib/node_modules: "famous-cli"
*****s-MacBook-Pro:~ *****$ npm install -g famous-cli
/Users/*****/.nvm/versions/v0.12.5/bin/famous -> /Users/*****/.nvm/versions/v0.12.5/lib/node_modules/famous-cli/bin/famous.js
[email protected] /Users/*****/.nvm/versions/v0.12.5/lib/node_modules/famous-cli
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
*****s-MacBook-Pro:~ *****$ famous login
? Email: *****@*****.com
? Password: **********
Famous login successful!
*****s-MacBook-Pro:~ *****$ cd Development/famous-framework-example/
*****s-MacBook-Pro:famous-framework-example *****$ famous framework-scaffold
? Enter your component's name (e.g. "hello-world"): hello-world
? Does the project name "*****:hello-world" look ok? Yes
Created framework scaffold in current working directory!
Installing npm dependencies and running setup tasks
> [email protected] install /Users/*****/Development/famous-framework-example/node_modules/famous-framework/node_modules/chokidar/node_modules/fsevents
> node-gyp rebuild
SOLINK_MODULE(target) Release/.node
CXX(target) Release/obj.target/fse/fsevents.o
SOLINK_MODULE(target) Release/fse.node
> [email protected] install /Users/*****/Development/famous-framework-example/node_modules/famous-framework/node_modules/jsdom/node_modules/contextify
> node-gyp rebuild
CXX(target) Release/obj.target/contextify/src/contextify.o
SOLINK_MODULE(target) Release/contextify.node
> [email protected] install /Users/*****/Development/famous-framework-example/node_modules/famous-framework/node_modules/livereload/node_modules/websocket.io/node_modules/ws
> node install.js
[ws v0.4.20] Attempting to compile blazing fast native extensions.
[ws v0.4.20] Native code compile failed (but the module will still work):
[ws v0.4.20] The native extensions are faster, but not required.
[ws v0.4.20] On Windows, native extensions require Visual Studio and Python.
[ws v0.4.20] On Unix, native extensions require Python, make and a C++ compiler.
[ws v0.4.20] Start npm with --ws:verbose to show compilation output (if any).
npm WARN prefer global [email protected] should be installed with -g
> [email protected] postinstall /Users/*****/Development/famous-framework-example
> npm run copy-core-components
> [email protected] copy-core-components /Users/*****/Development/famous-framework-example
> famous-framework copy-core-components --destinationFolder=components/famous
env: node\r: No such file or directory
npm ERR! Darwin 14.3.0
npm ERR! argv "/Users/*****/.nvm/versions/v0.12.5/bin/node" "/Users/*****/.nvm/versions/v0.12.5/bin/npm" "run" "copy-core-components"
npm ERR! node v0.12.5
npm ERR! npm v2.11.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] copy-core-components: `famous-framework copy-core-components --destinationFolder=components/famous`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] copy-core-components script 'famous-framework copy-core-components --destinationFolder=components/famous'.
npm ERR! This is most likely a problem with the famous-framework-Blyler-hello-world package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! famous-framework copy-core-components --destinationFolder=components/famous
npm ERR! You can get their info via:
npm ERR! npm owner ls famous-framework-Blyler-hello-world
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/*****/Development/famous-framework-example/npm-debug.log
npm ERR! Darwin 14.3.0
npm ERR! argv "/Users/*****/.nvm/versions/v0.12.5/bin/node" "/Users/*****/.nvm/versions/v0.12.5/bin/npm" "install"
npm ERR! node v0.12.5
npm ERR! npm v2.11.2
npm ERR! code ELIFECYCLE
npm ERR! [email protected] postinstall: `npm run copy-core-components`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'npm run copy-core-components'.
npm ERR! This is most likely a problem with the famous-framework-Blyler-hello-world package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run copy-core-components
npm ERR! You can get their info via:
npm ERR! npm owner ls famous-framework-Blyler-hello-world
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/*****/Development/famous-framework-example/npm-debug.log
To start up development, first run:
$ npm run dev
Then browse to http://localhost:1618
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment