小编Muz*_*bas的帖子

汇总构建问题总是说找不到模块节点:进程

我面临的问题尝试了很多事情,包括更改节点版本、删除 node_modules 和重新安装所有依赖项,但仍然没有找到任何解决方案。我需要帮助来解决这个问题。

我想创建一个库但卡在这里。

运行 rollup 命令时出错 在此输入图像描述

  {
  "name": "typescript-template",
  "version": "0.1.0",
  "private": true,
  "main": "lib/cjs/index.js",
  "module": "lib/esm/index.js",
  "dependencies": {
    "@emotion/react": "^11.10.5",
    "@emotion/styled": "^11.10.5",
    "@mui/material": "^5.11.6",
    "@testing-library/jest-dom": "^5.16.5",
    "@testing-library/react": "^13.4.0",
    "@testing-library/user-event": "^13.5.0",
    "@types/jest": "^27.5.2",
    "@types/node": "^16.18.11",
    "react-dom": "^18.2.0",
    "react-scripts": "5.0.1",
    "web-vitals": "^2.1.4"
  },
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject",
    "storybook": "start-storybook -p 6006 -s public",
    "build-storybook": "build-storybook -s public",
    "build-rollup": "rollup --config",
    "build-tsc": "tsc"
  },
  "eslintConfig": {
    "extends": [
      "react-app",
      "react-app/jest"
    ], …
Run Code Online (Sandbox Code Playgroud)

rollup node.js reactjs

7
推荐指数
1
解决办法
5728
查看次数

标签 统计

node.js ×1

reactjs ×1

rollup ×1