justin-lau / ember-intl-tel-input

An Ember.js addon for entering and validating international telephone numbers.
http://justin-lau.github.io/ember-intl-tel-input/
MIT License
21 stars 36 forks source link

File not found ...\addon\styles\addon.scss #6

Closed gcasanova closed 9 years ago

gcasanova commented 9 years ago

After installing the addon and configuring it via the new ember-cli-build.js, I cannot build my ember application. It throws,

File not found: D:\workspace\SocialDemand-Client\node_modules\ember-intl-tel-input\addon\styles\addon.scss in any of the following include paths: D:\workspace\SocialDemand-Client\node_modules\ember-intl-tel-input\addon\styles

at Object.findFileSync (D:\workspace\SocialDemand-Client\node_modules\ember-intl-tel-input\node_modules\ember-cli-sass\node_modules\broccoli-sass-source-maps\node_modules\include-path-searcher\index.js:12:9)
at SassCompiler.<anonymous> (D:\workspace\SocialDemand-Client\node_modules\ember-intl-tel-input\node_modules\ember-cli-sass\node_modules\broccoli-sass-source-maps\index.js:51:33)
at lib$rsvp$$internal$$initializePromise (D:\workspace\SocialDemand-Client\node_modules\ember-intl-tel-input\node_modules\ember-cli-sass\node_modules\broccoli-sass-source-maps\node_modules\rsvp\dist\rsvp.js:537:9)
at new lib$rsvp$promise$$Promise (D:\workspace\SocialDemand-Client\node_modules\ember-intl-tel-input\node_modules\ember-cli-sass\node_modules\broccoli-sass-source-maps\node_modules\rsvp\dist\rsvp.js:850:9)
at SassCompiler.updateCache (D:\workspace\SocialDemand-Client\node_modules\ember-intl-tel-input\node_modules\ember-cli-sass\node_modules\broccoli-sass-source-maps\index.js:42:10)
at D:\workspace\SocialDemand-Client\node_modules\ember-intl-tel-input\node_modules\ember-cli-sass\node_modules\broccoli-sass-source-maps\node_modules\broccoli-caching-writer\index.js:96:34
at lib$rsvp$$internal$$tryCatch (D:\workspace\SocialDemand-Client\node_modules\ember-intl-tel-input\node_modules\ember-cli-sass\node_modules\broccoli-sass-source-maps\node_modules\rsvp\dist\rsvp.js:489:16)
at lib$rsvp$$internal$$invokeCallback (D:\workspace\SocialDemand-Client\node_modules\ember-intl-tel-input\node_modules\ember-cli-sass\node_modules\broccoli-sass-source-maps\node_modules\rsvp\dist\rsvp.js:501:17)
at lib$rsvp$$internal$$publish (D:\workspace\SocialDemand-Client\node_modules\ember-intl-tel-input\node_modules\ember-cli-sass\node_modules\broccoli-sass-source-maps\node_modules\rsvp\dist\rsvp.js:472:11)
at lib$rsvp$asap$$flush (D:\workspace\SocialDemand-Client\node_modules\ember-intl-tel-input\node_modules\ember-cli-sass\node_modules\broccoli-sass-source-maps\node_modules\rsvp\dist\rsvp.js:1290:9)

I might be missing some important configuration setting, but I have certainly followed the simple guidelines of the addon. Did anyone else had this issue before? Thank you

justin-lau commented 9 years ago

This addon have not supported ember-cli >= v1.13.0 yet, as there are still bugs around the ember-cli-build.js need fixed to get it working. The best you can do is to use ember-cli v0.2.7 for now. Stay tuned and when 1.13.2 is out I will look into this again.

gcasanova commented 9 years ago

Alright justin, thanks for the clarification, much appreciated. Nice work!

justin-lau commented 9 years ago

You're welcome =)

On Fri, Jul 17, 2015 at 2:13 AM, Guillermo Casanova < notifications@github.com> wrote:

Alright justin, thanks for the clarification, much appreciated

— Reply to this email directly or view it on GitHub https://github.com/justin-lau/ember-intl-tel-input/issues/6#issuecomment-122038837 .

gcasanova commented 9 years ago

Hi justin,

i just downgraded the project to ember-cli version 0.2.7 and I still get the same error. You might want to check this out, thank you anyways.

version: 0.2.7

A new version of ember-cli is available (1.13.1). To install it, type ember update.
Proxying to http://localhost:8080
Livereload server on port 35729
Serving on http://localhost:4200/

File not found: D:\workspace\SocialDemand-Client\node_modules\ember-intl-tel-input\addon\styles\addon.scss in any of the following include paths:
D:\workspace\SocialDemand-Client\node_modules\ember-intl-tel-input\addon\styles
Error: File not found: D:\workspace\SocialDemand-Client\node_modules\ember-intl-tel-input\addon\styles\addon.scss in any of the following include paths:
D:\workspace\SocialDemand-Client\node_modules\ember-intl-tel-input\addon\styles
at Object.findFileSync (D:\workspace\SocialDemand-Client\node_modules\ember-intl-tel-input\node_modules\ember-cli-sass\node_modules\broccoli-sass-source-maps\node_modules\include-path-searcher\index.js:12:9)
at SassCompiler.<anonymous> (D:\workspace\SocialDemand-Client\node_modules\ember-intl-tel-input\node_modules\ember-cli-sass\node_modules\broccoli-sass-source-maps\index.js:51:33)
at lib$rsvp$$internal$$initializePromise (D:\workspace\SocialDemand-Client\node_modules\ember-intl-tel-input\node_modules\ember-cli-sass\node_modules\broccoli-sass-source-maps\node_modules\rsvp\dist\rsvp.js:537:9)
at new lib$rsvp$promise$$Promise (D:\workspace\SocialDemand-Client\node_modules\ember-intl-tel-input\node_modules\ember-cli-sass\node_modules\broccoli-sass-source-maps\node_modules\rsvp\dist\rsvp.js:850:9)
at SassCompiler.updateCache (D:\workspace\SocialDemand-Client\node_modules\ember-intl-tel-input\node_modules\ember-cli-sass\node_modules\broccoli-sass-source-maps\index.js:42:10)
at D:\workspace\SocialDemand-Client\node_modules\ember-intl-tel-input\node_modules\ember-cli-sass\node_modules\broccoli-sass-source-maps\node_modules\broccoli-caching-writer\index.js:96:34
at lib$rsvp$$internal$$tryCatch (D:\workspace\SocialDemand-Client\node_modules\ember-intl-tel-input\node_modules\ember-cli-sass\node_modules\broccoli-sass-source-maps\node_modules\rsvp\dist\rsvp.js:489:16)
at lib$rsvp$$internal$$invokeCallback (D:\workspace\SocialDemand-Client\node_modules\ember-intl-tel-input\node_modules\ember-cli-sass\node_modules\broccoli-sass-source-maps\node_modules\rsvp\dist\rsvp.js:501:17)
at lib$rsvp$$internal$$publish (D:\workspace\SocialDemand-Client\node_modules\ember-intl-tel-input\node_modules\ember-cli-sass\node_modules\broccoli-sass-source-maps\node_modules\rsvp\dist\rsvp.js:472:11)
at lib$rsvp$asap$$flush (D:\workspace\SocialDemand-Client\node_modules\ember-intl-tel-input\node_modules\ember-cli-sass\node_modules\broccoli-sass-source-maps\node_modules\rsvp\dist\rsvp.js:1290:9)
justin-lau commented 9 years ago

I think I know what's going on here. This addon relies on a bugfix branch of ember-cli-sass to workaround some issues produced by ember-cli. It seems like it has difficulty looking up the correct Sass files on Windows.

Let me fire up a Windows machine and see if I can fix that today. Thanks for reporting!

justin-lau commented 9 years ago

@gcasanova I have updated the bugfix branch of ember-cli-sass, please try building again after a npm install.

gcasanova commented 9 years ago

Well, this one worked. Great job Justin, cheers ^^

justin-lau commented 9 years ago

Great :)