-
Notifications
You must be signed in to change notification settings - Fork 23
Description
The installer script I'm working on installs bpanel via npm:
npm install bpanel-org/bpanel#development
This installs bpanel in <app root>/node_modules/@bpanel/bpanel and when entering that directory and running npm run start or npm run start:poll a few issues pop up:
-
None of the
devDependenciesinpackage.jsonare installed by default. Execution first breaks becausewebpackis missing, then I manually installed that, then it broke looking for the next package it neededmini-css-extract-pluginand so on... After installing again like normal, if I enter the root bpanel directory and runnpm install --only=devALL the devDependencies will be added, and installed in<app root>/node_modules/@bpanel/bpanel/node_modulesbut I can't figure out a way to install everything in the first command. Likely stuff likewebpackshould just be a regular dependency anyway right? -
There are still module resolution errors, I don't even understand:
Module not found: Error: Can't resolve 'bcoin' in '/Users/matthewzipkin/Desktop/T/node_modules/bmultisig/lib'
Module not found: Error: Can't resolve 'hs-client' in '/Users/matthewzipkin/Desktop/T/node_modules/@bpanel/bpanel'
Module not found: Error: Can't resolve 'hs-client' in '/Users/matthewzipkin/Desktop/T/node_modules/@bpanel/bpanel-utils/dist'
Module not found: Error: Can't resolve 'hs-client' in '/Users/matthewzipkin/Desktop/T/node_modules/hsd/lib/wallet'
Module not found: Error: Can't resolve 'hsd' in '/Users/matthewzipkin/Desktop/T/node_modules/@bpanel/bpanel-utils/dist'