Cannot find package 'tweakpane'
khalednadam opened this issue · comments
Describe the bug
I am trying to add and importing it by "import { OrbitControls } from '@tresjs/cientos';"
I am getting the following error
Error: Build failed with 1 error: node_modules/@tresjs/cientos/dist/trescientos.js:14:27: ERROR: Could not resolve "tweakpane"
Reproduction
https://stackblitz.com/edit/tresjs-basic-fmxtip?file=package.json
Steps to reproduce
run npm install @tresjs/cientos @tresjs/post-processing
then npm run dev
in index.vue
import { OrbitControls } from '@tresjs/cientos';
System Info
System:
OS: macOS 14.0
CPU: (8) arm64 Apple M1 Pro
Memory: 140.11 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.15.0 - /usr/local/bin/node
npm: 9.5.1 - /opt/homebrew/bin/npm
Watchman: 2023.07.17.00 - /opt/homebrew/bin/watchman
Browsers:
Brave Browser: 118.1.59.117
Chrome: 117.0.5938.149
Safari: 17.0
Used Package Manager
npm
Code of Conduct
- I agree to follow this project's Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- The provided reproduction is a minimal reproducible example of the bug.
issue was solved by running
$ npm install --save tweakpane
$ npm install --save-dev @tweakpane/core