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
famous-cli@0.4.0 /Users/*****/.nvm/versions/v0.12.5/lib/node_modules/famous-cli
├── slash@1.0.0
├── win-spawn@2.0.0
├── btoa@1.1.2
├── mime@1.3.4
├── minimist@1.1.0
├── uuid@2.0.1
├── async@0.9.0
├── mixpanel@0.2.1
├── mustache@2.1.2
├── isbinaryfile@2.0.3
├── combined-stream@1.0.5 (delayed-stream@1.0.0)
├── commander@2.7.1 (graceful-readlink@1.0.1)
├── mime-types@2.1.1 (mime-db@1.13.0)
├── chalk@1.0.0 (escape-string-regexp@1.0.3, ansi-styles@2.0.1, supports-color@1.3.1, strip-ansi@2.0.1, has-ansi@1.0.3)
├── recursive-readdir@1.2.1 (minimatch@0.3.0)
├── tar-fs@1.6.0 (mkdirp@0.5.1, pump@1.0.0, tar-stream@1.2.1)
├── latest-version@1.0.1 (package-json@1.2.0)
├── fs-extra@0.18.4 (jsonfile@2.2.0, graceful-fs@3.0.8, rimraf@2.4.0)
├── node-rest-client@1.4.4 (xml2js@0.4.9)
└── inquirer@0.8.2 (figures@1.3.5, ansi-regex@1.1.1, cli-width@1.0.1, through@2.3.7, readline2@0.1.1, lodash@3.9.3, rx@2.5.3)
*****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
> fsevents@0.3.6 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
> contextify@0.1.14 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
> ws@0.4.20 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 famous-cli@0.4.0 should be installed with -g
> famous-framework-Blyler-hello-world@0.0.0 postinstall /Users/*****/Development/famous-framework-example
> npm run copy-core-components
> famous-framework-Blyler-hello-world@0.0.0 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! famous-framework-Blyler-hello-world@0.0.0 copy-core-components: `famous-framework copy-core-components --destinationFolder=components/famous`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the famous-framework-Blyler-hello-world@0.0.0 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! famous-framework-Blyler-hello-world@0.0.0 postinstall: `npm run copy-core-components`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the famous-framework-Blyler-hello-world@0.0.0 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