小编Sea*_*son的帖子

Visual Studio Code - Node.js - Cannot find name '__dirname'

Just to preface I'm not a professional coder, but nonetheless I got roped into building a website for my boss after he found out I took "Web Design" in high school 10 years ago. Back then static sites were fine, and heck CSS was just starting to show it's potential, but I digress.

I'm working on a Node.js project on Visual Studio Code right now and have a weird exception. The code works fine, but I guess it's just curiosity …

macos node.js visual-studio-code

4
推荐指数
2
解决办法
1901
查看次数

标签 统计

macos ×1

node.js ×1

visual-studio-code ×1