You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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:
The module that it is looking for,
node_modules/puppeteer/install.js
, is actuallynode_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.
Beta Was this translation helpful? Give feedback.
All reactions