Comments (6)
@JZiebikiewicz did you follow the install steps in README? What version of node are you using?
from atlas.
@andreftavares yes, I did all steps. I use Node 4.4.5 and npm 2.15.5. Tried also Node 6, but no luck.
Maybe you've got some extra modules installed and not added to package.json? Or maybe we should try babel@6?
from atlas.
@JZiebikiewicz i'm running it using Node.js v4.2.5 and NPM v3.5.3. Did you change the version of any package on package.json? What version of babel are you running? npm list babel
from atlas.
No. Just cloned repo, npm installed and followed config instructions. I have Babel 5.8.38.
It must be something wrong with my server. On my laptop (Windows 7 64bit) API works with Node 6.2.2 and Node 4.4.5 too. On server (Ubuntu 14.04 64bit) with none of them. Really weird.
from atlas.
@andreftavares, sooo stupid mistake. I had .babelrc file from another project in parent directory. Like:
/my-project/.babelrc
/my-project/atlas/
That caused all troubles. Sorry for hassle. Your code is correct! :)
BTW, I can't use bcrypt module on Windows. I replaced it with bcrypt-nodejs 0.0.3. Requires changing imports from import bcrypt from 'bcrypt';
to import bcrypt from 'bcrypt-nodejs';
in:
\src\resources\carts\models.js
\src\resources\users\models.js
from atlas.
@JZiebikiewicz woah didn't know about that .babelrc
scenario, nice catch! Perhaps I'll add that tip to the README :)
In regards to Windows, according to this:
Windows users should make sure to have at least node 0.8.5 installed and version >= 0.7.1 of this module.
<-- So you should be fine, no?
Either way, after replacing the imports, did it work alright?
from atlas.
Related Issues (20)
- How to setup JWT_KEY ? HOT 17
- npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'. HOT 9
- Why not unit tests? HOT 2
- Design Style which you are following? HOT 3
- Can't run on Docker HOT 16
- Can't upload images HOT 4
- Integrating Paytm Payment Gateway HOT 2
- Paypal support? HOT 11
- Is this repository going to be maintained? HOT 2
- Atlas is not running on docker digital ocean HOT 2
- Atlas is not getting deployed on VPS using Dockerfile HOT 1
- Paypal HOT 1
- getting error on npm install HOT 2
- ecommerce to marketplace
- Do you have implementation for mongoose? HOT 1
- Atlas with mongoDB HOT 1
- would you consider about horizonjs? HOT 3
- Ever tested new bcrypt/node-sass modules? HOT 2
- Can't run app HOT 10
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 atlas.