I'm creating a new project, and I got several warnings.
On running create-cycle-app:
$ create-cycle-app app --flavor cycle-scripts-one-fits-all
Creating a new Cycle.js app in D:\Users\Ruslan\Projects\cyclejs\app.
Installing packages. This might take a couple minutes.
Installing cycle-scripts-one-fits-all from npm ...
npm WARN notice [SECURITY] stringstream has 1 moderate vulnerability. Go here for more details: https://nodesecurity.io/advisories?search=stringstream&version=0.0.6 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
npm WARN notice [SECURITY] tunnel-agent has 1 moderate vulnerability. Go here for more details: https://nodesecurity.io/advisories?search=tunnel-agent&version=0.4.3 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
npm WARN notice [SECURITY] hoek has 1 moderate vulnerability. Go here for more details: https://nodesecurity.io/advisories?search=hoek&version=2.16.3 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
npm WARN notice [SECURITY] mime has 1 moderate vulnerability. Go here for more details: https://nodesecurity.io/advisories?search=mime&version=1.3.6 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
npm WARN notice [SECURITY] macaddress has 1 critical vulnerability. Go here for more details: https://nodesecurity.io/advisories?search=macaddress&version=0.2.8 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
> nodent-runtime@3.2.1 install D:\Users\Ruslan\Projects\cyclejs\app\node_modules\nodent-runtime
> node build.js
## Built D:\Users\Ruslan\Projects\cyclejs\app\node_modules\nodent-runtime/dist/index.js
> node-sass@4.9.0 install D:\Users\Ruslan\Projects\cyclejs\app\node_modules\node-sass
> node scripts/install.js
Downloading binary from https://github.com/sass/node-sass/releases/download/v4.9.0/win32-x64-57_binding.node
Download complete
Binary saved to D:\Users\Ruslan\Projects\cyclejs\app\node_modules\node-sass\vendor\win32-x64-57\binding.node
Caching binary to C:\Users\Ruslan\AppData\Roaming\npm-cache\node-sass\4.9.0\win32-x64-57_binding.node
> husky@0.14.3 install D:\Users\Ruslan\Projects\cyclejs\app\node_modules\husky
> node ./bin/install.js
husky
setting up Git hooks
can't find .git directory, skipping Git hooks installation
> uglifyjs-webpack-plugin@0.4.6 postinstall D:\Users\Ruslan\Projects\cyclejs\app\node_modules\uglifyjs-webpack-plugin
> node lib/post_install.js
> node-sass@4.9.0 postinstall D:\Users\Ruslan\Projects\cyclejs\app\node_modules\node-sass
> node scripts/build.js
Binary found at D:\Users\Ruslan\Projects\CycleJS\app\node_modules\node-sass\vendor\win32-x64-57\binding.node
Testing binary
Binary is fine
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @webpack-blocks/babel@1.0.0 requires a peer of babel-core@>=6 but none is installed. You must install peer dependencies yourself.
npm WARN babel-loader@7.1.4 requires a peer of babel-core@6 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
+ cycle-scripts-one-fits-all@5.4.3
added 1641 packages in 131.869s
D:\Users\Ruslan\Projects\cyclejs\app
Installing @cycle/dom@20.2.0, @cycle/history@6.10.0, @cycle/http@14.9.0, @cycle/isolate@3.2.0, @cycle/run@4.1.0, @cycle/storage@5.0.3, @cycle/time@0.13.0, cycle-onionify@5.0.0, cyclejs-utils@3.1.0, cycle-storageify@4.0.1, cyclic-router@5.1.7, switch-path@1.2.0 and xstream@11.2.0 using npm...
npm WARN @webpack-blocks/babel@1.0.0 requires a peer of babel-core@>=6 but none is installed. You must install peer dependencies yourself.
npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN babel-loader@7.1.4 requires a peer of babel-core@6 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
+ @cycle/dom@20.2.0
+ cycle-onionify@5.0.0
+ cyclejs-utils@3.1.0
+ cyclic-router@5.1.7
+ xstream@11.2.0
+ switch-path@1.2.0
+ cycle-storageify@4.0.1
+ @cycle/history@6.10.0
+ @cycle/storage@5.0.3
+ @cycle/run@4.1.0
+ @cycle/time@0.13.0
+ @cycle/isolate@3.2.0
+ @cycle/http@14.9.0
added 49 packages in 22.36s
Installing cycle-restart@0.2.3, cyclejs-test-helpers@2.0.0, html-looks-like@1.0.3, jsverify@0.8.3, prettier@1.11.1, snabbdom-to-html@5.1.0, husky@0.14.3 and lint-staged@7.0.3 using npm...
> husky@0.14.3 uninstall D:\Users\Ruslan\Projects\cyclejs\app\node_modules\husky
> node ./bin/uninstall.js
husky
uninstalling Git hooks
done
> husky@0.14.3 install D:\Users\Ruslan\Projects\cyclejs\app\node_modules\husky
> node ./bin/install.js
husky
setting up Git hooks
can't find .git directory, skipping Git hooks installation
npm WARN @webpack-blocks/babel@1.0.0 requires a peer of babel-core@>=6 but none is installed. You must install peer dependencies yourself.
npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN babel-loader@7.1.4 requires a peer of babel-core@6 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
+ prettier@1.11.1
+ husky@0.14.3
+ lint-staged@7.0.3
+ jsverify@0.8.3
+ cycle-restart@0.2.3
+ html-looks-like@1.0.3
+ snabbdom-to-html@5.1.0
+ cyclejs-test-helpers@2.0.0
added 36 packages, removed 1 package and updated 9 packages in 56.856s
Success! Created app at D:\Users\Ruslan\Projects\cyclejs\app
On running npm start it says "webpack: Compiled with warnings."
vscode shows these:
In tsconfig.json, "lib": ["ES6", "ES5", "DOM"] should be "lib": ["es6", "es5", "dom"].
node_modules/@cycle/run/tsconfig.json references ../tsconfig.common.json, which doesn't exist:
The specified path does not exist: 'd:/Users/Ruslan/Projects/CycleJS/app/node_modules/@cycle/tsconfig.common.json'.
{
"resource": "/d:/Users/Ruslan/Projects/CycleJS/app/node_modules/@cycle/run/tsconfig.json",
"owner": "typescript",
"code": "undefined",
"severity": 8,
"message": "The specified path does not exist: 'd:/Users/Ruslan/Projects/CycleJS/app/node_modules/@cycle/tsconfig.common.json'.",
"source": "ts",
"startLineNumber": 1,
"startColumn": 1,
"endLineNumber": 1,
"endColumn": 2
}
On running npm install I also got these:
$ npm install
npm WARN @webpack-blocks/babel@1.0.0 requires a peer of babel-core@>=6 but none is installed. You must install peer dependencies yourself.
npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN babel-loader@7.1.4 requires a peer of babel-core@6 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
I'm creating a new project, and I got several warnings.
On running
create-cycle-app
:On running
npm start
it says "webpack: Compiled with warnings."vscode shows these:
In
tsconfig.json
,"lib": ["ES6", "ES5", "DOM"]
should be"lib": ["es6", "es5", "dom"]
.node_modules/@cycle/run/tsconfig.json
references../tsconfig.common.json
, which doesn't exist:The specified path does not exist: 'd:/Users/Ruslan/Projects/CycleJS/app/node_modules/@cycle/tsconfig.common.json'.
On running
npm install
I also got these: