example-node-server
example-node-server copied to clipboard
following instructions fails. Seems to be problem with .babelrc
When I follow these instructions to the letter, everything works until the step where we move things over to a .babelrc file and remove the options from the scripts. Then I get a
[nodemon] starting `babel-node lib/index.js`
/usr/local/lib/node_modules/babel/node_modules/babel-core/lib/transformation/file/options/option-manager.js:126
if (!option) this.log.error("Unknown option: " + alias + "." + key, ReferenceError);
^
TypeError: Cannot read property 'error' of undefined
at OptionManager.mergeOptions (/usr/local/lib/node_modules/babel/node_modules/babel-core/lib/transformation/file/options/option-manager.js:126:28)
maybe u can try rm -rf node_modules && npm i -d
same here
what you suggested didn't work (rm -fR)