如何解决在运行npm run dev时无法编译错误?

时间:2019-12-20 18:42:39

标签: node.js reactjs npm npx

 >>> pprint(symbolic(parser.suite("import sys").tolist()))
['file_input',
 ['stmt',
  ['simple_stmt',
   ['small_stmt',
    ['import_stmt',
     ['import_name',
      ['NAME', 'import'],
      ['dotted_as_names',
       ['dotted_as_name', ['dotted_name', ['NAME', 'sys']]]]]]],
   ['NEWLINE', '']]],
 ['NEWLINE', ''],
 ['ENDMARKER', '']]

我在运行... import signal keep_going = True def my_shutdown_handler(signum, frame): # set a flag to exit your loop or call what you need to exit gracefully keep_going = False if __name__ == "__main__": signal.signal(signal.SIGTERM, my_shutdown_handler) while keep_going: run()

时收到此结果

请帮助我解决这个问题。

1 个答案:

答案 0 :(得分:0)

您可以尝试用import App from './components/App'代替'.components/App'