nodejs ist installiert - npm start zeigt aber Fehler
bearbeitet von Raketenwilli> Was muss ich machen, damit diese Datei dort erstellt wird?
~~~
D:\projekte\spielplatz\js\muster-oop\> npm init
~~~
Was Du gefragt wirst kann ich Dir zeigen:
~~~
Press ^C at any time to quit.
package name: (npm_test)
version: (1.0.0)
description:
git repository:
keywords:
author:
license: (ISC)
About to write to /home/fastix/tmp/npm_test/package.json:
{
"name": "npm_test",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"description": ""
}
Is this OK? (yes)
~~~
In Klammern gesetzte Strings sind die Defaults, welche bei `ENTER` übernommen werden.
Ergebnis:
~~~
~/tmp/npm_test$ ll -A
insgesamt 8
-rw-rw-r-- 1 fastix fastix 204 Aug 30 11:51 package.json
-rw-rw-r-- 1 fastix fastix 203 Aug 30 11:45 package-lock.json
~~~
~~~
D:\projekte\spielplatz\js\muster-oop\> npm init
~~~
Was Du gefragt wirst kann ich Dir zeigen:
~~~
Press ^C at any time to quit.
package name: (npm_test)
version: (1.0.0)
description:
git repository:
keywords:
author:
license: (ISC)
About to write to /home/fastix/tmp/npm_test/package.json:
{
"name": "npm_test",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"description": ""
}
Is this OK? (yes)
~~~
In Klammern gesetzte Strings sind die Defaults, welche bei `ENTER` übernommen werden.
Ergebnis:
~~~
~/tmp/npm_test$ ll -A
insgesamt 8
-rw-rw-r-- 1 fastix fastix 204 Aug 30 11:51 package.json
-rw-rw-r-- 1 fastix fastix 203 Aug 30 11:45 package-lock.json
~~~
nodejs ist installiert - npm start zeigt aber Fehler
bearbeitet von Raketenwilli> Was muss ich machen, damit diese Datei dort erstellt wird?
~~~
D:\projekte\spielplatz\js\muster-oop\> npm init
~~~
Was Du gefragt wirst kann ich Dir zeigen:
~~~
Press ^C at any time to quit.
package name: (npm_test)
version: (1.0.0)
description:
git repository:
keywords:
author:
license: (ISC)
About to write to /home/fastix/tmp/npm_test/package.json:
{
"name": "npm_test",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"description": ""
}
Is this OK? (yes)
~~~
In Klammern gesetzte Strings sind die Defaults, welche bei `ENTER` übernommen werden.