cannot init template
See original GitHub issueI get a strange error trying to init the rust-webpack template:
C:\r>npm init rust-webpack rvr --verbose
npm info it worked if it ends with ok
npm verb cli [ 'C:\\Users\\d\\nodejs\\node.exe',
npm verb cli 'C:\\Users\\d\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli 'init',
npm verb cli 'rust-webpack',
npm verb cli 'rvr',
npm verb cli '--verbose' ]
npm info using npm@6.5.0
npm info using node@v11.9.0
npm verb config Skipping project config: C:\Users\d/.npmrc. (matches userconfig)
npx: installed 1 in 1.329s
🦀 Rust + 🕸 WebAssembly + Webpack = ❤️ ping project config: C:\Users\d/.npmrc. (matches userconfig)
events.js:173
throw er; // Unhandled 'error' event
^
Error: spawn npm ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:246:19)
at onErrorNT (internal/child_process.js:421:16)
at processTicksAndRejections (internal/process/next_tick.js:76:17)
Emitted 'error' event at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:252:12)
at onErrorNT (internal/child_process.js:421:16)
at processTicksAndRejections (internal/process/next_tick.js:76:17)
npm verb exit [ 0, true ]
npm timing npm Completed in 4725ms
npm info ok
C:\r>
Any hints where to start looking? rust and wasm-pack are fresh installations.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:7
- Comments:11 (1 by maintainers)
Top Results From Across the Web
Unable to initialize a template variable inside a class, why?
Add missing static . Then, either move variable definitions to namespace scope: class foo { template <class T> struct null_string { static ...
Read more >WordPerfect Office - Cannot Initialize Templates.
Error Message Cannot Initialize Templates Information This error message will occur while trying to launch WordPerfect® Office on OS versions ofWindows ...
Read more >sam init - AWS Serverless Application Model
Initializes a serverless application with an AWS SAM template. The template provides a folder structure for your AWS Lambda functions, and is connected...
Read more >WP 11 "cannot initialize templates..." - Tek-Tips
RE: WP 11 "cannot initialize templates..." · 1. login as administrator and gives administrator privileges to the user(s) that WP gives the error....
Read more >How to use CDK init to create a CDK App | bobbyhadz
lib - a template for writing a CDK construct library; sample-app - a starter with some constructs included. Note that cdk init cannot...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I upgraded my Git version from
2.7.4
to2.22.0
, and it now works fine. Reason being,create-rust-webpack
seems to use--no-tags
option whengit clone
, and older version of Git does not have such option.i am still having this problem. Did anyone find a solution?