我是一個node.js初學者。 我使用bower install和npm install來安裝依賴關係。隨後 每當我運行命令燼服務我收到以下錯誤。 我確保使用npm install安裝了一個howler.js。與rsvp相同的東西。Node JS ENOENT - 沒有這樣的文件或目錄
我的node.js是4.5.0 我NPM是2.15.9
我該如何解決這個問題呢?我試圖找到Stack & Google,但找不到任何可以指出我解決問題的答案。 謝謝。
Error: ENOENT: no such file or directory, stat '/Users/januszchudzynski/Desktop/Repositories/perfectour-web-private/tmp/source_map_concat-input_base_path-3cMSiSIf.tmp/0/bower_components/howler.js/dist/howler.js'
at Error (native)
at Object.fs.statSync (fs.js:844:18)
at Concat.keyForFile (/Users/januszchudzynski/Desktop/Repositories/perfectour-web-private/node_modules/ember-cli/node_modules/broccoli-concat/node_modules/broccoli-caching-writer/index.js:87:20)
at Array.map (native)
at Concat.CachingWriter._conditionalBuild (/Users/januszchudzynski/Desktop/Repositories/perfectour-web-private/node_modules/ember-cli/node_modules/broccoli-concat/node_modules/broccoli-caching-writer/index.js:109:65)
at /Users/januszchudzynski/Desktop/Repositories/perfectour-web-private/node_modules/ember-cli/node_modules/broccoli-concat/node_modules/broccoli-caching-writer/node_modules/broccoli-plugin/read_compat.js:61:34
at tryCatch (/Users/januszchudzynski/Desktop/Repositories/perfectour-web-private/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:538:12)
at invokeCallback (/Users/januszchudzynski/Desktop/Repositories/perfectour-web-private/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:553:13)
at publish (/Users/januszchudzynski/Desktop/Repositories/perfectour-web-private/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:521:7)
at flush (/Users/januszchudzynski/Desktop/Repositories/perfectour-web-private/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:2373:5)
{
"name": "****",
"dependencies": {
"ember": "~2.3.1",
"ember-cli-shims": "0.1.0",
"ember-cli-test-loader": "0.2.1",
"ember-load-initializers": "0.1.7",
"ember-qunit": "0.4.16",
"ember-qunit-notifications": "0.1.0",
"ember-resolver": "~0.1.20",
"jquery": "1.11.3",
"loader.js": "ember-cli/loader.js#3.4.0",
"qunit": "~1.20.0",
"bootstrap": "~3.3.5",
"firebase": "^2.1.0",
"filesaver": "*",
"hls.js":"*",
"howler.js":"*"
}
}
{
"name": "****",
"version": "0.1.6",
"description": "****",
"private": true,
"directories": {
"doc": "doc",
"test": "tests"
},
"scripts": {
"build": "ember build",
"start": "ember server",
"test": "ember test"
},
"repository": "",
"engines": {
"node": ">= 0.10.0"
},
"author": "",
"license": "MIT",
"devDependencies": {
"ember-ajax": "0.7.1",
"ember-bootstrap": "0.6.0",
"ember-cli": "2.3.0",
"ember-cli-app-version": "^1.0.0",
"ember-cli-babel": "^5.1.5",
"ember-cli-content-security-policy": "0.4.0",
"ember-cli-dependency-checker": "1.2.0",
"ember-cli-htmlbars": "^1.0.1",
"ember-cli-htmlbars-inline-precompile": "^0.3.1",
"ember-cli-inject-live-reload": "^1.3.1",
"ember-cli-moment-shim": "1.0.0",
"ember-cli-qunit": "^1.2.1",
"ember-cli-release": "0.2.8",
"ember-cli-sass": "^5.2.1",
"ember-cli-sri": "^2.0.0",
"ember-cli-uglify": "^1.2.0",
"ember-data": "^2.3.0",
"ember-disable-proxy-controllers": "^1.0.1",
"ember-export-application-global": "^1.0.4",
"ember-g-map": "0.0.13",
"ember-hifi": "1.1.3",
"ember-load-initializers": "^0.5.0",
"ember-moment": "6.0.0",
"ember-resolver": "^2.0.3",
"ember-sortable": "1.8.1",
"ember-truth-helpers": "1.2.0",
"emberfire": "1.6.4",
"loader.js": "^4.0.0",
"moment": "2.11.2",
"moment-timezone": "0.5.0",
"torii": "0.6.1",
"ui-download": "0.3.3"
}
}
嗨,你在試圖建立?錯誤似乎有點通用,正如你在相關問題中看到的那樣。如果可能的話,請提供更多細節。 – Sombriks
我正在構建使用ember.js的web應用程序。你還想知道什麼? –
最好的可能是Windows機器上的長路徑錯誤,然而根據你的錯誤輸出,你也可以進入osx機器。你的盒子是windows還是osx? – Sombriks