jpm 版本是 1.1.3
npm 版本是 2.15.8
Node 版本是 4.4.7
Firefox 版本是 48.0
index.js的内容:
var self = require("sdk/self");
console.log("************************************");
“jpm run”命令的输出
JPM [info] Starting jpm run on My Jetpack Addon
JPM [info] Creating a new profile
根据index.js*
文件的内容,应该在控制台上输出一行符号。但是,愿望输出不在控制台中。
代码有问题吗?
我的package.json文件的内容:
{
"title": "My Jetpack Addon",
"name": "temp",
"version": "0.0.1",
"description": "A basic add-on",
"main": "index.js",
"author": "",
"engines": {
"firefox": ">=38.0a1",
"fennec": ">=38.0a1" },
"license": "MIT",
"keywords": [
"jetpack" ]
}