0
這裏可能需要一些小內容......我將文件從舊Ember項目複製到新目錄中以繼續處理它。錯誤。玩完nvm,涼亭,紗等後,我已經清理了大部分東西。還有一個缺陷。當我運行ember test --server
時,我留下了一個拒絕消失的消息。我已經使用新項目的名稱更新了我的environment.js文件,我搜索了project.json,bower.json等。我運行了紗線。仍然錯誤仍然存在。我已經清除了npm和bower緩存,並且安裝了新鮮的,刪除了我的node_modules和bower_components文件夾......在這一點上我很惱火。使用舊項目目錄的驗收模塊
這裏是全亂我已經得到(或多或少):
Died on test #1 at TestLoader.moduleLoadFailure (http://localhost:7357/assets/test-support.js:6468:11)
at TestLoader.require (http://localhost:7357/assets/test-loader.js:69:14)
at TestLoader.loadModules (http://localhost:7357/assets/test-loader.js:58:18)
at Function.TestLoader.load (http://localhost:7357/assets/test-loader.js:89:24)
at http://localhost:7357/assets/test-support.js:6477:16: Could not find module `new-project-directory/tests/helpers/module-for-acceptance` imported from `old-project-directory/tests/acceptance/game-test`@ 2 ms
Source:
Error: Could not find module `new-project-directory/tests/helpers/module-for-acceptance` imported from `old-project-directory/tests/acceptance/game-test`
at missingModule (http://localhost:7357/assets/vendor.js:237:11)
at findModule (http://localhost:7357/assets/vendor.js:248:7)
at Module.findDeps (http://localhost:7357/assets/vendor.js:182:24)
at findModule (http://localhost:7357/assets/vendor.js:252:11)
at requireModule (http://localhost:7357/assets/vendor.js:35:15)
at TestLoader.require (http://localhost:7357/assets/test-loader.js:67:9)
at TestLoader.loadModules (http://localhost:7357/assets/test-loader.js:58:18)
at Function.TestLoader.load (http://localhost:7357/assets/test-loader.js:89:24)
at http://localhost:7357/assets/test-support.js:6477:16