node-clinic-flame icon indicating copy to clipboard operation
node-clinic-flame copied to clipboard

Does it possible to run it with the babel-node?

Open maslowivan opened this issue 6 years ago • 7 comments

I use babel-node for react jsx and some other stuff. Does it possible to run the clinic flame with the babel-node?

Using command: BROWSERSLIST="> 0.8%, not IE 11" BABEL_DISABLE_CACHE=1 NODE_ENV=production BABEL_ENV=server clinic flame -- babel-node server/server.js

Receiving error:

project/web/clinic.js:13
  if (err) throw err;
           ^

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at assertPath (path.js:39:11)
    at join (path.js:1152:7)
    at v8.catch (project/web/node_modules/0x/index.js:83:27)
    at process._tickCallback (internal/process/next_tick.js:68:7)

maslowivan avatar Apr 29 '19 17:04 maslowivan