ember-paper: Build fails with a clean install on a brand new app

Morning folks 👋

I’ve just done a clean install on a brand new app with the following steps:

npm init ember-app new-app
cd new-app
ember install ember-paper
npm start

And I get the following error:

ENOENT: no such file or directory, lstat '/Users/mansona/git/projects/new-app/node_modules/angular-material-source/src/core/services/layout/layout.scss'

Having a look at the folder node_modules/angular-material-source/src it looks like it is missing the core folder altogether 🤔 Maybe this is as a result of version drift of that dependency?

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 19 (10 by maintainers)

Most upvoted comments

Can you guys try 1.0.0-beta.24? This should be fixed.

Ember-paper now depends on angular-material-styles npm package. This package only contains scss styles.

@panthony I think the fact that we are working with GitHub dependencies means that we are always going to be susceptible to “changing implementations” in every aspect of this 🙈

The only real way to fix this is to actually deploy the material-source to npm because we pack things into a tar file and that tar is what is on npm 👍

Like I said I’m happy to help with that @miguelcobain if it’s something you’re ok with us doing

I don’t know what to tell you 😂 I just ran the exact same steps and it failed again!

Here are my versions:

➜  temp ember -v
ember-cli: 3.7.1
node: 10.12.0
os: darwin x64
➜  temp npm -v
6.8.0

and here is the output of those exact commands with no gaps between:

➜  temp ember new paper-test
installing app
  create .editorconfig
  create .ember-cli
  create .eslintignore
  create .eslintrc.js
  create .template-lintrc.js
  create .travis.yml
  create .watchmanconfig
  create README.md
  create app/app.js
  create app/components/.gitkeep
  create app/controllers/.gitkeep
  create app/helpers/.gitkeep
  create app/index.html
  create app/models/.gitkeep
  create app/resolver.js
  create app/router.js
  create app/routes/.gitkeep
  create app/styles/app.css
  create app/templates/application.hbs
  create app/templates/components/.gitkeep
  create config/environment.js
  create config/optional-features.json
  create config/targets.js
  create ember-cli-build.js
  create .gitignore
  create package.json
  create public/robots.txt
  create testem.js
  create tests/helpers/.gitkeep
  create tests/index.html
  create tests/integration/.gitkeep
  create tests/test-helper.js
  create tests/unit/.gitkeep
  create vendor/.gitkeep
npm: Installed dependencies
Successfully initialized git.
➜  temp cd paper-test
➜  paper-test git:(master) ember install ember-paper
npm: Installed ember-paper
installing ember-paper
  create app/styles/app.scss
  install addon ember-cli-sass
npm: Installed ember-cli-sass
installing ember-cli-sass
  install package sass
npm: Installed sass
Installed addon package.
Installed addon package.
➜  paper-test git:(master) ✗ ember s
Build Error (Funnel)

ENOENT: no such file or directory, lstat '/Users/mansona/temp/paper-test/node_modules/angular-material-source/src/core/services/layout/layout.scss'


Stack Trace and Error Report: /var/folders/r5/bw5frvnn5k794hk62w3vp7km0000gn/T/error.dump.53d0f85e1cc8372088e09e85a28459ac.log

maybe you can share your versions and I can see if it’s something specific to my environment 🤔