Comments (10)
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.
@acidfilez thanks for your fix!
from basel.
Great!
Can You help to fix it in installation?
from basel.
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.
@acidfilez work for me on mac
from basel.
issue confirmed on Ubuntu
from basel.
Hi @woutervddn
Did you submit a Pull Request?
from basel.
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.
Just had the same problem on Ubuntu?
Have you guys found a way to fix it?
from basel.
Finally fixed:
sudo npm install -g github:baseljs/basel#v0.1.2
from basel.
Related Issues (20)
- How to Manually Add Route (Help with) HOT 12
- FYI - Duplicated controllers are added to the Index.js
- How to do a route with a parameter [Question - How to] HOT 2
- Cancel in Modal Popup leaves changes in list HOT 2
- mac os build generation issue
- Can not get the error messages back from the db. HOT 2
- Option -d does not leave a trace on a init
- Question: Nesting tabs within the Index.html HOT 2
- Enforcing Foreign Key Contstraints [HOW-TO] HOT 3
- [Foreign Key] PRAGMA db call does not work HOT 6
- basel js problem HOT 5
- packager problem HOT 1
- how to create exe (windows) from basel HOT 1
- npm install get a error during install electron-prebuilt
- Problem npm start HOT 1
- Multidimensional keys and static views
- Angular 2+ HOT 1
- Exception During Basel Init HOT 2
- adding json1 functionality
- Links do not work HOT 2
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 basel.