broccoli ENOENT issue prevents use of this addon on Windows with ember >=2.7
See original GitHub issueA while ago, I tried to update ember to 2.7 and could not run my application locally anymore. I went back to 2.6 and hoped the issue would magically go away, but trying 2.8 now changes little.
The error message relates to broccoli processing ember-cli-notifications and includes the path “C:\C:\Users…”, which may be the culprit. Removing this add-on makes ‘ember s’ succeed again, so I guess this is the better place to report this than the ember issue tracker.
Reproduction: ember init ember install ember-cli-notification ember s
Result (the first line is ok and familiar):
Serving on http://localhost:4200/
The Broccoli Plugin: [CSSModules] failed with:
Error: ENOENT: no such file or directory, open 'C:\C:\Users\ABI\Code\ember-28-test\tmp\cssmodules-input_base_path-J7jK7ZXQ.tmp\0\modules\ember-cli-notifications\styles\globals.css'
at Error (native)
at Object.fs.openSync (fs.js:549:18)
at Object.fs.readFileSync (fs.js:397:15)
at CSSModules.loadPath (C:\Users\ABI\Code\ember-28-test\node_modules\ember-cli-notifications\node_modules\ember-css-modules\node_modules\broccoli-css-modules\index.js:105:20)
...
Windows: 10 Pro node: 4.4.7 npm: 3.10.8 ember-cli: 2.8.0
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
ember server - throws error - not able to run the app #7158
I am getting an error with ember server how to fix this? here is the error details: PS F:\EmberJS\libraray-app> ember server The Broccoli...
Read more >Cannot create a component in ember, I am met with an error ...
My code works perfectly before generating a controller. I am using broccoli-builder@2.0.1, node@v11.6.0, running on Windows 7. Add ons: amd- ...
Read more >Testing an addon's broccoli trees — issue with broccoli caches
I'm trying to fix a bug in ember-intl related to engines, and I'd like to write a test that exercises the whole build...
Read more >Why Ember CLI uses Broccoli - EmberMap
Why Ember CLI uses Broccoli. Dive into Ember CLI's history with Broccoli.js, and learn about the thorny build tool problems it solves.
Read more >ember-cli @ 3.9.0 .. 3.10.1 - Package Diff
Visual diff of the npm package 'ember-cli' comparing 3.9.0 with 3.10.1. ... Update addon and application blueprints to account for Node 6 support...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I just published
4.0.9
with updated dependencies that should fix this issue.This error is stemming from an issue further up the dependency tree. I have filed an issue with the guilty package. As soon as this is fixed, I’ll do a subsequent release of the add-on.
Sorry for the inconvenience 😄