I updated the code from github which was updated 11 hrs ago. The previous are gone. But, I got following errors when I start "http://localhost:5173/" in a tab,
in Frontend:
warn - The safelist pattern /^(hover:)?n-text-(palette|dark|light|primary|danger|warning|success|blueberry|mint|neutral)-/
doesn't match any Tailwind CSS classes.
warn - The safelist pattern /^(hover:)?n-bg-(palette|dark|light|primary|danger|warning|success|blueberry|mint|neutral)-/
doesn't match any Tailwind CSS classes.
warn - The safelist pattern /^(active:)?n-bg-(palette|dark|light|primary|danger|warning|success|blueberry|mint|neutral)-/
doesn't match any Tailwind CSS classes.
warn - The safelist pattern /^(hover:)?n-border-(palette|dark|light|primary|danger|warning|success|blueberry|mint|neutral)-/
doesn't match any Tailwind CSS classes.
(node:15207) ExperimentalWarning: CommonJS module /Users/peterchan/llm-graph-builder/frontend/node_modules/tailwindcss/lib/lib/load-config.js is loading ES Module /Users/peterchan/llm-graph-builder/frontend/tailwind.config.js using require().
Support for loading ES Module in require() is an experimental feature and might change at any time
(Use node --trace-warnings ...
to show where the warning was created)
file:///Users/peterchan/llm-graph-builder/frontend/tailwind.config.js:11
presets:[require('@neo4j-ndl/base').tailwindConfig],
^
ReferenceError: require is not defined
at file:///Users/peterchan/llm-graph-builder/frontend/tailwind.config.js:11:11
at ModuleJobSync.runSync (node:internal/modules/esm/module_job:395:35)
at ModuleLoader.importSyncForRequire (node:internal/modules/esm/loader:329:47)
at loadESMFromCJS (node:internal/modules/cjs/loader:1376:24)
at Module._compile (node:internal/modules/cjs/loader:1528:5)
at Object..js (node:internal/modules/cjs/loader:1698:10)
at Module.load (node:internal/modules/cjs/loader:1303:32)
at Function._load (node:internal/modules/cjs/loader:1117:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:218:24)
at Module.require (node:internal/modules/cjs/loader:1325:12)
at require (node:internal/modules/helpers:136:16)
at /Users/peterchan/llm-graph-builder/frontend/node_modules/tailwindcss/lib/lib/load-config.js:54:27
at loadConfig (/Users/peterchan/llm-graph-builder/frontend/node_modules/tailwindcss/lib/lib/load-config.js:58:6)
at getTailwindConfig (/Users/peterchan/llm-graph-builder/frontend/node_modules/tailwindcss/lib/lib/setupTrackingContext.js:71:116)
at /Users/peterchan/llm-graph-builder/frontend/node_modules/tailwindcss/lib/lib/setupTrackingContext.js:100:92
at /Users/peterchan/llm-graph-builder/frontend/node_modules/tailwindcss/lib/processTailwindFeatures.js:46:11
at plugins (/Users/peterchan/llm-graph-builder/frontend/node_modules/tailwindcss/lib/plugin.js:38:69)
at LazyResult.runOnRoot (/Users/peterchan/llm-graph-builder/frontend/node_modules/postcss/lib/lazy-result.js:329:16)
at LazyResult.runAsync (/Users/peterchan/llm-graph-builder/frontend/node_modules/postcss/lib/lazy-result.js:258:26)
at LazyResult.async (/Users/peterchan/llm-graph-builder/frontend/node_modules/postcss/lib/lazy-result.js:160:30)
at LazyResult.then (/Users/peterchan/llm-graph-builder/frontend/node_modules/postcss/lib/lazy-result.js:404:17)
Node.js v23.3.0
error Command failed with exit code 1.
info Visit yarn run | Yarn for documentation about this command.
In Bankend:
/Users/peterchan/llm-graph-builder/backend/src/shared/common_fn.py:19: SyntaxWarning: invalid escape sequence '/'
if re.match('(?:https?://)?(?:www.)?youtu.?be(?:.com)?/?.*(?:watch|embed)?(?:.*v=|v/|/)([\w-_]+)&?',yt_url.strip()):
2024-12-11 14:16:44,181 - PyTorch version 2.5.1 available.
2024-12-11 14:16:46,098 - Use pytorch device_name: mps
2024-12-11 14:16:46,098 - Load pretrained SentenceTransformer: all-MiniLM-L6-v2
2024-12-11 14:16:48,388 - Embedding: Using Langchain HuggingFaceEmbeddings , Dimension:384
2024-12-11 14:16:48,391 - USER_AGENT environment variable not set, consider setting it to identify your requests.
2024-12-11 14:16:48,647 - Use pytorch device_name: mps
2024-12-11 14:16:48,647 - Load pretrained SentenceTransformer: all-MiniLM-L6-v2
2024-12-11 14:16:49,988 - Embedding: Using Langchain HuggingFaceEmbeddings , Dimension:384
[nltk_data] Downloading package punkt to /Users/peterchan/nltk_data...
[nltk_data] Package punkt is already up-to-date!
2024-12-11 14:16:50,272 - Use pytorch device_name: mps
2024-12-11 14:16:50,272 - Load pretrained SentenceTransformer: all-MiniLM-L6-v2
2024-12-11 14:16:51,929 - Embedding: Using Langchain HuggingFaceEmbeddings , Dimension:384
INFO: Started server process [16408]
INFO: Waiting for application startup.
INFO: Application startup complete.