2017-10-05 11 views
0

私はWebアプリケーションAngular in Herokuをインストールしましたが、動作しません。 私はインターネットで見つけた多くの解決策を試しましたが、結果はありません。HerokuアプリケーションエラーAngularjsとGulp

package.json

{ 
    "name": "yoangular", 
    "version": "0.0.0", 
    "dependencies": {}, 
    "scripts": { 
    "start": "npm start" 
    }, 
    "devDependencies": { 
    "gulp": "~3.9.0", 
    "gulp-autoprefixer": "~3.0.2", 
    "gulp-angular-templatecache": "~1.8.0", 
    "del": "~2.0.2", 
    "lodash": "~3.10.1", 
    "gulp-cssnano": "~2.1.1", 
    "gulp-filter": "~3.0.1", 
    "gulp-flatten": "~0.2.0", 
    "gulp-eslint": "~1.0.0", 
    "eslint-plugin-angular": "~0.12.0", 
    "gulp-load-plugins": "~0.10.0", 
    "gulp-size": "~2.0.0", 
    "gulp-uglify": "~1.4.1", 
    "gulp-useref": "~3.0.3", 
    "gulp-util": "~3.0.6", 
    "gulp-ng-annotate": "~1.1.0", 
    "gulp-replace": "~0.5.4", 
    "gulp-rename": "~1.2.2", 
    "gulp-rev": "~6.0.1", 
    "gulp-rev-replace": "~0.4.2", 
    "gulp-htmlmin": "~1.3.0", 
    "gulp-inject": "~3.0.0", 
    "gulp-protractor": "~2.1.0", 
    "gulp-sourcemaps": "~1.6.0", 
    "gulp-sass": "~2.0.4", 
    "gulp-angular-filesort": "~1.1.1", 
    "main-bower-files": "~2.9.0", 
    }, 
    "engines": { 
    "node": ">=0.10.0" 
    }, 
    "main": "gulpfile.js", 
    "author": "", 
    "license": "ISC", 
    "description": "" 
} 

Herokuのログ

2017-10-05T19:54:38.573601 + 00:00アプリ[web.1]:NPM ERR!終了ステータス134
2017-10-05T19:54:38.573414 + 00:00 app [web.1]:npm ERR! [email protected] start:npm start
2017-10-05T19:54:38.573866 + 00:00 app [web.1]:npm ERR!
2017-10-05T19:54:38.574111 + 00:00 app [web.1]:npm ERR! [email protected]開始スクリプトで失敗しました。
2017-10-05T19:54:38.574295 + 00:00 app [web.1]:npm ERR!これはnpmの問題ではないでしょう。上記のログ出力が追加される可能性があります。
2017-10-05T19:54:38.579163 + 00:00 app [web.1]:npm WARNローカルpackage.jsonは存在しますが、node_modulesがありません。 2017-10-05T19:54:38.580016 + 00:00アプリ[web.1]:

答えて

0

あなただけdevDependenciesが定義されています。

私はあなたのためにいくつかの普通の依存関係を定義する必要があると思います。あなたのアプリ。

通常、devDependenciesは、開発およびテスト中にのみインストールされます。

製造時に依存関係モジュールをインストールします。

https://docs.npmjs.com/files/package.json#dependencies

関連する問題