-
Notifications
You must be signed in to change notification settings - Fork 76
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
"npm init wasm-app www" doesn't produce a www-directory #34
Comments
What version of We had a similar issue earlier today, but that was fixed by a new release of |
node.js is v8.10.0 |
So Going to close this issue then, but if I misunderstand, let me know and we can reopen! |
Sorry for the confusion - I should have re-read my previous post. |
Most likely you have to delete the |
As mentioned before: there's no such directory. The manpage for I still think I got something very basic wrong. |
It is documented here: https://docs.npmjs.com/cli/init#description
perhaps this is the issue; try running |
The update seems to succeed, but the version remains the same:
Can you tell me the minimum version required to pass the tutorial? Or maybe just the version you would have expected after the update? Update: I had to re-open the terminal - duh! The versions are now:
This issue can be closed, but maybe a hint for a minimum version would be helpful. I simply relied on the packaged version in my distribution. |
I had exactly the same issue and following the comments above (indeed including re-opening the terminal) solved it! |
I have the same issue. |
rustwasm/create-wasm-app#143 (comment) Try this patch
It must create the link:
|
I'm a total noob regarding
npm
and tried to blindy follow the tutorial:In the chapter https://rustwasm.github.io/book/game-of-life/hello-world.html#putting-it-into-a-web-page one has to issue
npm init wasm-app www
This command asks me some questions and quits after creating a
package.json
:According to the documentation of
npm
this seems to be correct, but doesn't behave as expected according to the tutorial. There's nowww
-directory.Did I oversee something in the prerequisites or do I have some wrong
npm
?npm version
outputsThe text was updated successfully, but these errors were encountered: