Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to run npm test due to ES5->ES6? #444

Open
seeni-dev opened this issue Jun 23, 2019 · 3 comments
Open

Not able to run npm test due to ES5->ES6? #444

seeni-dev opened this issue Jun 23, 2019 · 3 comments

Comments

@seeni-dev
Copy link
Contributor

seeni-dev commented Jun 23, 2019

With the setup as is in the guide and running npm install and 'npm test` provides unrecognized tokens(due to the fact we are moving our code base to ES6) in Node8.10. Please provide the steps to make the setup procedures to install babel and modifying the config files to make it work. Need to update it in the Readme.md/Contributing.md files.

@atherdon
Copy link
Member

hmm, we have babel setup inside of each of our instances that we have at this repo. right now we moving from having one npm module into few and all of them have a babel+rollup configuration that partially work with nodejs modules. it has some issues with connecting this module to react projects, but i think with moving into ES6 we'll make it easier to fix

all things will be installed via npm install.
if npm tests doesn't work - then it's an issue with how you setup your tests

@atherdon
Copy link
Member

atherdon commented Jun 24, 2019

https://www.codementor.io/iykyvic/writing-your-nodejs-apps-using-es6-6dh0edw2o.

we're using the same things. just the latest versions of it

@atherdon
Copy link
Member

let's jump into other sub-project. i need some time in order to configure it correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants