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.

Cannot create new project on Mac

See original GitHub issue

Describe the bug

Cannot create new project on Mac. Below error is returned when doing so:

image

Running below command manually leads to file not found error (w/ or w/o elevated privilege): npm install -g --prefix /Users/xxx/BotFrameworkComposer/.yo-repository --loglevel error --no-optional @microsoft/generator-bot-core-language@1.1.2

npm verb stack Error: ENOENT: no such file or directory, lstat ‘/Users/xxxx/BotFrameworkComposer/.yo-repository/lib’ npm ERR! enoent ENOENT: no such file or directory, lstat ‘/Users/xxxx/BotFrameworkComposer/.yo-repository/lib’ npm ERR! enoent This is related to npm not being able to find a file.

Node/Npm version

/ » node --version 
v15.6.0
------------------------------------------------------------
/ » npm --version
7.4.0

Version

2.1.1

OS

  • [ x] macOS

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
sidecuscommented, Sep 30, 2021

@benbrown:

  1. .yo-repository was created but lib sub-folder was not. manually creating it resolved the npm install issue.
  2. upgrading .net SDK resolved the build issue eventually.
0reactions
tonyanzianocommented, Oct 12, 2021

Closing this as it looks like upgrading .NET and manually creating the /lib/ folder in /.yo-repository/ resolved the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

I cannot create new project - Visual Studio Feedback
I can open new project, create new file, but I just cannot create new project. Visual Studio for Macvisual studio for macprojectsolutionmacos 10.14....
Read more >
Create a new movie project in iMovie on Mac - Apple Support
In the iMovie app on your Mac, open Projects view. Click Create New, then click Movie. Create New thumbnail in Projects view. If...
Read more >
Creating new Projects and Solutions - Visual Studio for Mac
There are a few ways to create a new project in Visual Studio for Mac. When you first open Visual Studio for Mac,...
Read more >
Cannot create a new Angular project on a Mac - Stack Overflow
Cannot create a new Angular project on a Mac · make sure you have latest version of node and npm · clean up...
Read more >
Xcode 6.1 won't let me create a new project - Ask Different
Make sure you have something entered in Organization Name and Organization Identifier. Right now it can be any placeholder. I think it matters...
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