Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken - Local Setup for Development #1598

Open
sethlabadie opened this issue Feb 16, 2024 Discussed in #1597 · 0 comments
Open

Broken - Local Setup for Development #1598

sethlabadie opened this issue Feb 16, 2024 Discussed in #1597 · 0 comments

Comments

@sethlabadie
Copy link

Discussed in #1597

Originally posted by sethlabadie February 15, 2024
Following these instructions, https://github.com/lowlighter/metrics/blob/master/.github/readme/partials/documentation/setup/local.md

The install hangs at npm install

I get the following output:

npm WARN deprecated [email protected]: Use your platform's native DOMException instead
npm WARN deprecated [email protected]: Vue 2 has reached EOL and is no longer actively maintained. See https://v2.vuejs.org/eol/ for more details.

> [email protected] postinstall
> node node_modules/puppeteer/install.js

node:internal/modules/cjs/loader:1152
  throw err;
  ^

Error: Cannot find module '/Users/sethlabadie/Dev/31_Metrics/metrics/node_modules/puppeteer/install.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1149:15)
    at Module._load (node:internal/modules/cjs/loader:990:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:142:12)
    at node:internal/main/run_main_module:28:49 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v21.6.2
npm ERR! code 1
npm ERR! path /Users/sethlabadie/Dev/31_Metrics/metrics
npm ERR! command failed
npm ERR! command sh -c node node_modules/puppeteer/install.js

npm ERR! A complete log of this run can be found in: /Users/sethlabadie/.npm/_logs/2024-02-16T00_38_16_759Z-debug-0.log

The module that it is looking for, node_modules/puppeteer/install.js, is actually node_modules/puppeteer/install.mjs.

Changing the name of this file doesn't work, as it just reverts during the npm install process.

Any ideas or help on how to solve this?

Looks like it is more of an npm issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant