example-node-server icon indicating copy to clipboard operation
example-node-server copied to clipboard

following instructions fails. Seems to be problem with .babelrc

Open kylebakerio opened this issue 9 years ago • 3 comments

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)

kylebakerio avatar Mar 16 '16 04:03 kylebakerio

maybe u can try rm -rf node_modules && npm i -d

showzyl avatar Jul 04 '16 17:07 showzyl

same here

giancarlosisasi avatar Oct 09 '17 19:10 giancarlosisasi

what you suggested didn't work (rm -fR)

albertotorresfoltyn avatar Mar 07 '18 14:03 albertotorresfoltyn