Skip to content
#

prisma

Here are 1,124 public repositories matching this topic...

prisma
binary64
binary64 commented Aug 2, 2021

Bug description

On windows, I run prisma format and note the unusual file ending. The lines are all LF, but the very last line is CRLF.

This causes issue on my Linux CI where it formats it ending in LF's only, causing a diff to occur and the build to fail.

How to reproduce

  1. On windows do prisma format
  2. Open in HxD or similar
  3. See attached:

![image](https://user-images.g

blitz
flybayer
flybayer commented Oct 7, 2021

What is the problem?

As you can see in the below log, it's hard to read and parse the error message.

  • It shouldn't have a stack trace
  • It should list all duplicate routes if there are more than one
  • It should have a more easy to read message like below
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
info  - Loaded env from /Users/b/c/ahts/homesc
cjreimer
cjreimer commented Oct 6, 2021

yarn rw g types is very helpful and indicates errors, such as below.

Generating...

Not all operations have an unique name: UpdateMilestoneMutation
Not all operations have an unique name: UpdateMilestoneMutation

Error: Could not generate GraphQL type definitions (web)

The type generation is also called automatically via various other redwood operations. If not paying atten

Improve this page

Add a description, image, and links to the prisma topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the prisma topic, visit your repo's landing page and select "manage topics."

Learn more