meza / trance-stack

A production-ready Remix stack built for AWS Lambda. Authentication. Security, Internationalization, Feature Flags, Analytics, Tests, Storybook, Ephemeral and Production CI/CD and more.
https://trance-stack.vsbmeza.com
MIT License
251 stars 15 forks source link

Install error due to sentry #280

Closed bitofbreeze closed 6 days ago

bitofbreeze commented 1 year ago

What happened?

Ran an initial install on the most recent version and got

npm ERR! code 1
npm ERR! path /Users/f/trance/node_modules/@sentry/cli
npm ERR! command failed
npm ERR! command sh -c node ./scripts/install.js
npm ERR! node:internal/modules/cjs/loader:1078
npm ERR!   throw err;
npm ERR!   ^
npm ERR! 
npm ERR! Error: Cannot find module 'agent-base'
npm ERR! Require stack:
npm ERR! - /Users/f/trance/node_modules/https-proxy-agent/dist/agent.js
npm ERR! - /Users/f/trance/node_modules/https-proxy-agent/dist/index.js
npm ERR! - /Users/f/trance/node_modules/@sentry/cli/scripts/install.js
npm ERR!     at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)
npm ERR!     at Module._load (node:internal/modules/cjs/loader:920:27)
npm ERR!     at Module.require (node:internal/modules/cjs/loader:1141:19)
npm ERR!     at require (node:internal/modules/cjs/helpers:110:18)
npm ERR!     at Object.<anonymous> (/Users/f/trance/node_modules/https-proxy-agent/dist/agent.js:20:22)
npm ERR!     at Module._compile (node:internal/modules/cjs/loader:1254:14)
npm ERR!     at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
npm ERR!     at Module.load (node:internal/modules/cjs/loader:1117:32)
npm ERR!     at Module._load (node:internal/modules/cjs/loader:958:12)
npm ERR!     at Module.require (node:internal/modules/cjs/loader:1141:19) {
npm ERR!   code: 'MODULE_NOT_FOUND',
npm ERR!   requireStack: [
npm ERR!     '/Users/f/trance/node_modules/https-proxy-agent/dist/agent.js',
npm ERR!     '/Users/f/trance/node_modules/https-proxy-agent/dist/index.js',
npm ERR!     '/Users/f/trance/node_modules/@sentry/cli/scripts/install.js'
npm ERR!   ]
npm ERR! }
npm ERR! 
npm ERR! Node.js v18.16.0

What did you expect to happen?

I expected it to install node modules

What version of Remix are you using?

1.15.0

meza commented 1 year ago

Hey, is this still an issue? Had a bunch of dependency updates since that might have fixed it. If not, I'll look into it more!

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 6 days ago

This issue has been automatically closed because it has not had recent activity.