Comments (4)
@tbillington i assume you have git installed? what version of OSX? I use stable on OSX without issue every day. I'm unable to reproduce.
from pony-stable.
OSX 10.12.6
I tried your commands in a fresh directory and it worked :) !
It seems that having a malformed bundle.json in the directory prevented stable from doing anything. As you can see from my terminal history below running add gave no output.
~/pwildlife > stable add oraoto/pony-websocket
Couldn't find type 'oraoto/pony-websocket'.
Available types are github, local-git, and local.
~/pwildlife > stable add github oraoto/pony-websocket
~/pwildlife > cat bundle.json
{}
~/pwildlife > ls
bundle.json main.pony pwildlife
~/pwildlife > stable env ponyc
Building builtin -> /usr/local/Cellar/ponyc/0.20.0/packages/builtin
Building . -> /Users/trent/pwildlife
Error:
websocket: couldn't locate this path
Error:
/Users/trent/pwildlife/main.pony:1:1: can't load package 'websocket'
use "websocket"
^
from pony-stable.
@tbillington do you have a "malformed" bundle.json we can use to test with so we can verify we fixed the issue?
from pony-stable.
{
"type": "github",
"repo": "oraoto/pony-websocket"
}
and
{}
If the bundle.json is an empty file there is an error message, that's why I thought it was strange when there was no output for the above incorrectly formed bundle.json.
> stable add github oraoto/pony-websocket
JSON error at: /Users/trent/pwildlife/bundle.json:1 : Unexpected EOF in top level value
JSON error at: /Users/trent/pwildlife/bundle.json:1 : Unexpected EOF in top level value
JSON error at: /Users/trent/pwildlife/bundle.json:1 : Unexpected EOF in top level value
from pony-stable.
Related Issues (20)
- git submodules are not initialized on fetch
- Remove usage of `regex`
- Turn "regex" code back on in integration test
- Release 0.2.1 HOT 8
- Remove extra apt-get calls in circleci config
- Revisit how version is set HOT 2
- Update release process and release script to add new features
- Get a release into cloudsmith so ponyup works
- Appveyor setup doesn't trigger release
- Update Linux installation instructions
- Tack - 0.1.0 release HOT 3
- pony-stable Arch package seems broken for some CPUs HOT 3
- illegal hardware instruction HOT 3
- Add FreeBSD support
- "integration.Env(invalid bundle.json in nested dir)" test periodically fails HOT 3
- Release 0.1.5 and 0.1.6 HOT 19
- Release 0.2.0 HOT 15
- Use `cli` package to define the command line instead of deprecated `options` package HOT 1
- Syntax errors when trying to build from source on Windows 10 HOT 4
- Builds that contain cyclic dependencies cause an infinite loop HOT 2
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 pony-stable.