air-pollution-notifier-aqicn's People
air-pollution-notifier-aqicn's Issues
npm ERR! code ENOLOCAL
无法安装成功,麻烦看下原因
这一步的时候npm install / yarn。出现如下提示
npm ERR! code ENOLOCAL
npm ERR! Could not install from "../../.." as it does not contain a package.json file.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2018-10-28T05_38_31_944Z-debug.log
系统树莓派pi、debian均出现一样的问题。
npm已经安装。其中树莓派用的官方系统,安装homebridge都没问题。
debian在谷歌云上。版本是debian-9-stretch-v20181011
----------------------------log如下--------------------------------------
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'install', '/', 'yarn' ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session 973b84176cec7d87
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 silly fetchPackageMetaData error for file:/ Could not install from "../../.." $
8 http fetch GET 200 https://registry.npmjs.org/yarn 76ms (from cache)
9 silly pacote tag manifest for yarn@latest fetched in 130ms
10 timing stage:rollbackFailedOptional Completed in 2ms
11 timing stage:runTopLevelLifecycles Completed in 895ms
12 verbose stack Error: ENOENT: no such file or directory, open '/package.json'
13 verbose cwd /home/pi/air-pollution-notifier-aqicn-V3
14 verbose Linux 4.14.71-v7+
15 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "/" "yarn"
16 verbose node v8.12.0
17 verbose npm v6.4.1
18 error code ENOLOCAL
19 error Could not install from "../../.." as it does not contain a package.json$
20 verbose exit [ 1, true ]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.