Skip to content

Syntax Error. The requested module '....' does not provide an export named 'default #33

@1moeses

Description

@1moeses

I don't know what's going on, but on a solid start project of mine, since 2.0.2, I get the following error:
The requested module '/_build/node_modules/.pnpm/debug@4.3.4/node_modules/debug/src/browser.js?v=d23bb9d6' does not provide an export named 'default'
If you need more information about the repo, please let me know and I'll try to help. With 2.0.1 everything still works fine.

This is my package.json

{
  "name": "test",
  "version": "0.0.0",
  "type": "module",
  "description": "",
  "scripts": {
    "dev": "vinxi dev",
    "build": "vinxi build",
    "start": "vinxi start",
    "lint": "eslint ./src --fix"
  },
  "dependencies": {
    "@solid-primitives/presence": "^0.0.6",
    "@solidjs/router": "^0.13.3",
    "@solidjs/start": "1.0.0-rc.0",
    "@types/js-cookie": "^3.0.6",
    "clsx": "^2.1.1",
    "js-cookie": "^3.0.5",
    "solid-js": "^1.8.17",
    "solid-markdown": "^2.0.3",
    "solid-slider": "^1.3.17",
    "tailwind-merge": "^2.2.2",
    "vinxi": "^0.3.11"
  },
  "engines": {
    "node": ">=18"
  },
  "devDependencies": {
    "@typescript-eslint/eslint-plugin": "^7.8.0",
    "@typescript-eslint/parser": "^7.8.0",
    "autoprefixer": "^10.4.19",
    "eslint": "^8.57.0",
    "eslint-config-airbnb-base": "^15.0.0",
    "eslint-config-airbnb-typescript": "^18.0.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-import-resolver-typescript": "^3.6.1",
    "eslint-plugin-import": "^2.29.1",
    "eslint-plugin-prettier": "^5.1.3",
    "eslint-plugin-solid": "^0.13.2",
    "eslint-plugin-unused-imports": "^3.2.0",
    "postcss": "^8.4.38",
    "prettier": "^3.2.5",
    "prettier-plugin-tailwindcss": "^0.5.14",
    "tailwindcss": "^3.4.3",
    "typescript": "~5.4.5",
    "vite": "^5.2.11"
  }
}
Screenshot 2024-05-08 at 23 07 19 Screenshot 2024-05-08 at 23 07 13

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions