Skip to content
This repository was archived by the owner on Feb 13, 2023. It is now read-only.
This repository was archived by the owner on Feb 13, 2023. It is now read-only.

I tried deploying an asp.net core 1.0.0 application on Heroku but failed #14

@jailce2017

Description

@jailce2017

Buildpack: http://github.com/noliar/dotnet-buildpack.git
stack: cedar-14

Counting objects: 91, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (84/84), done.
Writing objects: 100% (91/91), 515.12 KiB | 0 bytes/s, done.
Total 91 (delta 5), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> ASP.NET Core app detected
remote: Installing Node
remote: Installing bower
remote: npm WARN deprecated bower@1.8.2: ...psst! Your project can stop working at any moment because its dependencies can change. Prevent this by migrating to Yarn: https://bower.io/blog/2017/how-to-migrate-away-from-bower/
remote: /tmp/tmp.aUoPRtFmYb/node-v4.4.4-linux-x64/bin/bower -> /tmp/tmp.aUoPRtFmYb/node-v4.4.4-linux-x64/lib/node_modules/bower/bin/bower remote: bower@1.8.2 /tmp/tmp.aUoPRtFmYb/node-v4.4.4-linux-x64/lib/node_modules/bower
remote: Get .NET Core Version and Channel from the PROJECT
remote: Get version from global.json
remote: Installing the dependencies
remote: Install package
remote: -----> Cleaning apt caches
remote: -----> Updating apt caches
remote: Ign http://archive.ubuntu.com trusty InRelease
remote: Get:1 http://archive.ubuntu.com trusty-security InRelease [65.9 kB]
remote: Get:2 http://apt.postgresql.org trusty-pgdg InRelease [56.4 kB]
remote: Get:3 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
remote: Get:4 http://archive.ubuntu.com trusty Release.gpg [933 B]
remote: Get:5 http://archive.ubuntu.com trusty Release [58.5 kB]
remote: Get:6 http://apt.postgresql.org trusty-pgdg/main amd64 Packages [84.3 kB]
remote: Get:7 http://archive.ubuntu.com trusty-security/main amd64 Packages [700 kB]
remote: Ign http://apt.postgresql.org trusty-pgdg/main Translation-en_US
remote: Ign http://apt.postgresql.org trusty-pgdg/main Translation-en
remote: Get:8 http://archive.ubuntu.com trusty-security/universe amd64 Packages [200 kB]
remote: Get:9 http://archive.ubuntu.com trusty-security/main Translation-en [375 kB]
remote: Get:10 http://archive.ubuntu.com trusty-security/universe Translation-en [113 kB]
remote: Get:11 http://archive.ubuntu.com trusty-updates/main amd64 Packages [1,048 kB]
remote: Get:12 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [438 kB]
remote: Get:13 http://archive.ubuntu.com trusty-updates/main Translation-en [517 kB]
remote: Get:14 http://archive.ubuntu.com trusty-updates/universe Translation-en [237 kB]
remote: Get:15 http://archive.ubuntu.com trusty/main amd64 Packages [1,350 kB]
remote: Get:16 http://archive.ubuntu.com trusty/universe amd64 Packages [5,859 kB]
remote: Get:17 http://archive.ubuntu.com trusty/main Translation-en [762 kB]
remote: Get:18 http://archive.ubuntu.com trusty/universe Translation-en [4,089 kB]
remote: Ign http://archive.ubuntu.com trusty/main Translation-en_US
remote: Ign http://archive.ubuntu.com trusty/universe Translation-en_US
remote: Fetched 16.0 MB in 10s (1,522 kB/s)
remote: Reading package lists...
remote: -----> Fetching .debs for libunwind8
remote: Reading package lists...
remote: Building dependency tree...
remote: The following NEW packages will be installed:
remote: libunwind8
remote: 0 upgraded, 1 newly installed, 0 to remove and 59 not upgraded.
remote: Need to get 48.3 kB of archives.
remote: After this operation, 194 kB of additional disk space will be used.
remote: Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main libunwind8 amd64 1.1-2.2ubuntu3 [48.3 kB]
remote: Fetched 48.3 kB in 0s (161 kB/s)
remote: Download complete and in download only mode
remote: -----> Fetching .debs for gettext
remote: Reading package lists...
remote: Building dependency tree...
remote: The following extra packages will be installed:
remote: gettext-base libasprintf-dev libasprintf0c2 libgettextpo-dev libgettextpo0
remote: libunistring0
remote: Suggested packages:
remote: gettext-doc
remote: The following NEW packages will be installed:
remote: gettext gettext-base libasprintf-dev libasprintf0c2 libgettextpo-dev
remote: libgettextpo0 libunistring0
remote: 0 upgraded, 7 newly installed, 0 to remove and 59 not upgraded.
remote: Need to get 1,390 kB of archives.
remote: After this operation, 6,282 kB of additional disk space will be used.
remote: Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libasprintf0c2 amd64 0.18.3.1-1ubuntu3 [6,712 B]
remote: Get:2 http://archive.ubuntu.com/ubuntu/ trusty/main libunistring0 amd64 0.9.3-5ubuntu3 [271 kB]
remote: Get:3 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libgettextpo0 amd64 0.18.3.1-1ubuntu3 [108 kB]
remote: Get:4 http://archive.ubuntu.com/ubuntu/ trusty-updates/main gettext-base amd64 0.18.3.1-1ubuntu3 [48.8 kB]
remote: Get:5 http://archive.ubuntu.com/ubuntu/ trusty-updates/main gettext amd64 0.18.3.1-1ubuntu3 [829 kB]
remote: Get:6 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libasprintf-dev amd64 0.18.3.1-1ubuntu3 [4,438 B]
remote: Get:7 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libgettextpo-dev amd64 0.18.3.1-1ubuntu3 [122 kB]
remote: Fetched 1,390 kB in 1s (1,330 kB/s)
remote: Download complete and in download only mode
remote: -----> Installing gettext_0.18.3.1-1ubuntu3_amd64.deb
remote: -----> Installing gettext-base_0.18.3.1-1ubuntu3_amd64.deb
remote: -----> Installing libasprintf0c2_0.18.3.1-1ubuntu3_amd64.deb
remote: -----> Installing libasprintf-dev_0.18.3.1-1ubuntu3_amd64.deb
remote: -----> Installing libgettextpo0_0.18.3.1-1ubuntu3_amd64.deb
remote: -----> Installing libgettextpo-dev_0.18.3.1-1ubuntu3_amd64.deb
remote: -----> Installing libunistring0_0.9.3-5ubuntu3_amd64.deb
remote: -----> Installing libunwind8_1.1-2.2ubuntu3_amd64.deb
remote: APT packages Installled
remote: Installing .NET CORE 1.0.0-preview2-003131 from https://dotnetcli.blob.core.windows.net/dotnet/Sdk/rel-1.0.0/dotnet-dev-ubuntu-x64.latest.tar.gz
remote: Found 1 project.json files
remote: Building /tmp/tmp.9twbNSjSEl/src/aspnetteste/project.json
remote: Reading App Name from project.json
remote: aspnetteste
remote: Restoring the packages
remote:
remote: Welcome to .NET Core!
remote: ---------------------
remote: Learn more about .NET Core @ https://aka.ms/dotnet-docs. Use dotnet --help to see available commands or go to https://aka.ms/dotnet-cli-docs.
remote:
remote: Telemetry
remote: --------------
remote: The .NET Core tools collect usage data in order to improve your experience. The data is anonymous and does not include command-line arguments. The data is collected by Microsoft and shared with the community.
remote: You can opt out of telemetry by setting a DOTNET_CLI_TELEMETRY_OPTOUT environment variable to 1 using your favorite shell.
remote: You can read more about .NET Core tools telemetry @ https://aka.ms/dotnet-cli-telemetry.
remote:
remote: Configuring...
remote: -------------------
remote: A command is running to initially populate your local package cache, to improve restore speed and enable offline access. This command will take up to a minute to complete and will only happen once.
remote: Decompressing 100% 5115 ms
remote: Expanding 100% 17224 ms
remote: /tmp/build_c844190724032ffc3d13654f5eca3a92/dotnet/sdk/1.0.0-rc4-004933/NuGet.targets(97,5): warning : Unable to find a project to restore! [/tmp/tmp.9twbNSjSEl/aspnetteste.sln]
remote: Publishing the app
remote: Microsoft (R) Build Engine version 15.1.548.43366
remote: Copyright (C) Microsoft Corporation. All rights reserved.
remote:
remote: /tmp/tmp.9twbNSjSEl/src/aspnetteste/project.json(1,1): error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.
remote: ! Push rejected, failed to compile ASP.NET Core app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to warm-stream-77591.
remote:
To https://git.heroku.com/warm-stream-77591.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/warm-stream-77591.git'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions