Home
Home copied to clipboard
How can I get Glimpse to work with Vue.js/Nuxt.js ?
Hi, Im using Nuxt.js (based on Vue.js) and I tried to install Glimpse programatically but I got some dependency errors that Im unable to solve.
npm install @glimpse/glimpse npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
- @glimpse/[email protected] added 71 packages in 18.626s
When I run my app I get this during compile:
These dependencies were not found:
- _http_client in ./node_modules/@glimpse/glimpse-agent-node/release/async-track/async-track.js
- _http_common in ./node_modules/@glimpse/glimpse-agent-node/release/tracing/module_instrumentors/ExpressProxyMiddleware.js
- _http_outgoing in ./node_modules/@glimpse/glimpse-agent-node/release/async-track/async-track.js
- child_process in ./node_modules/async-listener/index.js
- console in ./node_modules/@glimpse/glimpse-agent-node/release/Agent.js
- dns in ./node_modules/async-listener/index.js
- fs in ./node_modules/@glimpse/glimpse-agent-node/release/inspectors/util/StackHelper.js, ./node_modules/@glimpse/glimpse-common/release/src/common/FileHelper.js and 12 others
- module in ./node_modules/@glimpse/glimpse-agent-node/release/Agent.js, ./node_modules/@glimpse/glimpse-agent-node/release/async-track/async-track.js and 1 other
- net in ./node_modules/@glimpse/glimpse-agent-node/release/async-track/async-track.js, ./node_modules/@glimpse/glimpse-server/node_modules/express/lib/request.js and 4 others
- tls in ./node_modules/forever-agent/index.js, ./node_modules/tunnel-agent/index.js
To install them, you can run: npm install --save _http_client _http_common _http_outgoing child_process console dns fs module net tls