Giter Site home page Giter Site logo

Unable to build about vapor HOT 10 CLOSED

vapor avatar vapor commented on April 27, 2024
Unable to build

from vapor.

Comments (10)

tanner0101 avatar tanner0101 commented on April 27, 2024 2

Try rm -rf Packages

I think this is an error with SPM.

from vapor.

hex20 avatar hex20 commented on April 27, 2024 1

@redgluten you just need to set your shared folder on your host OS to chmod 777

from vapor.

redgluten avatar redgluten commented on April 27, 2024

No much better. Still the same error.

from vapor.

tanner0101 avatar tanner0101 commented on April 27, 2024

From Ubuntu 14.04

tanner@Albert:~/test$ git clone [email protected]:tannernelson/vapor-example.git
Cloning into 'vapor-example'...
remote: Counting objects: 154, done.
remote: Compressing objects: 100% (72/72), done.
remote: Total 154 (delta 37), reused 0 (delta 0), pack-reused 77
Receiving objects: 100% (154/154), 3.59 MiB | 0 bytes/s, done.
Resolving deltas: 100% (69/69), done.
Checking connectivity... done.
tanner@Albert:~/test$ cd vapor-example/
tanner@Albert:~/test/vapor-example$ swift build
Cloning https://github.com/tannernelson/vapor.git
Using version 0.1.4 of package vapor
Compiling Swift Module 'Vapor' (18 sources)
Linking Library:  .build/debug/Vapor.a
Compiling Swift Module 'VaporApp' (2 sources)
Linking Executable:  .build/debug/VaporApp
tanner@Albert:~/test/vapor-example$ 

I am running Swift 3.0, but that shouldn't be changing anything. I was using 2.2 just a few days ago.

tanner@Albert:~/test/vapor-example$ swift --version
Swift version 3.0-dev (LLVM f95d47afa7, Clang f66c5bb67b, Swift b745691a38)
Target: x86_64-unknown-linux-gnu

from vapor.

redgluten avatar redgluten commented on April 27, 2024

I forgot to say that I’m running Ubuntu using vagrant maybe it’s an issue with file sharing?

In the meantime I’m running Vapor from OS X, works great. 👍

from vapor.

tanner0101 avatar tanner0101 commented on April 27, 2024

I've successfully used it on Ubuntu 15.10 with VirtualBox.

But possibly if you're mapping the files using Vagrant that could be creating an issue. Maybe some permissions stuff. Try cloning it in a non-shared directory and see if that works.

Glad to hear it's working on OS X. :)

from vapor.

hex20 avatar hex20 commented on April 27, 2024

Yeah i'm also having the same vagrant issue

from vapor.

tanner0101 avatar tanner0101 commented on April 27, 2024

The Swift Package Manager is still in its early phases. :\

Swift has a bug tracker at https://bugs.swift.org/secure/Dashboard.jspa You should report your Vagrant setup (config files, version, etc) there alongside the full error message.

The main SPM repository is here https://github.com/apple/swift-package-manager

from vapor.

tanner0101 avatar tanner0101 commented on April 27, 2024

@hex20 sweet.

from vapor.

redgluten avatar redgluten commented on April 27, 2024

@hex20 Ok I’ll try that thanks.

from vapor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.