nicktupy

Results 6 comments of nicktupy

When the Vue-CLI sets the NODE_ENV, it is set as '"production"' or '"development"' so the quotations are considered a part of the string. `if (process.env.NODE_ENV !== 'production') { //debug function...

![socketissue](https://user-images.githubusercontent.com/32169392/55872680-33253380-5b53-11e9-8f81-ee2a2f2108dc.JPG) Here is an example. The production output text you see in the log is from `console.log(process.env.NODE_ENV)` Once I implemented the change I discussed in the above post, the websocket-client...

Adding it to the transpileDependencies array appears to break the module for me.

[Here](https://github.com/nicktupy/socket-test) is a freshly generated vue project with the adonis-websocket-client installed via `npm i @adonisjs/websocket-client` When launched via the Vue-CLI using the "Serve" task with the "Production" parameter selected or...

Sorry, I accidentally created it as a private repo. It should be public now.

Try using my fork of the web socket client repo. It should work as a temporary fix. On Mon, Apr 29, 2019, 11:29 PM Yann Prono wrote: > I have...