A simplified version of the JavaScript development environment built using @coryhouse initial environment used for Fluent. A clean environment that isn't tied to any specific JS framework or platform.
- Install Node. Need to run multiple versions of Node? Use nvm or nvm-windows
- Install Node Packages. -
npm install
or use yarn - Run the app. -
npm start -s
This will run the automated build process, start up a webserver, and open the application in your default browser. When doing development with this kit, this command will continue watching files all your files. Every time you hit save the code is rebuilt, linting runs, and tests run automatically. Note: The -s flag is optional. It enables silent mode which suppresses unnecessary messages during the build. - Having issues? See below.
- Run
npm install
- If you forget to do this, you'll see this:babel-node: command not found
. - Don't run the project from a symbolic link. It will cause issues with file watches.
- Having linting issues? Delete any .eslintrc that you're storing in your user directory. Also, disable any ESLint plugin / custom rules that you've enabled within your editor. These will conflict with the ESLint rules defined in the course.
- Nothing above work? Delete your node_modules folder and re-run npm install....as usual