-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not find module "@angular-devkit/build-angular" from "/app/angular/yarn-pnp" #7746
Comments
I have also tried the same thing on a fresh application generated today with ng new command and im seeing the same error so this is affecting default package.json. |
.pnp.js contains the following entry for the offending package:
|
The referenced folder appears to exist:
|
error log file:
|
PnP support for angular is tracked in yarnpkg/berry#266 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
same error applicable to yarn versions 1.19.1, and 2.0.0-rc.19
Do you want to request a feature or report a bug?
critical bug
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce.
i started with a working angular project and added
to package.json as per instructions and removeed node_modules folder.
running yarn install creates .pnp folder and .pnp.js file. looks ok and im happy to post contents if needed.
yarn start results in error:
please note yarn start is defined as: "ng serve --host 0.0.0.0 --port 3603 --disable-host-check ..."
this package is clearly part of the build and specified in the package.json.
What is the expected behavior?
yarn start should start application without dependency errors.
Please mention your node.js, yarn and operating system version.
bash-4.4# yarn -v
1.19.1
bash-4.4# node --version
v11.1.0
os: debian.
The text was updated successfully, but these errors were encountered: