Comments (9)
I couldn't get that to work (i.e. -b @glimmer/blueprint
) until I got ember-cli upgraded to 2.13.0-beta.2
from glimmer-application.
@balinterdi that's not the right GitHub repository, the blueprint is glimmer-blueprint ;) If you did yarn global add
, be sure to remove the npm ember-cli
, as it could also be interfering.
As we explain in at the bottom of https://glimmerjs.com/guides/installing, you currently need the canary channel of Ember CLI so that the npm blueprint experiment is enabled.
Ember CLI doesn't have the concept of canary versioning because it's the latest commit on the master branch at a given time, that's why it shows -beta
.
Please reopen if the information provided does not solve your situation, thank you!
from glimmer-application.
@locks Thank you for your prompt reply.
I uninstalled the npm ember (npm uninstall -g ember) but now I don't have an ember command although I've done yarn global add ember-cli/ember-cli
. I must be missing something.
from glimmer-application.
@balinterdi apparently some of the yarn
installers don't set up the path properly :\ I have fallen back to npm install -g
myself. Can you open a separate issue? I think we want to address this explicitly in the installation guide.
from glimmer-application.
I found this command works to use yarn to install globally:
yarn global add ember-cli/ember-cli --global-folder `npm config get prefix`
That works for me on my system where I'm using nvm
to manage my node version
from glimmer-application.
Thank you. After installing the canary version of ember-cli, I could create a new glimmer project by issuing:
$ ember new glimmer-stars -b https://github.com/glimmerjs/glimmer-blueprint.git
It didn't, however, worked with
$ ember new hello-glimmer -b @glimmer/blueprint
, I received the same Unknown blueprint
error.
Will create a separate issue for the yarn issue as requested but I now have to board my plane :)
from glimmer-application.
Oh, spoke too early, towards the end of the installation process I got this:
Caching binary to /Users/balint/.npm/node-sass/3.13.1/darwin-x64-48_binding.node
Installing packages for tooling via npm.Binary found at /Users/balint/code/balinterdi/emberjs/glimmer-stars/node_modules/@glimmer/application-pipeline/node_modules/broccoli-sass/node_modules/node-sass/vendor/darwin-x64-48/binding.node
Testing binary
Binary is fine
Installed packages for tooling via npm.
No bower.json present
Error: No bower.json present
at createError (/usr/local/lib/node_modules/ember-cli/node_modules/bower/lib/util/createError.js:4:15)
at /usr/local/lib/node_modules/ember-cli/node_modules/bower/lib/core/Project.js:49:19
at /usr/local/lib/node_modules/ember-cli/node_modules/bower/lib/node_modules/q/q.js:1229:26
at _fulfilled (/usr/local/lib/node_modules/ember-cli/node_modules/bower/lib/node_modules/q/q.js:834:54)
at self.promiseDispatch.done (/usr/local/lib/node_modules/ember-cli/node_modules/bower/lib/node_modules/q/q.js:863:30)
at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/ember-cli/node_modules/bower/lib/node_modules/q/q.js:796:13)
at /usr/local/lib/node_modules/ember-cli/node_modules/bower/lib/node_modules/q/q.js:556:49
at runSingle (/usr/local/lib/node_modules/ember-cli/node_modules/bower/lib/node_modules/q/q.js:137:13)
at flush (/usr/local/lib/node_modules/ember-cli/node_modules/bower/lib/node_modules/q/q.js:125:13)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
ember new glimmer-stars -b https://github.com/glimmerjs/glimmer-blueprint.git 119.93s user 60.82s system 121% cpu 2:29.26 total
It does not seem like a critical error, though, the project is created just fine, afaict.
from glimmer-application.
bower? 🤔 let's talk on Slack afterwards, have a safe flight!
from glimmer-application.
This was resolved and the bower dependency turned out to be my fault, result of not using Ember CLI Canary. What led me astray was that in the README of glimmer-blueprint it seemed like it was sufficient to say (`npm install -g ember-cli/ember-cli to install Ember CLI Canary).
After really installing the canary version, ember new glimmer-stars -b @glimmer/blueprint
worked just fine (though I wonder if there shouldn't be an app
folder in the newly created app, the glimmer.js guides make it seem so).
@locks Thank you for your help. Should I create issues/PRs for the above mentioned inaccuracies?
from glimmer-application.
Related Issues (20)
- Documentation for running multiple apps on the same page HOT 1
- Helper runs every few milliseconds after a tracked property changes HOT 1
- Things That Need To Be Fixed HOT 3
- Can't use `async` / `await` out of the box HOT 3
- Sourcemaps seem to have issues HOT 4
- Document (and improve) using npm packages HOT 3
- Ergonomics / Polish / Initial Experience "Punch List" HOT 2
- Accessing ENV HOT 1
- Advanced helpers HOT 1
- `renderComponent` doesn't accept args or attributes HOT 3
- userland files HOT 1
- ember-cli-deploy doesn't work with latest glimmer-application HOT 1
- Argument and property naming conflict HOT 7
- Docs lacking: how do I use Glimmer as a view layer for my app? HOT 1
- Nested components don't appear to work as documented HOT 2
- Tracked property on a service doesn't invalidate tag HOT 1
- `@tracked('args')` in component nested within a `{{#each}}` seem to invalidate with old values HOT 2
- `renderComponent` options API proposal HOT 3
- Return value of an action argument to a component always seems to be undefined for me
- Running `ember test` on a Glimmer App breaks if run on BashOnWindows HOT 6
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 glimmer-application.