-
-
Notifications
You must be signed in to change notification settings - Fork 208
Closed
Description
Bug report
Actual Behavior
Attempts to build using this loader result in the following:
! Module build failed: Error: Cannot find module 'ts-node'
ERR! Require stack:
ERR! - /home/circleci/project/node_modules/cosmiconfig-typescript-loader/dist/cjs/index.js
Expected Behavior
https://github.com/Codex-/cosmiconfig-typescript-loader/blob/main/package.json#LL39C6-L39C13
cosmiconfig-typescript-loader has a peerDep of ts-node. This module has cosmiconfig-typescript-loader as a dependency - therefore it should specify ts-node as a dependency as well.
How Do We Reproduce?
Please paste the results of npx webpack info
here, and mention other relevant information
System:
OS: Linux 5.15 Ubuntu 20.04 LTS (Focal Fossa)
CPU: (20) x64 AMD Ryzen 9 7950X 16-Core Processor
Memory: 27.62 GB / 31.21 GB
Binaries:
Node: 18.15.0 - ~/.nvm/versions/node/v18.15.0/bin/node
Yarn: 3.5.0 - ~/.yarn/bin/yarn
npm: 9.5.0 - ~/.nvm/versions/node/v18.15.0/bin/npm
Monorepos:
Yarn Workspaces: 3.5.0
Packages:
babel-loader: 9.1.2 => 9.1.2
webpack: 5.77.0 => 5.77.0
webpack-cli: 5.0.1 => 5.0.1
webpack-dev-server: 4.13.2 => 4.13.2
akphi, Dr-Electron and GuiDevloper
Metadata
Metadata
Assignees
Labels
No labels