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
[ERROR] node app.js command #82
Comments
Ok, you got an error using babel :) some context could be useful, I have no idea what's your actual setup, node version, Mozaïk version, activated extensions… |
Thanks, |
This solution help me |
Hm, I'm getting this exact same error but I don't have a npm 3.9.3 |
Hi, you need to have at least one .babelrc file on your root application with : |
I did that, and rebuilt, but I'm still getting the same error. Arggghhhhh. |
Hm, I just noticed that |
@t3db0t, is this issue still relevant ? |
I haven't tried since then, but I never got it to work |
@plouc I got it, too |
@BonarBeavis This solution help me |
@benathmane But after removing them, the command |
Same error for me: node v0.10.28 I followed the instructions :
|
@jtbonhomme, the yeoman generator does not work, sorry, I should mark it as deprecated on the website and the repo. You should use the mozaik-demo instead. |
Ok Raphaël, thank you for your answer ! Envoyé de mon iPhone
|
Got the same error under the same condition which @jtbonhomme mentioned. Any solution found by anyone? |
@ududsha are you using mozaik-demo or yeoman generator as a base? If latter, use the mozaik-demo instead. |
I've removed the reference to yeoman generator from the README and website. |
@plouc the references are still on the website: does this mean they are current now? https://www.npmjs.com/package/mozaik |
Removed the ref to generator => https://github.com/plouc/mozaik/blob/master/README.md |
sudo node app.js
/home/abenathmane/Desktop/mozaik/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 (/home/abenathmane/Desktop/mozaik/node_modules/babel-core/lib/transformation/file/options/option-manager.js:126:28)
at OptionManager.addConfig (/home/abenathmane/Desktop/mozaik/node_modules/babel-core/lib/transformation/file/options/option-manager.js:107:10)
at OptionManager.findConfigs (/home/abenathmane/Desktop/mozaik/node_modules/babel-core/lib/transformation/file/options/option-manager.js:168:35)
at OptionManager.init (/home/abenathmane/Desktop/mozaik/node_modules/babel-core/lib/transformation/file/options/option-manager.js:229:12)
at compile (/home/abenathmane/Desktop/mozaik/node_modules/babel-core/lib/api/register/node.js:117:22)
at normalLoader (/home/abenathmane/Desktop/mozaik/node_modules/babel-core/lib/api/register/node.js:199:14)
at Object.require.extensions.(anonymous function) as .js
at Module.load (module.js:456:32)
at tryModuleLoad (module.js:415:12)
at Function.Module._load (module.js:407:3)
The text was updated successfully, but these errors were encountered: