question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

In Monoreop Failed to start dev, prompting Cannot read property 'accept' of undefined

See original GitHub issue

Describe the bug

In Monorepo, when the document starts dev, the error Uncaught TypeError: Cannot read property 'accept' of undefined is reported. An attempt was made to comment out the wrong vue file, but the error still exists, except that the vue file that reported the error is different.

my .nrmrc file only sets shamefull host=true, and it is no problem to use non monorepo on my computer.

Please help.

图片

Reproduction

Use monoeop, then use the steps in the tutorial to install vitepress and start it

Expected behavior

normal operation

System Info

System:
    OS: Windows 10 10.0.16299
    CPU: (8) x64 Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
    Memory: 10.34 GB / 15.89 GB
  Binaries:
    Node: 14.19.0 - C:\Program Files\nodejs\node.EXE
    npm: 6.14.16 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (41.16299.1004.0)
    Internet Explorer: 11.0.16299.371

Additional context

No response

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn’t already an issue that reports the same bug to avoid creating a duplicate.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
hminghecommented, Sep 27, 2022

tsconfig.json set target = ESNext

0reactions
jinan5694commented, Sep 29, 2022

helpful for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeError: Cannot read property 'combine' of undefined in ...
I'm trying to create a bundle of a nodeJS app within a yarn monorepo. Compiling Typescript to JS ...
Read more >
Cannot read property 'oneOf' of undefined · Issue #37 - GitHub
error Command failed with exit code 1. const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin'); module.exports = function override( ...
Read more >
Azure devops create pipeline "Cannot read property ...
Problems creating a new release pipeline in Azure Devops. Currently I'm working on a project that uses a monorepo using LernaJS for building ......
Read more >
TypeError: Cannot read property 'start_date' of undefined - Gantt
Sometimes I click on a task and this error appears. Uncaught TypeError: Cannot read property 'start_date' of undefined
Read more >
Ripping out my hair here lol "Cannot read property 'push' of ...
”Cannot read property x of undefined” is an error that occurs when you try to access a property of an undefined variable. In...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found