/ / ember-cli-Bereinigungsfehler beim Erstellen von ember.js, ember-cli

ember-cli cleanup error beim Erstellen - ember.js, ember-cli

ich hatte Glut-Cl auf meinem Computer installiert und meine App lief einwandfrei, aber gestern habe ich meinen Computer formatiert, auf Windows 10 aktualisiert und versucht zu installieren Glut-Cl genau so wie vorher, aber jetzt, wenn ich versuche, meine Anwendung zu erstellen oder auszuführen, erhalte ich diesen Fehler:

Future versions of Ember CLI will not support v4.2.1. Please update to Node 0.12 or io.js.
version: 1.13.8
Cleanup error.
ENOTEMPTY: directory not empty, rmdir "C:Softwarecompanyproductclient-sideproduct2tmpconcat_with_maps-output_path-jfPUvJvW.tmp"
Error: ENOTEMPTY: directory not empty, rmdir "C:Softwarecompanyproductclient-sideproduct2tmpconcat_with_maps-output_path-jfPUvJvW.tmp"
at Error (native)
at Object.fs.rmdirSync (fs.js:763:18)
at rmkidsSync (C:Softwarecompanyproductclient-sideproduct2node_modulesember-clinode_modulesbroccoli-sourcemap-concatnode_modulesbroccoli-caching-writernode_modulesbroccoli-pluginnode_modulesquick-tempnode_modulesrimrafrimraf.js:247:11)
at rmdirSync (C:Softwarecompanyproductclient-sideproduct2node_modulesember-clinode_modulesbroccoli-sourcemap-concatnode_modulesbroccoli-caching-writernode_modulesbroccoli-pluginnode_modulesquick-tempnode_modulesrimrafrimraf.js:237:7)
at fixWinEPERMSync (C:Softwarecompanyproductclient-sideproduct2node_modulesember-clinode_modulesbroccoli-sourcemap-concatnode_modulesbroccoli-caching-writernode_modulesbroccoli-pluginnode_modulesquick-tempnode_modulesrimrafrimraf.js:150:5)
at Function.rimrafSync [as sync] (C:Softwarecompanyproductclient-sideproduct2node_modulesember-clinode_modulesbroccoli-sourcemap-concatnode_modulesbroccoli-caching-writernode_modulesbroccoli-pluginnode_modulesquick-tempnode_modulesrimrafrimraf.js:216:26)
at Object.remove (C:Softwarecompanyproductclient-sideproduct2node_modulesember-clinode_modulesbroccoli-sourcemap-concatnode_modulesbroccoli-caching-writernode_modulesbroccoli-pluginnode_modulesquick-tempindex.js:26:12)
at ReadCompat.cleanup (C:Softwarecompanyproductclient-sideproduct2node_modulesember-clinode_modulesbroccoli-sourcemap-concatnode_modulesbroccoli-caching-writernode_modulesbroccoli-pluginread_compat.js:69:13)
at ConcatWithMaps.Plugin.cleanup (C:Softwarecompanyproductclient-sideproduct2node_modulesember-clinode_modulesbroccoli-sourcemap-concatnode_modulesbroccoli-caching-writernode_modulesbroccoli-pluginindex.js:113:49)
at cleanupTree (C:Softwarecompanyproductclient-sideproduct2node_modulesember-clinode_modulesbroccolilibbuilder.js:147:17)
Build failed.
ENOENT: no such file or directory, open "C:Softwarecompanyproductclient-sideproduct2tmpconcat_with_maps-input_base_path-QzODcQgu.tmpC:Softwarecompanyproductclient-sideproduct2tmpconcat_with_maps-input_base_path-QzODcQgu.tmpember-basic-dropdowncomponentsbasic-dropdown.js"
Error: ENOENT: no such file or directory, open "C:Softwarecompanyproductclient-sideproduct2tmpconcat_with_maps-input_base_path-QzODcQgu.tmpC:Softwarecompanyproductclient-sideproduct2tmpconcat_with_maps-input_base_path-QzODcQgu.tmpember-basic-dropdowncomponentsbasic-dropdown.js"
at Error (native)
at Object.fs.openSync (fs.js:549:18)
at Object.fs.readFileSync (fs.js:397:15)
at SourceMap.addFile (C:Softwarecompanyproductclient-sideproduct2node_modulesember-clinode_modulesbroccoli-sourcemap-concatnode_modulesfast-sourcemap-concatlibsource-map.js:68:19)
at ConcatWithMaps.<anonymous> (C:Softwarecompanyproductclient-sideproduct2node_modulesember-clinode_modulesbroccoli-sourcemap-concatconcat-with-maps.js:96:17)
at Array.forEach (native)
at ConcatWithMaps.addFiles (C:Softwarecompanyproductclient-sideproduct2node_modulesember-clinode_modulesbroccoli-sourcemap-concatconcat-with-maps.js:93:9)
at ConcatWithMaps.build (C:Softwarecompanyproductclient-sideproduct2node_modulesember-clinode_modulesbroccoli-sourcemap-concatconcat-with-maps.js:65:8)
at C:Softwarecompanyproductclient-sideproduct2node_modulesember-clinode_modulesbroccoli-sourcemap-concatnode_modulesbroccoli-caching-writerindex.js:152:21
at lib$rsvp$$internal$$tryCatch (C:Softwarecompanyproductclient-sideproduct2node_modulesember-clinode_modulesrsvpdistrsvp.js:493:16)
  • Knoten v4.2.1
  • npm v2.14.7

Aber ich habe es mit anderen Versionen probiert und das Problem blieb bestehen.

Dieselbe Anwendung funktioniert perfekt auf einem anderen Computer, auf dem auch Windows 10 und derselbe Knoten und dieselbe npm-Version installiert sind.

Wenn Sie zusätzliche Informationen benötigen, lassen Sie einen Kommentar und ich bearbeite die Frage.

Antworten:

2 für die Antwort № 1

Ich hatte heute das gleiche Problem. Es scheint, dass es einen Fehler in einem Abhängigkeitsmodul gibt:

"name": "fast-sourcemap-concat",
"version": "0.2.6"

Windows-Pfade, die mit Laufwerksbuchstaben beginnen, wie z C:/.

Im Moment habe ich es manuell behoben fast-sourcemap-concat/lib/source-map.jsFunktion _resolveFileZeile 55, Änderung:

if (this.baseDir && filename.slice(0,1) !== "/") {

zu:

if (this.baseDir && filename.slice(0,1) !== "/" && filename.slice(1,3) !== ":/") {

Scheint das Problem für mich zu beheben. Viel Glück!


1 für die Antwort № 2

Dies wurde in behoben https://github.com/ember-cli/ember-cli/issues/5055

Sie müssen Ihre Knotenmodule erneut installieren:

rm -rf node_modules
npm cache clear
npm install

0 für die Antwort № 3

Versuchen Sie, Ember CLI in Ihrem Projektverzeichnis (lokale Version) neu zu installieren. Sie können den Schritten von folgen Ember CLI GitHub-Veröffentlichungsseite - beginnen mit rm -rf node_modules bower_components dist tmp und weiter folgen Projektaktualisierung führen.