NativeScript / NativeScript/nativescript-cli
When use YARN, application with webpack doesn't build
Offen
@Fatme arbeitet bereits daran.
Seit 14.1.2019.
bug
- Vorherrschende Sprache
- JavaScript
- Sterne
- 1.1k
- Forks
- 204
- Ø Merge
- 1 T. 9 Std.
- Gemergte PRs (30 T.)
- 8
Beschreibung
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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.