Comments (10)
Try rm -rf Packages
I think this is an error with SPM.
from vapor.
@redgluten you just need to set your shared folder on your host OS to chmod 777
from vapor.
No much better. Still the same error.
from vapor.
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.
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.
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.
Yeah i'm also having the same vagrant issue
from vapor.
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.
@hex20 sweet.
from vapor.
@hex20 Ok I’ll try that thanks.
from vapor.
Related Issues (20)
- vapor and toolbox compile error on arch linux HOT 1
- double slash in URL no longer matches route handlers HOT 3
- URI semantics are broken HOT 1
- commùit
- Double slash in URLs still breaks route matching with variable parts in vapor 4.92.0 HOT 2
- Trying to build on Ubuntu 20 with swift run and getting Building for debugging... error: emit-module command failed due to signal 9 HOT 2
- Unable to shutdown server HOT 1
- Title
- Vapor URLQueryContainer no longer supports valueless query parameters HOT 4
- Swift Vapor-Save records in Mysql JSON data type during mapping with swift get error- Could not convert MySQL data to String: <MYSQL_TYPE_JSON HOT 6
- Large, streamed request body may result in noSignalReceived preconditionFailure crash HOT 6
- Websocket shouldUpgrade() fail causes empty reply from server HOT 4
- Cannot setup a route returning `[Int: String]` HOT 7
- Log actual port when it's picked by the OS
- 'Flag' URL Query params don't decode into structs HOT 3
- HEAD response should allow non-zero Content-Length HOT 3
- Authentication Cache + Storage crash application HOT 2
- Default to `HTTPClient.shared` when possible HOT 1
- URLFormEncoder does not escape all reserved characters HOT 3
- Return 415 error if compressed request is detected, but not supported
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vapor.