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

Run versions I specify #1

Closed
coryhouse opened this issue Aug 21, 2019 · 2 comments
Closed

Run versions I specify #1

coryhouse opened this issue Aug 21, 2019 · 2 comments

Comments

@coryhouse
Copy link

coryhouse/javascript-development-environment#33

@oyedeyeye
Copy link
Owner

oyedeyeye commented Aug 24, 2019

Thank you @coryhouse .
After running the specified version. I got this error when I got to Automation.
It throws error on adding "prestart": "node buildScripts/startMessage.js",
Find the state of my files in this Commit 6cc3bd6

`C:\Users\XYXYXYXY\WEB_Project\ALC_4.0\alc-js-dev-env\buildScripts\startMessage.js:1
import chalk from 'chalk';
^^^^^

SyntaxError: Unexpected identifier
at Module._compile (internal/modules/cjs/loader.js:720:22)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:788:10)
at Module.load (internal/modules/cjs/loader.js:643:32)
at Function.Module._load (internal/modules/cjs/loader.js:556:12)
at Function.Module.runMain (internal/modules/cjs/loader.js:840:10)
at internal/main/run_main_module.js:17:11
npm ERR! code ELIFECYCLE
npm ERR! [email protected] prestart: node buildScripts/startMessage.jsnpm ERR!
npm ERR! Failed at the [email protected] prestart script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\XYXYXYXY\AppData\Roaming\npm-cache_logs\2019-08-24T06_34_38_859Z-debug.log`

@oyedeyeye
Copy link
Owner

it has been fixed @coryhouse I still have my Es6 inside startMessage.js
the Import doesn't work there.

I found this out when I got to BABEL configuration section of the tutorial

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