Giter Club home page Giter Club logo

Comments (10)

woutervddn avatar woutervddn commented on July 30, 2024 2

So, i looked in to this...

Seems that in the distributed version on both MacOS and Linux there are non-unix line-endings being used in at least:

  • bin/basel-crud.js
  • bin/basel-database.js
  • bin/basel-init.js

I forked the repo to fix it, but it turned out that the windows line endings where not present here.
This leads me to conclude that it must be an issue with the build tools that placed the package on npm.

Can you rebuild this package and push it to npm again?
This version has been online on npm for a year now and it affects 2 of the 3 available platforms which is quite a huge part of your audience.

from basel.

maksbd19 avatar maksbd19 commented on July 30, 2024 1

@acidfilez thanks for your fix!

from basel.

jayralencar avatar jayralencar commented on July 30, 2024

Great!

Can You help to fix it in installation?

from basel.

MCarroll avatar MCarroll commented on July 30, 2024

Getting the same message "env: node\r: No such file or directory" tried @acidfilez fix to no avail. Returns all "Can't open : No such file or directory".

I am running a new build of Sierra 10.12.5
Fresh install of node v6.10.3

Thanks.

from basel.

jupitercl avatar jupitercl commented on July 30, 2024

@acidfilez work for me on mac 👍

from basel.

woutervddn avatar woutervddn commented on July 30, 2024

issue confirmed on Ubuntu

from basel.

jayralencar avatar jayralencar commented on July 30, 2024

Hi @woutervddn
Did you submit a Pull Request?

from basel.

woutervddn avatar woutervddn commented on July 30, 2024

Try to read my post again, the code in this repo is fine.

During the checkout to your build system the windows line endings where appended. This is due to your personal git configuration on Windows. The npm package that got build and published from there contained the these CR + LF endings where Linux and MacOS only work using LF.

DOS uses carriage return and line feed ("\r\n") as a line ending, which Unix uses just line feed ("\n").
In order to make this work the project own on npm must change his personal git configuration, rebuild and republish to npm

More information about this can be found here:
https://en.wikipedia.org/wiki/Newline

from basel.

paulossa avatar paulossa commented on July 30, 2024

Just had the same problem on Ubuntu?

Have you guys found a way to fix it?

from basel.

jayralencar avatar jayralencar commented on July 30, 2024

Finally fixed:
sudo npm install -g github:baseljs/basel#v0.1.2

from basel.

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.