Closed hayess89 closed 6 years ago
probably something i haven't done right. Any help would be great thx in advance
did you do npm install and pm2 install -g ?
Yes I had done.
I have deleted and started again. Hopefully I will work this time round.
Thanks.
Get Outlook for Androidhttps://aka.ms/ghei36
From: Maxim Vanneste notifications@github.com Sent: Friday, December 8, 2017 9:25:40 AM To: dzt/shopify-monitor Cc: hayess89; Author Subject: Re: [dzt/shopify-monitor] Error when starting to run (#97)
did you do npm install and pm2 install -g ?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/dzt/shopify-monitor/issues/97#issuecomment-350215821, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AgvB3_i5mdJ8w-v2yaTkEA06GCyfSroFks5s-QCTgaJpZM4Q42bz.
babel.rc has setting { "presets": ["es2017"] or ["es2015"] make sure you have that preset matching the babel version you have installed.
}
Solved thanks for the help
0|shopify- | at compile (C:\Sneaker Bots\Monitors\shopify-monitor-master\node_modules\babel-register\lib\node.js:103:45) 0|shopify- | at loader (C:\Sneaker Bots\Monitors\shopify-monitor-master\node_modules\babel-register\lib\node.js:144:14) 0|shopify- | at Object.require.extensions.(anonymous function) [as .js] (C:\Sneaker Bots\Monitors\shopify-monitor-master\node_modules\babel-register\lib\node.js:154:7) 0|shopify- | at Module.load (module.js:554:32) 0|shopify- | Error: Couldn't find preset "es2017" relative to directory "C:\Sneaker Bots\Monitors\shopify-monitor-master" 0|shopify- | at C:\Sneaker Bots\Monitors\shopify-monitor-master\node_modules\babel-core\lib\transformation\file\options\option-manager.js:293:19 0|shopify- | at Array.map ()
0|shopify- | at OptionManager.resolvePresets (C:\Sneaker Bots\Monitors\shopify-monitor-master\node_modules\babel-core\lib\transformation\file\options\option-manager.js:275:20)
0|shopify- | at OptionManager.mergePresets (C:\Sneaker Bots\Monitors\shopify-monitor-master\node_modules\babel-core\lib\transformation\file\options\option-manager.js:264:10)
0|shopify- | at OptionManager.mergeOptions (C:\Sneaker Bots\Monitors\shopify-monitor-master\node_modules\babel-core\lib\transformation\file\options\option-manager.js:249:14)
0|shopify- | at OptionManager.init (C:\Sneaker Bots\Monitors\shopify-monitor-master\node_modules\babel-core\lib\transformation\file\options\option-manager.js:368:12)
0|shopify- | at compile (C:\Sneaker Bots\Monitors\shopify-monitor-master\node_modules\babel-register\lib\node.js:103:45)
0|shopify- | at loader (C:\Sneaker Bots\Monitors\shopify-monitor-master\node_modules\babel-register\lib\node.js:144:14)
0|shopify- | at Object.require.extensions.(anonymous function) [as .js] (C:\Sneaker Bots\Monitors\shopify-monitor-master\node_modules\babel-register\lib\node.js:154:7)
0|shopify- | at Module.load (module.js:554:32)