microsoft / azurechat

🤖 💼 Azure Chat Solution Accelerator powered by Azure Open AI Service
MIT License
1.24k stars 1.21k forks source link

can not start azurechatgpt #111

Closed du2016 closed 1 year ago

du2016 commented 1 year ago

node version v18.16.1 npm version 9.5.1

- error ./node_modules/lucide-react/dist/cjs/lucide-react.js:2:0
Module not found: Can't resolve '/azurechatgpt/src/node_modules/lucide-react/dist/cjs/icons/x'

https://nextjs.org/docs/messages/module-not-found

Import trace for requested module:
./components/ui/toast.tsx
./components/ui/toaster.tsx
- wait compiling...
- warn ./components/ui/toast.tsx
Attempted import error: 'modularize-import-loader?name=X&from=default&as=default&join=./icons/x!lucide-react' does not contain a default export (imported as 'X').

Import trace for requested module:
./components/ui/toast.tsx
./components/ui/toaster.tsx
- warn ./components/ui/toast.tsx
Attempted import error: 'modularize-import-loader?name=X&from=default&as=default&join=./icons/x!lucide-react' does not contain a default export (imported as 'X').

Import trace for requested module:
./components/ui/toast.tsx
./components/ui/toaster.tsx
- wait compiling /_error (client and server)...
- error ./node_modules/lucide-react/dist/cjs/lucide-react.js:2:0
Module not found: Can't resolve '/azurechatgpt/src/node_modules/lucide-react/dist/cjs/icons/x'

https://nextjs.org/docs/messages/module-not-found

Import trace for requested module:
./components/ui/toast.tsx
thivy commented 1 year ago

could you please ensure that you have run the following steps.

  1. change the active directory to be src
  2. Install npm packages by running npm install
  3. Start the project by running npm run dev