Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: ConcatWithMaps: nothing matched when running ember server #4950

Closed
codedbypaul opened this issue Oct 13, 2015 · 23 comments
Closed

Error: ConcatWithMaps: nothing matched when running ember server #4950

codedbypaul opened this issue Oct 13, 2015 · 23 comments

Comments

@codedbypaul
Copy link

I'm having an issue running ember server after a clean Ember install.

Here's the output:

version: 1.13.8
Livereload server on http://localhost:49152
Serving on http://localhost:4200/
ConcatWithMaps: nothing matched [vendor/ember-cli/vendor-prefix.js,bower_components/loader.js/loader.js,bower_components/jquery/dist/jquery.js,bower_components/ember/ember.debug.js,bower_components/ember-cli-shims/app-shims.js,bower_components/ember-resolver/dist/modules/ember-resolver.js,bower_components/ember-load-initializers/ember-load-initializers.js,vendor/ic-ajax/dist/named-amd/main.js,bower_components/ember-data/ember-data.js,vendor/addons.js,vendor/ember-cli/vendor-suffix.js]
Error: ConcatWithMaps: nothing matched [vendor/ember-cli/vendor-prefix.js,bower_components/loader.js/loader.js,bower_components/jquery/dist/jquery.js,bower_components/ember/ember.debug.js,bower_components/ember-cli-shims/app-shims.js,bower_components/ember-resolver/dist/modules/ember-resolver.js,bower_components/ember-load-initializers/ember-load-initializers.js,vendor/ic-ajax/dist/named-amd/main.js,bower_components/ember-data/ember-data.js,vendor/addons.js,vendor/ember-cli/vendor-suffix.js]
    at ConcatWithMaps.addFiles (/Applications/MAMP/htdocs/clients/unesco/ict/node_modules/ember-cli/node_modules/broccoli-sourcemap-concat/concat-with-maps.js:90:11)
    at ConcatWithMaps.build (/Applications/MAMP/htdocs/clients/unesco/ict/node_modules/ember-cli/node_modules/broccoli-sourcemap-concat/concat-with-maps.js:65:8)
    at /Applications/MAMP/htdocs/clients/unesco/ict/node_modules/ember-cli/node_modules/broccoli-sourcemap-concat/node_modules/broccoli-caching-writer/index.js:151:21
    at lib$rsvp$$internal$$tryCatch (/Applications/MAMP/htdocs/clients/unesco/ict/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:493:16)
    at lib$rsvp$$internal$$invokeCallback (/Applications/MAMP/htdocs/clients/unesco/ict/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:505:17)
    at lib$rsvp$$internal$$publish (/Applications/MAMP/htdocs/clients/unesco/ict/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:476:11)
    at lib$rsvp$asap$$flush (/Applications/MAMP/htdocs/clients/unesco/ict/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:1198:9)
    at process._tickCallback (node.js:355:11)

When I set up Ember a few weeks back I didn't run into this problem.

Any ideas?

@mhenley-uk
Copy link

+1 I've just started getting this on a new application in the last hour or so.

@gaborsar
Copy link

+1

4 similar comments
@gannetson
Copy link

+1

@Miz85
Copy link

Miz85 commented Oct 13, 2015

+1

@maxrb
Copy link

maxrb commented Oct 13, 2015

+1

@ibrayem
Copy link

ibrayem commented Oct 13, 2015

+1

@ianwalter
Copy link

More +1's are not necessary, a lot of people are having this problem.

@jimmityglick
Copy link

+1

@YoranBrondsema
Copy link

I'm not sure if it's this but I compared the results of npm install when it worked and when it doesn't work. The package broccoli-caching-writer was the only difference, it updated two hours ago to 2.0.2 (see https://github.com/ember-cli/broccoli-caching-writer/releases/tag/v2.0.2). Maybe @stefanpenner knows if it could be related?

@PavelBastov
Copy link

+1

1 similar comment
@DCKT
Copy link

DCKT commented Oct 13, 2015

+1

@gannetson
Copy link

Switching to broccoli-caching-writer 2.0.1 or 0.6.1 doesn't seem to fix it.

@AnthonyLiu
Copy link

me too, and only for new apps.

I guess some issue with source

@gaborsar
Copy link

The error comes from the following package: broccoli-sourcemap-concat
Installed version: 1.1.5
Latest version: 2.0.1

@Sinled
Copy link

Sinled commented Oct 13, 2015

+1 I`ve got this problem after removing node modules\bower packages and reinstalling them in existing project.

@ballPointPenguin
Copy link
Contributor

Band-Aid
adding this to my package.json fixed the issue for me:

    "broccoli-caching-writer": "2.0.1",

@rwjblue
Copy link
Member

rwjblue commented Oct 13, 2015

I reverted the changes that caused the issues in broccoli-caching-writer (in ember-cli/broccoli-caching-writer#59) and released v2.0.3 (which is the same as the previously published 2.0.1).

Running the following should bring things back to a working state:

rm -rf node_modules && npm cache clear && npm install

@mmarignoli
Copy link

is there any way that this can be prevented? something like a gemfile.lock?

@YoranBrondsema
Copy link

@mmarignoli There's npm shrinkwrap (https://docs.npmjs.com/cli/shrinkwrap).

@rwjblue rwjblue closed this as completed Oct 13, 2015
@Miz85
Copy link

Miz85 commented Oct 13, 2015

Everything's working again, thanks a lot @rwjblue

@codedbypaul
Copy link
Author

Working here too. Thanks @rwjblue

@heerqa
Copy link

heerqa commented Nov 11, 2015

I am still facing the same issue:

ember build is giving me following error:
Build failed.
ENOENT, no such file or directory 'C:\Users\HEER\emberJS\showapp\tmp\concat_with
_maps-input_base_path-gcW8DIqN.tmp\0\C:\Users\HEER\emberJS\showapp\tmp\concat_wi
th_maps-input_base_path-gcW8DIqN.tmp\0\ember-cli-app-version\components\app-vers
ion.js'
Error: ENOENT, no such file or directory 'C:\Users\HEER\emberJS\showapp\tmp\conc
at_with_maps-input_base_path-gcW8DIqN.tmp\0\C:\Users\HEER\emberJS\showapp\tmp\co
ncat_with_maps-input_base_path-gcW8DIqN.tmp\0\ember-cli-app-version\components\a
pp-version.js'
at Error (native)
at Object.fs.openSync (fs.js:500:18)
at Object.fs.readFileSync (fs.js:352:15)
at SourceMap.addFile (C:\Users\HEER\emberJS\showapp\node_modules\ember-cli\n
ode_modules\broccoli-sourcemap-concat\node_modules\fast-sourcemap-concat\lib\sou
rce-map.js:68:19)
at ConcatWithMaps. (C:\Users\HEER\emberJS\showapp\node_modules\em
ber-cli\node_modules\broccoli-sourcemap-concat\concat-with-maps.js:96:17)
at Array.forEach (native)
at ConcatWithMaps.addFiles (C:\Users\HEER\emberJS\showapp\node_modules\ember
-cli\node_modules\broccoli-sourcemap-concat\concat-with-maps.js:93:9)
at ConcatWithMaps.build (C:\Users\HEER\emberJS\showapp\node_modules\ember-cl
i\node_modules\broccoli-sourcemap-concat\concat-with-maps.js:65:8)
at C:\Users\HEER\emberJS\showapp\node_modules\ember-cli\node_modules\broccol
i-sourcemap-concat\node_modules\broccoli-caching-writer\index.js:152:21
at lib$rsvp$$internal$$tryCatch (C:\Users\HEER\emberJS\showapp\node_modules
ember-cli\node_modules\rsvp\dist\rsvp.js:493:16)

@stefanpenner
Copy link
Contributor

@heerqa #5055 \w fix ef4/broccoli-sourcemap-concat#29 hopefully releasing in the next hour or two.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests