NativeScript / NativeScript/nativescript-cli
When use YARN, application with webpack doesn't build
Open
@Fatme is already working on this.
Since Jan 14, 2019.
bug
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 204
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 8
Description
Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
- CLI: next
- Cross-platform modules: next
- Android Runtime: next
- iOS Runtime: next
- Plugin(s): nativescript-dev-webpack - next("^0.19.1-next-2019-01-04-114028-05")
Describe the bug
This bug happens only when you use YARN.
When I update webpack and the application couldn't build. The error is: no such file or directory, lstat '/Users/mivanova/Projects/nativescript-cli-tests/TestApp/node_modules/nativescript-dev-webpack/node_modules/schema-utils/package.json
To Reproduce
tns create app -- template tns-template-hello-world-ngnpm i nativescript-dev-webpack@next --save-dev- run
update-ns-webpack --deps --configsfrom/node_modules/.bin tns platform add android@nexttns run android --device emulator-5554 --bundle
you will see error
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.