sample-apps's Introduction
sample-apps's People
sample-apps's Issues
[Bug] <Not working on Windows>
Is this a new bug?
- I believe this is a new bug
- I have searched the existing issues, and I could not find an existing issue for this bug
Current Behavior
Lots of issue running on windows. First I had to change the PORT location on the client to a different file, and currently struggling with the airbnb/node-memwatch node module since it won't install. I believe this guide was made for linux?
Expected Behavior
airbnb/node-memwatch should be installed when i do npm i but it keeps struggling (on the /server folder)
Steps To Reproduce
go to server folder and type npm i (when on windows)
Relevant log output
PS C:\Users\karee\Desktop\bme\realbme\dubaipol\uaelabor\namespace-notes\server> npm i
npm WARN deprecated [email protected]: Please use eslint-config-love, instead.
npm ERR! code 1
npm ERR! path C:\Users\karee\Desktop\bme\realbme\dubaipol\uaelabor\namespace-notes\server\node_modules\@airbnb\node-memwatch
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp rebuild
npm ERR! Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
npm ERR! heapdiff.cc
npm ERR! init.cc
npm ERR! memwatch.cc
npm ERR! c:\users\karee\desktop\bme\realbme\dubaipol\uaelabor\namespace-notes\server\node_modules\@airbnb\node-memwatch\src\memwatch.cc(19): fatal error C1083: Cannot open include file: 'sys/time.h': No such file or directory [C:\Users\karee\Desktop\bme\realbme\dubaipol\uaelabor\namespace-notes\server\node_modules\@airbnb\node-memwatch\build\memwatch.vcxproj]
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | win32 | x64
npm ERR! gyp info find Python using Python version 3.10.9 found at "C:\Program Files\Python310\python.exe"
npm ERR! gyp info find VS using VS2017 (15.9.28307.1440) found at:
npm ERR! gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools"
npm ERR! gyp info find VS run with --verbose for detailed information
npm ERR! gyp info spawn C:\Program Files\Python310\python.exe
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args 'C:\\Users\\karee\\AppData\\Roaming\\nvm\\v21.5.0\\node_modules\\npm\\node_modules\\node-gyp\\gyp\\gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'msvs',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\\Users\\karee\\Desktop\\bme\\realbme\\dubaipol\\uaelabor\\namespace-notes\\server\\node_modules\\@airbnb\\node-memwatch\\build\\config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\\Users\\karee\\AppData\\Roaming\\nvm\\v21.5.0\\node_modules\\npm\\node_modules\\node-gyp\\addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\\Users\\karee\\AppData\\Local\\node-gyp\\Cache\\21.5.0\\include\\node\\common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=C:\\Users\\karee\\AppData\\Local\\node-gyp\\Cache\\21.5.0',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=C:\\Users\\karee\\AppData\\Roaming\\nvm\\v21.5.0\\node_modules\\npm\\node_modules\\node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=C:\\\\Users\\\\karee\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\21.5.0\\\\<(target_arch)\\\\node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=C:\\Users\\karee\\Desktop\\bme\\realbme\\dubaipol\\uaelabor\\namespace-notes\\server\\node_modules\\@airbnb\\node-memwatch',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'C:\\Users\\karee\\Desktop\\bme\\realbme\\dubaipol\\uaelabor\\namespace-notes\\server\\node_modules\\@airbnb\\node-memwatch\\build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args 'build\\binding.sln',
npm ERR! gyp info spawn args '/clp:Verbosity=minimal',
npm ERR! gyp info spawn args '/nologo',
npm ERR! gyp info spawn args '/p:Configuration=Release;Platform=x64'
npm ERR! gyp info spawn args ]
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1
npm ERR! gyp ERR! stack at ChildProcess.<anonymous> (C:\Users\karee\AppData\Roaming\nvm\v21.5.0\node_modules\npm\node_modules\node-gyp\lib\build.js:209:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:519:28)
npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12)
npm ERR! gyp ERR! System Windows_NT 10.0.19045
npm ERR! gyp ERR! command "C:\\Users\\karee\\AppData\\Roaming\\nvm\\v21.5.0\\node.exe" "C:\\Users\\karee\\AppData\\Roaming\\nvm\\v21.5.0\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd C:\Users\karee\Desktop\bme\realbme\dubaipol\uaelabor\namespace-notes\server\node_modules\@airbnb\node-memwatch
Environment
- **OS**:
- **Language version**:
- **Pinecone client version**:
Additional Context
a
500 error in a Next.js API route
Without editing the code I receive a 500 error when running the legal-semantic-search sample app. Is this a server side bug?
Also, if I want to use the app for my different legal documents, do I just remove the existing sample PDFs upload my own PDFs? or is there manual changes to be made e.g. to the db.json file etc? Is there a set-up video tutorial available?
Better error messaging
With the free version of voyageai, const embeddings = await voyageEmbeddings.embedDocuments(pageContents);
will fail with the following error:
Error during bootstrap procedure: TypeError: Cannot read properties of undefined (reading '0')
at VoyageEmbeddings.embedDocuments (webpack-internal:///(rsc)/./node_modules/@langchain/community/dist/embeddings/voyage.js:92:46)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
May be more straight forward to message this differently and let users know that a paid account is required
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.