Comments (4)
I am experiencing the same problem on Linux! Although I feel like sometimes it worked, lately it does not seem to work hm. I wonder if even prisma migrate-save
allows spaces? Or is this a mistake on our side?
How to go about this: First, check how prisma migrate-save
works, if they allow space in the migration name. If not, that is it, we will also not allow it. If they do allow it, figure out why we don't -> are we incorrectly passing the arg(uments) to prisma migrate-save
? Maybe we need to wrap them in ""
? Just guessing.
from wasp.
Tried to reproduce again, but couldn't, seems it is working now. Prisma is allowing spaces.
I also checked out the implementation and that also looks ok - proc
from System.Process
accepts a list of arguments and getArgs
from System.Environment
parses e.g. "Add user"
into ["Add user"]
-> removes the quotes but keeps it as one string. So I believe that proc
which accepts a [String]
of args knows how to handle a string with spaces.
from wasp.
Managed to reproduce it: happens only in development, when running e.g. ./run wasp db migrate-save "some name"
. Investigate further, try with stack exec instead of run.
from wasp.
We deprecated migrate-save, now it is migrate-dev and name is asked for interactively.
from wasp.
Related Issues (20)
- Wasp not working with node 22.5.0 (this is npm bug, not Wasp!) HOT 2
- Wasp doesn't correctly detect failed npm install and continues instead of stopping
- Replace GPT 3.5 in Mage with GPT 4o mini
- Add "Production advice" to the docs
- On wasp db migrate-dev, if TS compilation failed, we don't do actual migration
- Allow users to configure the websocket client
- Add support for multiple servers
- `useQuery` doesn't handle errors thrown from wasp operation HOT 1
- Allow more complex CORS setups HOT 1
- wrong url after deployment HOT 1
- ERR_MODULE_NOT_FOUND on build (reproducible with fresh install) HOT 1
- Refactor database engine definitions HOT 1
- Unit test all of our framework code HOT 1
- Make Ext import extensions consitent HOT 7
- Implement proper import mappings in SDK generator
- Deployment issue, project works on dev, deployed behind apache there is an odd "Hello world" route HOT 1
- `wasp deps` command doesn't output the SDK deps HOT 1
- Expose PgBoss instance as part of public API
- Rename "client unit tests" to something more appropriate HOT 1
- Server URL gets reset on the client in new deployments on Fly HOT 1
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 wasp.