Giter VIP home page Giter VIP logo

Comments (8)

justintaylor-dev avatar justintaylor-dev commented on May 26, 2024 2

Thanks for the PR @timhaywood! hyperbrew/create-bolt-cep#1

@fartinmartin Fix has been merged and should be working in 0.2.5, or next time you run yarn create bolt-cep

from bolt-cep.

fartinmartin avatar fartinmartin commented on May 26, 2024 1

Awesome, thank you both!

@justintaylor-dev, having played around with this project a bit I just wanted to say it's awesome—I appreciate you making, maintaining, and open-sourcing it!

from bolt-cep.

justintaylor-dev avatar justintaylor-dev commented on May 26, 2024

Are you using Node 16 or above?

from bolt-cep.

fartinmartin avatar fartinmartin commented on May 26, 2024

Yeah, v16.13.0

from bolt-cep.

justintaylor-dev avatar justintaylor-dev commented on May 26, 2024

What OS and version are you on?

from bolt-cep.

fartinmartin avatar fartinmartin commented on May 26, 2024

npx envinfo --system --binaries output:

System:
  OS: macOS 12.3
  CPU: (8) arm64 Apple M1
  Memory: 2.23 GB / 16.00 GB
  Shell: 5.8 - /bin/zsh
Binaries:
  Node: 16.13.0 - ~/.nvm/versions/node/v16.13.0/bin/node
  Yarn: 1.22.17 - /opt/homebrew/bin/yarn
  npm: 8.5.2 - ~/.nvm/versions/node/v16.13.0/bin/npm

Worried it may be an M1 thing, I tested the same yarn create ... command and got the same error on another machine with this npx envinfo --system --binaries output:

System:
  OS: macOS 12.3.1
  CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
  Memory: 204.94 MB / 16.00 GB
  Shell: 5.8 - /bin/zsh
Binaries:
  Node: 16.15.0 - /usr/local/bin/node
  Yarn: 1.22.15 - ~/.npm-global/bin/yarn
  npm: 8.5.5 - /usr/local/bin/npm

from bolt-cep.

timhaywood avatar timhaywood commented on May 26, 2024

It looks like this is endeed a line endings issue, the built file has CRLF line endings (windows) rather than LF. Can confirm the line endings on the file here: https://unpkg.com/[email protected]/index.js

@justintaylor-dev I assume you're building on Windows, and not getting the error? I also got the error on macOS.

Also wonder if this issue would better suited to @hyperbrew/create-bolt-cep repo?

Solution

Should be able to output LF line endings by specifying the newLine TypeScript compiler option.

Pull request opened here: hyperbrew/create-bolt-cep#1

from bolt-cep.

justintaylor-dev avatar justintaylor-dev commented on May 26, 2024

@fartinmartin awesome to hear, glad to see people putting it to use!

from bolt-cep.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.