Comments (5)
@Andela-callen @adamwardecki I think actually that kind of format of the endpoint name can create lot more of such problems and for now should be forbidden. Fo example if file
parameter is not specified Syncano will search for src/<filename>.js
... with path separator in it that can be troublesome.
from syncano-node.
Haven't tested it but checked the code and seems that it should look for src/charge/createCharges.js
in this case and work correctly with path separators
from syncano-node.
@23doors do you think we should support it? It is a nice twist, but it is not gonna work with windows (not sure if we will ever try to bring support in non-linux env).
from syncano-node.
@mkucharz hm. It should work on windows as well. Unless I misunderstood something. Backend should deal with it normally (as we're dealing with a zipfile anyway so path delimeter is always the same for us) and node also seem to always use '/' in require
as path delimeter (at least I wasn't able to find any info about it being different). So it seems there is no harm in adding support for it in s call
as well.
from syncano-node.
@23doors @Andela-callen ok, I'll try to support that feature then
from syncano-node.
Related Issues (20)
- File that contains @ in its name isn't being served from hosting HOT 1
- Information of required node version in cli
- Delete instance description should say 'Delete an Instance' HOT 1
- Take 500 records per request instead of 100
- [VERY minor issue][Look&Feel]Clicking on "Reset Password" button when email exists.
- hosting.listFiles() is listing only first 100 files
- npx s hosting sync should update hosting configuration
- Docs generator based on syncano.yml
- npx s add is not working HOT 2
- Support process.env.SYNCANO_AUTH_KEY in core settings
- Better handling of multiple Sockets with the same name
- "Too many values provided for \"in\" lookup of field \"owner\". Max 128." HOT 1
- Cannot attach instance & instances list on info doesn't work
- Can't create a new user (database) when using EU1 location
- Returns the same result as last query
- CLI invitations issue
- Unhandled error when not logged in.
- Cli project validation
- Unable to install CLI on Windows 10 HOT 2
- Syncano CLI won't install correctly on fresh machine on macOS
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 syncano-node.