firefox-devtools / vscode-firefox-debug

VS Code Debug Adapter for Firefox
https://marketplace.visualstudio.com/items?itemName=firefox-devtools.vscode-firefox-debug
MIT License
397 stars 66 forks source link

npm run build: Module not found: Error: Can't resolve 'original-fs' in '[...]/vscode-firefox-debug/node_modules/adm-zip/util' #322

Closed misieck closed 9 months ago

misieck commented 1 year ago

Module not found: Error: Can't resolve 'original-fs' in '/my/path/vscode-firefox-debug/node_modules/adm-zip/util'

I did: npm i --save original-fs npm run build succeded.

now i get from: npm run package: ERROR filePath.endsWith is not a function

node --version: v19.6.0 npm --version: 9.4.2

Drew-Daniels commented 1 year ago

I got this same error cloning this repository and running the following while in the root folder (using node 20.5.0)

$ npm i
$ npm run build

image