pebble / clay

Pebble Config Framework
MIT License
120 stars 29 forks source link

Can't Install Pebble Clay #158

Closed Allen-B1 closed 6 years ago

Allen-B1 commented 7 years ago

I'm using CloudPebble. I entered pebble-clay and ^1.0.0 in the dependencies, but when I try to build, I get an error saying

WARNING in ./~/pebble-clay/dist/js/index.js
Critical dependencies:
2:418-425 This seems to be a pre-built javascript file. Though this is possible, it's not recommended. Try to require the original source to get better results.
 @ ./~/pebble-clay/dist/js/index.js 2:418-425

ERROR in /app/sdk3/pebble/common/include/_message_key_wrapper.js
Module not found: Error: Cannot resolve module 'message_keys' in /app/sdk3/pebble/common/include
 @ /app/sdk3/pebble/common/include/_message_key_wrapper.js 3:36-59
keegan-lillo commented 7 years ago

Can you please post your app.js? I have a feeling you are calling clay inside your 'ready' handler

Allen-B1 commented 7 years ago

I don't have one. All I have is main.c and index.js.

keegan-lillo commented 7 years ago

Sorry. Yes index.js. Been a while since I've done Pebble development

On 7 May 2017 4:55 am, "Allen-B1" notifications@github.com wrote:

I don't have one. All I have is main.c and index.js.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pebble/clay/issues/158#issuecomment-299701307, or mute the thread https://github.com/notifications/unsubscribe-auth/ADX8Kxshrpu0qGqezjMZireepvtC0Dbeks5r3bEfgaJpZM4NS98c .

Allen-B1 commented 7 years ago

var Clay = require("pebble-clay"); var config = [ //... ]; var clay = new Clay(config);

Allen-B1 commented 7 years ago
var Clay = require("pebble-clay");
var config = [
  //...
];
var clay = new Clay(config);
keegan-lillo commented 7 years ago

Hmm it looks like cloudpebble is having trouble right now. I can't even get any compilation for my projects.

Allen-B1 commented 7 years ago

Oh ok

Allen-B1 commented 7 years ago

Should I close?

keegan-lillo commented 7 years ago

Yes please. Ask around in Discord. Maybe someone knows what's going on.